hi all,
i am using the kernel 2.4.20-8(Redhat). i installed kernel version 2.6.15.5.
the steps i followed right after untarring and unzipping the kernel are:
make oldoconfig
make
cp arch/i386/boot/bzimage /boot/vmlinuz-2.6.15-5
(i created the hard link to system map & config for the present kernel)
make modules_install
reboot
the GRUB loader file was like this:
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
title new-test
root (hd0,0)
kernel /new-test ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title timer
root (hd0,0)
kernel /timer ro root=LABEL=/
initrd /initrd-2.4.20-8.img
the kernel compiled but during booting it initially gave oops message as
VFS - cannot open root device "LABEL=/" on unknown block(0,0)
please append a correct "root="boot option
kernel panic :not syncing :VFS: unable to mount root fs on unknown block(0,0)
for this i edited for the timer kernel as :
title timer
root (hd0,0)
kernel /timer ro root=/dev/hda1 ####edited here
initrd /initrd-2.6.15.5.img #####edited here
i booted for the timer kernel (2.6.15.5) , now it gave oops message as : (the last oops message was not there)
Warning: unable to open an initial console
kernel pasnic - not syncing : no init found . try again passing init= option to kernel .
what is the solution!
kiran kumar s.k
N.I.T.K,surathkal