Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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-2.6.32.25 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
add comment

2 Answers

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

share|improve this answer
add comment

Try

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
add comment

Your Answer

 
discard

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.