LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel panic after editing grub (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-after-editing-grub-121928/)

bruno buys 12-02-2003 07:52 AM

Kernel panic after editing grub
 
Hi everybody!
the message below was posted to me, by my conectiva 9.0 kernel. I had win2k and suse 8.2 running ok, then I installed conectiva on a second hdd. The installation was ok, and I wrote no bootsector, just floppy boot. Then, I decided to write a new grub to load all three systems. The result was that grub now can load suse, win2k and floppy ok. But it fails to load conectiva.

Can someone help me?

*********************

This is my menu.lst:

# Modified by YaST2. Last modification on Wed Nov 19 21:31:47 2003


color white/blue black/light-gray
default 0
gfxmenu (hd0,3)/boot/message
timeout 8

title SuSE 8.2
kernel (hd0,3)/boot/vmlinuz root=/dev/hda4 vga=0x31a ide=nodma apm=off acpi=on hdd=ide-scsi hddlun=0 splash=silent showopts
initrd (hd0,3)/boot/initrd

title Conectiva 9.0
kernel (hd1,1)/boot/vmlinuz-2.4.21-28872cl root=/dev/hdb2
append="load_ramdisk=1 prompt_ramdisk=1 init=/linuxrc"
read-write

title windows
root (hd0,0)
chainloader +1

title floppy
root (fd0)
chainloader +1

title failsafe
kernel (hd0,3)/boot/vmlinuz.shipped root=/dev/hda4 showopts ide=nodma apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3
initrd (hd0,3)/boot/initrd.shipped

*******************************

This is the kernel panic message :

Kmod: failed to exec /sbin/modprobe -s -k block-major-3, errno=2
VFS: Cannot open root device "hdb2" or 03:42
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:42


Thank you all!

Demonbane 12-02-2003 08:05 AM

maybe you need to specify an initrd?

captainstorm 12-02-2003 09:43 AM

what type is your "hdb"?


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