[fedora-virt] Distributing Fedora 11 Created Virtual Machines
kraxel at redhat.com
Wed May 27 07:55:29 UTC 2009
On 05/26/09 16:56, Richard W.M. Jones wrote:
> In addition to Dan's answer, I'm looking into this area too.
> There is no easy way to do it at the moment, but currently a virtual
> machine image is more likely to work if it's fully virtualized,
> ie. uses no virtio or other PV drivers. Sadly such a virtual machine
> will also be much slower.
You can get the guest boot from almost anything with a few simple rules.
First make sure you don't use device names in /etc/fstab. Mount by
label/uuid or use lvm, so the guest can find the root filesystem no
matter where it lives (ide/scsi/virtio/...). The default fedora
partitioning scheme (lvm) should work fine.
Second make sure the initrd loads the drivers needed. You can stick a
list into /etc/sysconfig/mkinitrd (MODULES="..."). There isn't that
much possible storage hardware one can find in a virtual machine (ide, a
few (3?) scsi adapters, virtio, xenbus), so simply loading all possible
drivers doesn't waste that much memory ...
More information about the Fedora-virt