Similar problem as reported by another user. While booting, the system can't find /dev/sda1 and so a "kernel panic: unable to mount root fs on unknown-block (0,0)" appears on screen.

I'm compiled & built kernel linux- on Ubuntu 10.04 running in VirtualBox virtual machine.

ps.: The update-initramfs, update-grub didn't work out for me.


I decided to re-build the kernel using make-dpkg as mentioned in the Ubuntu wiki.

sudo make-kpkg buildpackage --initrd kernel-image kernel-headers

I generated the kernel-image with:

sudo make bzImage

If I recall well, on a PC this will output vimlinuz to: /usr/src/[your_linux_source_tree]/arch/x86/build

The headers I used were downloaded from kernel.ubuntu.com/~kernel-ppa/mainline/

Finally I did the update-initramfs, update-grub trick.

Grub screen not showing up? Here's the answer



sudo update-initramfs -u -k all 
  • Please state what this command does so other users know. – hexafraction Aug 16 '12 at 23:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.