Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-02-2003, 07:52 AM   #1
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
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"

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!

Last edited by bruno buys; 12-02-2003 at 07:53 AM.
Old 12-02-2003, 08:05 AM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
maybe you need to specify an initrd?
Old 12-02-2003, 09:43 AM   #3
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 31
what type is your "hdb"?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub = Kernel panic iirish Linux - Newbie 4 04-22-2005 09:11 AM
Grub Kernel Panic CloudBuilder Linux - General 3 02-07-2005 05:11 PM
kernel panic, grub and fdisk daigoro_cub Linux - Newbie 5 09-14-2004 02:15 PM
Grub w/ Gentoo 2.6.3 - Kernel Panic smehi Linux - Newbie 3 03-21-2004 11:39 PM
Need help editing grub for updated kernel pilotgi Linux - General 3 10-05-2003 08:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration