creating fedora 16 aos with appliance-creator

thincrust appliance-creator is my preferred tool to create fedora VM images, it's fast, simple and written in python.

I had issues creating a fedora 16 image, not because appliance-creator had a bug, but for appliance-creator i need a KS file, which i get from the fedora-kickstarts rpm.

i use fedora-aos.ks, which seems outdated and causes a few errors at installing grub

here are the problems and fixes

error

/sbin/grub2-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!

fix: grub2 needs a partition with the BIOS boot flag so create one.

part biosboot --fstype=biosboot --size=1 --ondisk sda

error:

/sbin/grub2-probe: error: unknown filesystem.

fix: use a /boot part using the ext3 fs because apparantly ext4 causes problems

part /boot --size 200 --fstype ext3 --ondisk sda

there was also another error, about Grub unable to create it's config (i'm too lazy to reproduce for a copy/paste of it)

it's caused by grub finding /etc/grub2/grub.conf with data, so add a post action to delete it

%post
rm -rf /boot/grub2/grub.cfg

and that is it, now yo ucan create f16 aos images