On 04/30/2012 07:09 AM, aurfalien wrote:
Hi,
That didn't work.
I did mkinitrd --with virtio_blk initrd-2.6.18-308.4.1.el5.img 2.6.8-308.4.1.el5
It boots fine as long as I leave the dik bus at IDE.
I even changed the fstab to use /dev/vda# rather then the labels.
Try this:
mkinitrd --with virtio_pci --with virtio_blk -f /boot/initrd-$(uname -r).img $(uname -r)
That is what I used when I switched to using virtio for both disk and networking.
Also, make sure you got the Virtio declaration correct:
<target dev='vda' bus='virtio'/>