LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel panic on boot (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-on-boot-216212/)

MasterOfTheWind 08-11-2004 10:08 AM

kernel panic on boot
 
Hi,

I have encountered a new problem with having 3 distros installed on one machine: my MDK10.0 recognizes my two harddisks as hde and hdf, while the Slack and Fedora distros name them hda and hdb. Now the LILO bootloader is installed by MDK and that's why all the partitions are named by MDK standards. So here is my /etc/lilo.conf:

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hde
map=/boot/map
default="Mandrake_10.0"
keytable=/boot/no-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
vga=791
disk=/dev/hde bios=0x80
image=/boot/vmlinuz
label="Mandrake_10.0"
root=/dev/hde1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht splash=silent"
read-only

image=/mnt/hde6/boot/vmlinuz
label="Slackware_10.0"
root=/dev/hde6
read-only

image=/mnt/hde7/boot/vmlinuz
label="FedoraCore_1"
root=/dev/hde7
read-only

image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hde1
initrd=/boot/initrd.img
append="devfs=mount splash=silent acpi=ht"
read-only

other=/dev/fd0
label="floppy"
unsafe

image=/boot/vmlinuz
label="failsafe"
root=/dev/hde1
initrd=/boot/initrd.img
append="failsafe splash=silent acpi=ht devfs=nomount"
read-only

Now, when I try to boot either Fedora or Slack I get kernel panic and following output:

(...)
kmod: failed to exec /sbin/modprobe -s -k block-major-33, errno=2
VFS: Cannot open root device "2107" or 21:07
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 21:07


I have tried to change root=/dev/hda6, but I still got the same message.

Does anybody know what's wrong?

thanx in advance

comprookie2000 08-11-2004 03:36 PM

what is fdisk -l say?

MasterOfTheWind 08-12-2004 01:52 PM

forget it, i've just fixed it: I added append="root=/dev/hda6" instead of root=/dev/hda6. If u ask me, I can't c the difference, but it worked :)


All times are GMT -5. The time now is 07:20 PM.