<div dir="ltr">I have compiled a new linux kernel with CONFIG_VIRTIO_BLK=y. But it doesn't boot and kernel panics. To kernel command line i tried passing root=/dev/vda and root=/dev/vda1 but same kernel panic comes every time. VIRTIO_NET was working fine when VIRTIO_BLK was not enabled and VM booted up fine. But with virtio-blk i see the below kernel panic. Can someone please suggest what could be going wrong?<br>
<div><br>VFS: Cannot open root device "vda" or unknown-block(253,0)^M<br>Please append a correct "root=" boot option; here are the available partitions:^M<br>fd00 8388608 vda driver: virtio_blk^M<br>
fd01 7340032 vda1 00000000-0000-0000-0000-000000000000^M <br> fd02 512000 vda2 00000000-0000-0000-0000-000000000000^M<br> fd03 535552 vda3 00000000-0000-0000-0000-000000000000^M<br>
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(253,0)^M<br><br></div><div>Regards,<br>Saurabh<br></div></div>