Kernel panic : VFS : unable to mount root fs on 03:02 error
hi there i'm very new to compiling a new kernel and i'm facing with an error which says Code:
Kernel panic : VFS : unable to mount root fs on 03:02
on the other hand, i installed Red Hat via Virtual Box on windows 7. and you can see the steps i followed to compile my new kernel
$ make mrproper
$ make menuconfig
Code:
$ make dep
$ make clean
$ make bzImage
$ ls -l arch/i386/boot (to check if Image was created or not)
$ make modules
$ make modules_install
$ /sbin/mkinitrd /boot/initrd-2.4.20-100.img 2.4.20-100
$ cp arch/i386/boot/bzImage /boot/bzImage-KERNEL_VERSION
$ cp System.map /boot/System.map-KERNEL_VERSION
$ ln -s /boot/System.map-KERNEL_VERSION /boot/System.map
and after i compiled new kernel i editted /etc/grub.conf with adding lines
title My Opsys Kernel (2.4.20-100)
root (hd0,0)
kernel /bzImage-2.4.20-100 ro root=/dev/hda2 hdc=ide-scsi
initrd /initrd-2.4.20-100.img