LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-10-2003, 09:48 PM   #1
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
I get a kernel panic on my laptop, please check it out, it's weird.


Okay, before I recompiled a new kernel, I would boot with the redhat kernel 2.4.20-6
and the grub is as follows to boot from this kernel:

title Linux (2.4.20-6)
root (hd0,5)
kernel /boot/vmlinuz-2.4.20-6 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-6.img


Okay, everything boots fine with this kernel. So, I go ahead download vanilla kernel and compile it, move it to the /boot folder and then I added the following to grub:

title +Linux+ (2.4.20)
root (hd0,5)
kernel /boot/vmlinuz-2.4.20 ro root=LABEL=/ hdc=ide-scsi


Well, when I boot this new kernel I get the following panic message:

VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
kernel panic: VFS: Unable to mount root fs on 00:00


why am I getting this message if I enabled the linux filesystem ext in the kernel, this is very odd, I would appreciate some help please. thanks.

zLinuxz
 
Old 06-10-2003, 09:56 PM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
If you just use root=/dev/hdxx it will probably work fine.
root=LABEL=/ probably needs an initrd

Last edited by zmedico; 06-10-2003 at 09:58 PM.
 
Old 06-10-2003, 09:58 PM   #3
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
what happens when you replace LABEL=/ with the actual device name /dev/hda*
 
Old 06-10-2003, 10:51 PM   #4
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
did you also do a "make modules install"?, are you able to see them in /lib/modules/2.4.20/?
 
Old 06-10-2003, 11:13 PM   #5
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
The kernel can't get at the modules until it has a root filesystem.
 
Old 06-11-2003, 11:25 AM   #6
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Original Poster
Rep: Reputation: 45
thanks guys, I figured it out. I actually just needed to get right of the "ro root=LABEL=/"
all together, and the kernel booted fine. Thanks for the help!!, appreciate it.,

zLinuxz
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic, Machine Check exception tinksmartbstupi Linux - Software 5 11-16-2005 03:18 PM
Kernel Panic with Ext2/Ext3 partition check kewlemer Linux - General 3 04-06-2005 07:49 PM
Weird Kernel Panic and boot error Daegalus Slackware 6 01-19-2005 04:59 PM
Kernel Panic @ Dell 510M Laptop dezza Slackware 4 12-27-2004 04:04 PM
Dropped laptop, leads to kernel panic? Tarts Linux - Laptop and Netbook 4 10-25-2003 01:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:22 AM.

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