[CentOS-virt] virtio drivers for Centos 5.8 - SOLVED

Mon Apr 30 14:25:44 UTC 2012
aurfalien <aurfalien at gmail.com>

On Apr 29, 2012, at 7:18 PM, Nux! wrote:

> On 29.04.2012 23:49, aurfalien wrote:
>> Hi,
>> 
>> So I updated my guest from 5.1 to 5.8 via a complete yum update, many
>> many packages BTW.
>> 
>> I shutdown the guest, change its "Disk bus" from IDE to Virtio and
>> then upon boot, I get kernel panics as no disk can be found.  I do 
>> get
>> the splash screen at first however.
>> 
>> My guest has /dev/hda, should I change its fstab to reflect /dev/vda 
>> instead?
>> 
>> Thans in advance,
>> - aurf
>> 
>> _______________________________________________
>> CentOS-virt mailing list
>> CentOS-virt at centos.org
>> http://lists.centos.org/mailman/listinfo/centos-virt
> 
> Yes.. Or you can use LABELs. Any way might work.
> If it doesn't try to rebuild the initrd --with virtio_blk.

Hi,

I added a fe more args;

mkinitrd --with virtio_pci --with virtio_blk ---with virtio -f and it fixed.

Your reply caused me to dig around a bit.

Thanks for the help.

- aurf