Re: Kernel panic after compiling

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

 



On 9/23/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>
>

In 2.6.x Kernel Compilation don't need to manualy copy the boot images
and making entry in the grub.conf, just run " make install " when
kernel compiled successfully and all your image copy and grub entries
will be done automatically .....

And the error which I found curently in your grub.conf entry is :

You mentioned that you copied the images to boot directory with name
vmlinuz but in grub.conf you are specifying the / directory and also
try by changing root=LABEL=/ to /dev/<your_boot_device_node>

I hope this will work !!!!


--
Fawad Lateef

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