hi all,
i have installed 2.4.20-8.i am trying to recompile the kernel by following these steps:
edit the makefile for extraverion as (SAHUTEST)( i am )
make oldconfig
make dep
make bzImage
cp arch/i386/boot/bzImage /boot/SAHUTEST
make modules
make modules_install
make install
reboot
during booting i am getting an error as:
VFS :cannot open root device "LABEL=/" or 00:00
please append a correct "root=" boot option
kernel panic: VFS:unable to mount root fs on 00:00
please suggest me the solution as soon as possible!
the partition is as follows:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 10080520 165600 9402852 2% /
/dev/hda1 505605 17957 461544 4% /boot
/dev/hda5 1004024 16428 936592 2% /home
/dev/hda2 10080520 32828 9535624 1% /opt
none 126872 0 126872 0% /dev/shm
/dev/hda7 15780852 2430556 12548656 17% /usr
~
~
the grub.conf file is as :
# 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,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20SAHUTEST)
root (hd0,0)
kernel /vmlinuz-2.4.20SAHUTEST ro root=/dev/hda3
initrd /initrd-2.4.20SAHUTEST.img
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title test
root (hd0,0)
kernel /test ro root=LABEL=/
initrd /initrd-2.4.20-8.img
~
kiran kumar s.k
N.I.T.K,surathkal