problems with compiling linux kernel-----help
I am trying to compile the linux kernel to enable QOS support in it but having problems since a while:
Cannont 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
Here is what i am doing
make mrproper
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
my new kernel version name is 2.4.20-8wQOS
then for installing:
cp arch/i386/boot/bzImage /boot/bzImage-2.4.20-8wQOS
cp System.map /boot/System.map-2.4.20-8wQOS
mkinitrd /boot/initrd-2.4.20-8wQOS 2.4.20-8wQOS
ln -s /boot/System.map-2.4.20-8wQOS /boot/System.map
My grub.conf file looks like:
splashimage=(hd0,0)/grub/splash.xpm.gz
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 Red Hat Linux (2.4.20-8wQOS)
root (hd0,0)
kernel /vmlinuz-2.4.20-8wQOS ro root=LABEL=/
initrd /initrd-2.4.20-8wQOS.img
However when i boot the kernel 2.4.20-8wQOS i get:
Cannont 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
My output of fdisk -l /dev/hda is
Device Booot
/dev/hda1 *
/dev/hda2
/dev/hda3
I even changed the root-LABEL=/ in grub.conf to root=LABEL=/dev/hda1 but din't help
Can someone help me ?
Thanx,
Sachin
|