Re: Kernel panic after compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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*??

Jason

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux