I'm trying to create a gentoo guest from an ubuntu machine (but I have experience with installing gentoo on physical servers at work).
Here's the problem : at first reboot, the vm hangs on "Starting from hard disk" and waits for ages.
I've tried various drivers in the kernel. lspci from a livecd told me the correct one was PIIX3, so I compiled it, with no success.
I also tried starting with virtio driver (all virtio stuff compiled in the kernel). No luck.
So I was wondering if someone had met a similar issue and could help...
Thanks in advance.
ats2
PS : of course, KVM works well in this machine otherwise. I've checked and installed various distributions and other OS'es like BSD and Windows as guests. Only gentoo resists and I can't figure out why
Before anyone asks, here's a part of the machine conf (last try with virtio driver) :
Code: Select all
<domain type='kvm'>
<name>Gentoo</name>
<uuid>0eed5888-0eca-2857-48b3-911f95edf604</uuid>
<memory>1024000</memory>
<currentMemory>1024000</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='i686' machine='pc-0.12'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/vmachines/gentoo.img'/>
<target dev='vda' bus='virtio'/>
</disk>
...




