For  Compilation of Linux-2.6.18 kernel
I follwed  these steps

1.Extracetd the source.
2.Copied it to home dir
3.Make mrproper
4.Make menuconfig
5.Make
6.Make modules_install
7.Make install

UPTO these steps No errors occurred.

After this I  am uable to reboot with new linux 2.6  kenrel
during reboot  linux2.6 kernel panic is happening.

*VFS: Cannot open root device "LABEL/" or unknown-block(0,0)*
*Please append the a correct "root" =boot option*
*Kernel panic -not syncing:VFS:unable to mount root fs on unknown - block
(0,0)*


Please let me know the where I did the mistake.

This is grub file ....

#* grub.conf generated by anaconda*

*#*

*# Note that you do not have to rerun grub after making changes to this file
*

*# NOTICE: You have a /boot partition. This means that*

*# all kernel and initrd paths are relative to /boot/, eg.*

*# root (hd0,6)*

*# kernel /vmlinuz-version ro root=/dev/hda8*

*# initrd /initrd-version.img*

*#boot=/dev/hda*

*default=1*

*timeout=10*

*splashimage=(hd0,6)/grub/splash.xpm.gz*

*title Red Hat Linux (2.6.18)*

*root (hd0,6)*

*kernel /vmlinuz-2.6.18 ro root=LABEL=/ hdb=ide-scsi*

*initrd /initrd-2.6.18.img*

*title Red Hat Linux (2.4.20-8)*

*root (hd0,6)*

*kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdb=ide-scsi*

*initrd /initrd-2.4.20-8.img*

*title DOS*

*rootnoverify (hd0,0)*

*chainloader +1*


For your  reference  Here I am attaching the  Gurb fie,
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,6)
#          kernel /vmlinuz-version ro root=/dev/hda8
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Red Hat Linux (2.6.18)
        root (hd0,6)
        kernel /vmlinuz-2.6.18 ro root=LABEL=/ hdb=ide-scsi
        initrd /initrd-2.6.18.img
title Red Hat Linux (2.4.20-8)
        root (hd0,6)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdb=ide-scsi
        initrd /initrd-2.4.20-8.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1

Reply via email to