Kernel panic: VFS: Unable to mount root fs
Just compiled kernel 2.4.21 but cannot boot it despite creating the initrd
image and respective links in / to files in /boot.
The last 5 lines printed on screen before hang-up are printed below.
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing initrd memory: 2664k freed
VFS: Cannot open root device "301" or 03:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:01
Passing root=/dev/hda1 to lilo at boot time did not bear fruit.
Created initrd as follows:
# mkinitrd -o /boot/initrd.img-2.4.21 /lib/modules/2.4.21
Added the following lines in lilo.conf before running lilo.
Grateful for any assistance in resolving this difficulty.
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org