Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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

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

Grub screen not showing up? Here's the answer

share|improve this answer


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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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