Jason R. Martin wrote:
On 9/22/05, Libin Varghese <libinv@xxxxxxxxx> wrote:
Hi,
After compiling the 2.6.0 kernel, copied the image to /boot and
renamed it to vmlinuz-2.6.0. I add the kernel image in the grub
configuration file (grub.conf) as follows
<grub.conf>
title Linux 2.6.0
root (hd0, 8)
kernel /vmlinuz-2.6.0 ro root=LABEL=/ rhgb
</grub.conf>
But when I boot, I get the following error
<boot-up>
VFS: cannot open root device "LABEL=/" or unknown-block (0,0)
please append a correct "root=" boot option
kernel panic: VFS: unable to mount root fs on unknown-block (0,0)
</boot-up>
I am currently running the 2.4 kernel which has the following entry in
my grub.conf file (this boot correctly)
<grub.conf>
title Linux 2.4.0
root (hd0, 8)
kernel /vmlinuz-2.4.0 ro root=LABEL=/ rhgb
initrd /initrd-2.4.0.img
</grub.conf>
ThanX in advance
You need an initrd image to use root=LABEL=<whatever> method. Try
using make install instead of copying the kernel image by hand, or
read up on mkinitrd.
You're running 2.4.*0* and 2.6.*0*??
I am running 2.4.0
I tried the make install, I get the following errors
warning: could not open directory /lib/modules/2.6.0: no such file/directory
FATAL: could not open /lib/modules/2.6.0/modules.dep.temp for writing
I also searched /usr/src/linux-2.6.0/lib I didnt find any modules
directory. However, I did search /lib/modules i did find 2.4.0/modules.dep
i also tried mkinitrd /boot/initrd-2.6.0.img 2.6.0
It gives the same error, saying /lib/modules/2.6.0could not be opened
Jason
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/