This page looks best with JavaScript enabled

โ€œKernel-panic โ€“ not syncing : VFS : Unable to mount root fs on unknown-block(X,X)โ€ error in Ubuntu

 ·   ·  โ˜• 1 min read  ·  โœ๏ธ Bharath · ๐Ÿ‘€... views

This one seems to be a really famous problem for most folks in Ubuntu 9.10 Karmic Koala. So I had it too. The problem was on the initrd file. It is a kernel related file needed for booting. So i did a simple thing.

I replaced initrd.img file of my kernel version with “initrd.lz” file from the Ubuntu LiveCD and edited my grub.cfg file (equivalent of menu.lst in older Ubuntu releases), to boot using initrd.lz

In other words, wherever there is an entry like initrd.img.2.24-16 or similar just replace it with initrd.lz and in my case I also copied over the vmlinuz file and made necessary entries (just in case). Now, am back in action with Ubuntu. :D

Share on

Sathyajith Bhat
Author, AWS Community Hero and DevOps Specialist

What's on this Page