On Fri, Feb 24, 2012 at 10:45:47AM +0000, Daniel P. Berrange wrote:
I am attempting to actually use the Cloud kickstart files found
here:
http://git.fedorahosted.org/git/?p=cloud-kickstarts.git
To re-create the official Fedora cloud images with some customizations.
AFAICT though, either the kickstarts, or appliance-creator, or both are
broken, due to some grub vs grub2 confusion:
# appliance-creator --name=f16-x86_64-cloud --version 20120224 --release=1 --checksum -c
/home/berrange/fedora-16-x86_64-ec2.ks
['/']
Package grub is obsoleted by grub2, trying to install 1:grub2-1.99-12.fc16.x86_64 instead
First the 'grub' line in the kickstart should have been 'grub2',
otherwise
even though yum installed grub2 due to obsoletes, appliance-creator thinks
grub1 is used.
Unable to create appliance : grub not installed :
/var/tmp/imgcreate-0ZRJWd/install_root/usr/share/grub/i386-pc/e2fs_stage1_5 not found
Second, the kickstart *must* contain
part biosboot --fstype=biosboot --size=1 --ondisk sda
Otherwise you'll get further errors like
/sbin/grub2-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/mapper/loop0p1 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(a)gnu.org>
Unable to create appliance : Unable to install grub2 bootloader
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|