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.

I am trying to build and boot linux kernel.

I followed this post: http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html

Everything was fine. Compilation and installing are smooth.

But after I reboot it. I got this error: "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) "

this my /boot/grub/menu.lst

title           Debian GNU/Linux, kernel 2.6.25 Default
root            (hd0,0)
kernel          /boot/vmlinuz root=/dev/hdb1 ro
initrd          /boot/initrd.img-2.6.25

What should I do? Thanks !!!

share|improve this question

closed as too localized by Eric Carvalho, Eliah Kagan, Kevin Bowen, Seth, vasa1 Apr 3 '13 at 6:53

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

(1) Why do you have grub 1 (menu.lst) installed? What version of ubuntu are you using? (2) Why do you want to compile your own version of kernel? There are pre-made kernel packages: kernel.ubuntu.com/~kernel-ppa/mainline –  medigeek Feb 23 '12 at 9:12
coz I am starting a OS project. I need to compile my kernel from kernel source code(already done successfully) and boot it(not yet). –  Anders Lind Feb 23 '12 at 17:31
interesting :) did you select ext* support and/or SMP? I found some helpful topics on google with your error. (Sorry I cannot help you further) –  medigeek Feb 23 '12 at 17:54
Thanks @medigeek –  Anders Lind Feb 23 '12 at 21:28
This question appears to be abandoned and unanswered, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. –  Eliah Kagan Apr 3 '13 at 1:05
show 1 more comment

Browse other questions tagged or ask your own question.