[SLL] booting a new kernel - unable to mount root fs
Mathew D. Watson
watson at visiongate3d.com
Wed Feb 4 08:34:00 PST 2009
I have been trying to boot the new kernel I built last week, but I have
not yet succeeded. After studying the GRUB manual (and many failed boot
attempts), I have finally gotten my menu.lst file to the point where I
can't find anything wrong with it.
The new kernel is /boot/vmlinuz-test.
The last several lines of /boot/grub/menu.lst are as follows.
### END DEBIAN AUTOMAGIC KERNELS LIST
title linux-test
root (hd0,0)
uuid 7882317c-a329-41cb-b59d-f7a7d0212c0c
kernel /boot/vmlinuz-test root=UUID=7882317c-a329-41cb-b59d-f7a7d0212c0c ro
I have tried this without the root (hd0,0) line.
I have also tried using root=/dev/sda1 as a kernel argument.
The error message is:
unable to mount root fs on unknown-block(0,0)
Other messages complain about a bad root=.
I googled on the error message and found a posting that said:
you must run "make-kpkg kernel_image" comand with --initrd option.
Or just disable this initial RAM support in menu.
Unfortunately, I nuked my kernel source and build while messing with
GRUB, so I can't run the make-kpkg command without starting over.
Is there a way to boot my kernel as it is without running make-kpkg or
without disabling ram support in the menu?
How do I disable ram support in the GRUB menu? I think I need to press
"e" and then provide a kernel option somehow.
Where can I read about the options passed to the kernel?
Mat
For reference:
The following entry from /boot/menu.lst boots the stock kernel.
title Ubuntu 8.10, kernel 2.6.27-11-generic
uuid 7882317c-a329-41cb-b59d-f7a7d0212c0c
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=7882317c-a329-41cb-b59
d-f7a7d0212c0c ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet
More information about the linux-list
mailing list