Hide Forgot
Description of problem: On Fedora 17 / updates as of 2012-04-13: [root@localhost ~]# getenforce Permissive [root@localhost ks]# appliance-creator -c fed-appl.ks -n F17-appl -v ... Removing password for user root. passwd: Success /sbin/grub2-probe: error: unknown filesystem. Auto-detection of a filesystem of /dev/mapper/loop2p1 failed. Try with --recheck. If the problem persists please report this together with the output of "/sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v /boot/grub2" to <bug-grub> Unable to create appliance : Unable to install grub2 bootloader Unmounting directory /var/tmp/imgcreate-mBmNfj/install_root/ Losetup remove /dev/loop2 Version-Release number of selected component (if applicable): appliance-tools-006.1-2.fc17
Could you please attach the fed-appl.ks file?
Created attachment 577293 [details] fed-appl.ks
Marko, Please a add a bios boot partition as mentioned here: http://fedoraproject.org/wiki/Anaconda/Kickstart#bootloader And test again.
Thanks for pointing that out, the biosboot partition indeed fixes the issue: part biosboot --fstype biosboot --size 1 --ondisk vda Removing password for user root. passwd: Success Installation finished. No error reported. Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.3.0-0.rc3.git7.2.fc17.x86_64 Found initrd image: /boot/initramfs-3.3.0-0.rc3.git7.2.fc17.x86_64.img done /etc/selinux/targeted/contexts/files/file_contexts: line 2352 has invalid context system_u:object_r:xfs_exec_t:s0 /etc/selinux/targeted/contexts/files/file_contexts: line 2585 has invalid context system_u:object_r:xfs_exec_t:s0 /etc/selinux/targeted/contexts/files/file_contexts: line 3162 has invalid context system_u:object_r:xfs_exec_t:s0 /etc/selinux/targeted/contexts/files/file_contexts: line 3610 has invalid context system_u:object_r:xfs_exec_t:s0 99% Unmounting directory /var/tmp/imgcreate-9gzrRx/install_root/ Losetup remove /dev/loop0 Finished umount: /var/tmp/imgcreate-9gzrRx/install_root/sys/fs/selinux/load: not found The last SELinux complaint is printed even with selinux --disabled, the former with selinux --permissive / selinux --enforcing. Thanks.
I'm closing this issue now, the SELinux messages are separate thing, as IIRC, there is no SELinux policy written for appliance-creator.
Ok, fair enough, I opened a separate issue about the SELinux messages: https://bugzilla.redhat.com/show_bug.cgi?id=813200