LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-27-2004, 11:02 AM   #1
Echs Bochs
Member
 
Registered: Jan 2004
Distribution: Red Hat Linux 9
Posts: 53

Rep: Reputation: 15
GRUB problem...


Okay, it appears I was able to get everything installed correctly when compiling my kernel. Yet, when I choose my kernel from GRUB, and it gets to the loading screen, I get this:

Code:
Kernel panic: VFS: Unable to mount root fs on 00:00
I figured I needed to edit grub, so I boot of RH9's rescue mode, and vi to grub. I change the ro root=LABEL=/ to ro roo=LABEL=/dev/hda2. I reboot, but once again I get the same error message... if anyone can help me with this, I'll appreciate it (PS: I was compiling the 2.4.24 kernel).
 
Old 01-27-2004, 11:43 AM   #2
Echs Bochs
Member
 
Registered: Jan 2004
Distribution: Red Hat Linux 9
Posts: 53

Original Poster
Rep: Reputation: 15
Anyone at all?
 
Old 01-27-2004, 12:28 PM   #3
Echs Bochs
Member
 
Registered: Jan 2004
Distribution: Red Hat Linux 9
Posts: 53

Original Poster
Rep: Reputation: 15
 
Old 01-27-2004, 12:33 PM   #4
TheSwine
Member
 
Registered: Dec 2003
Location: London
Distribution: Debian
Posts: 34

Rep: Reputation: 15
Can you submit your menu.lst?

You should point to the new kernel there.
 
Old 01-27-2004, 12:37 PM   #5
Echs Bochs
Member
 
Registered: Jan 2004
Distribution: Red Hat Linux 9
Posts: 53

Original Poster
Rep: Reputation: 15
Could you tell me how to do this submit my menu.lst thing?
 
Old 01-27-2004, 12:51 PM   #6
TheSwine
Member
 
Registered: Dec 2003
Location: London
Distribution: Debian
Posts: 34

Rep: Reputation: 15
If you don't know how, I guess you don't have it. It should reside in /boot/grub, and it is the file on which your bootup menu screen is based.

I'm using Debian, and you're using RH. But I can't see why this should make a difference. Anyway, you would do this to load linux:

root (hd0,4)
kernel /boot/vmlinuz-2.4.22-1-686 root=/dev/hda5
initrd /initrd.img

This is how I do it on my laptop, you should have vmlinuz-2.4.24-(xxxxx). Somewhere you should tell GRUB where is your kernel file.

Does this help in anyway?
 
Old 01-27-2004, 01:01 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by Echs Bochs
Anyone at all?
Only 40 minutes had surpassed and then another 40 for another bump. You may want to review the rules you agreed to when registering: http://www.linuxquestions.org/rules.php

And they state this:

While almost every question does get an answer, we cannot guarantee a response. Please do not bump your post until 24 hours has past.

Patience is a virtue, don't be rude and bump your posts til at least 24 hours has passed by next time and in any future event, etc.

Regards.

Last edited by trickykid; 01-27-2004 at 01:03 PM.
 
Old 01-27-2004, 01:17 PM   #8
Echs Bochs
Member
 
Registered: Jan 2004
Distribution: Red Hat Linux 9
Posts: 53

Original Poster
Rep: Reputation: 15
Sorry master ;_;

Anyways, I already have what the GRUB boot up needs... I apparently need to set the root=LABEL=[insert what i need here]... I've tried /, /boot, /dev/hda2

Last edited by Echs Bochs; 01-27-2004 at 01:20 PM.
 
Old 01-27-2004, 01:27 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you should know what the fs label is, as you would have specified it during installation.

by menu.lst they mean the grub configuration file you are already apparently editing. (this is actually more likely to be called grub.conf now though).

you do not need to edit grub yet though, you can edit your settings in grub itself temporarily until you are ready to make permanent changes.

forget about teh LABEL= bit, just set root=/dev/hda1 or whever your root partition.
 
Old 01-27-2004, 02:16 PM   #10
Echs Bochs
Member
 
Registered: Jan 2004
Distribution: Red Hat Linux 9
Posts: 53

Original Poster
Rep: Reputation: 15
I'm using ext3 journaled... anyways, should I open GRUB and delete the LABEL= thing then?
 
Old 01-27-2004, 05:51 PM   #11
Echs Bochs
Member
 
Registered: Jan 2004
Distribution: Red Hat Linux 9
Posts: 53

Original Poster
Rep: Reputation: 15
I know I should wait until tommorrow but this is really important... so can anyone give more info on what I should do?
 
Old 01-27-2004, 10:17 PM   #12
tombomb300
Member
 
Registered: Sep 2003
Posts: 49

Rep: Reputation: 15
i am belive i am having the same problem, i have set the root= thing but i am stillg etting the kernel panic, could i have improperly compiled the kernel?
 
  


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
Yet another GRUB problem eqxro Linux - Software 3 08-04-2004 09:27 AM
HDD problem, scancode problem and grub EJ_INSIDE Debian 2 07-15-2004 09:36 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
grub problem jigs Linux - Newbie 7 09-18-2003 12:16 PM
GRUB problem pupunk98 Linux - Newbie 7 12-26-2002 04:34 AM

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

All times are GMT -5. The time now is 11:03 PM.

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