[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kernel panic: VFS: Unable to mount root fs on 03:41



Hi,

I tried using a stock debian 2.4 kernel (kernel-image-2.4.17-k7) for the 
first time before now I've been compiling vanilla kernels. I get the 
following message while booting (after the LVM probing devices message)

cramfs: wrong message
Kernel panic: VFS: Unable to mount root fs on 03:41

I know this has been mentioned before but I can't see any solution, I've 
added initrd=/initrd.img (which points to /boot/initrd.img-2.4.17-k7) to 
lilo.conf and run lilo - below is my lilo.conf

Thanks

Nick

--------------------------------------------------------------------------------------

# Generated by liloconfig

# Specifies the boot device
boot=/dev/hda

# Specifies the device that should be mounted as root.
# If the special name CURRENT is used, the root device is set to the
# device on which the root file system is currently mounted. If the root
# has been changed with  -r , the respective device is used. If the
# variable ROOT is omitted, the root device setting contained in the
# kernel image is used. It can be changed with the rdev program.
root=/dev/hdb1

# Enables map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the map
# smaller. Using COMPACT is especially recommended when booting from a
# floppy disk.
compact

# Install the specified file as the new boot sector.
# If INSTALL is omitted, /boot/boot.b is used as the default.
install=/boot/boot.b

# Specifies the number of _tenths_ of a second LILO should
# wait before booting the first image.  LILO
# doesn't wait if DELAY is omitted or if DELAY is set to zero.
delay=20

# Specifies the location of the map file. If MAP is
# omitted, a file /boot/map is used.

map=/boot/map

initrd=/initrd.img

# Specifies the VGA text mode that should be selected when
# booting. The following values are recognized (case is ignored):
#   NORMAL  select normal 80x25 text mode.
#   EXTENDED  select 80x50 text mode. The word EXTENDED can be
#     abbreviated to EXT.
#   ASK  stop and ask for user input (at boot time).
#   <number>  use the corresponding text mode. A list of available modes
#     can be obtained by booting with  vga=ask  and pressing [Enter].
vga=normal

default=2.4.16

image=/vmlinuz
        label=linux
        append=" hdd=ide-scsi"
        read-only

image=/vmlinuz.old
        label=old
        append=" hdd=ide-scsi"
        read-only

image=/boot/vmlinuz-2.4.16
        label=2.4.16
        append=" hdd=ide-scsi"
        read-only

other=/dev/hda1
        label=win

---------------------------------------------------------------------------



Reply to: