LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-01-2005, 09:33 AM   #1
Nilesh.Shah
LQ Newbie
 
Registered: Mar 2005
Location: Mumbai, India
Distribution: RHEL 4
Posts: 29

Rep: Reputation: 15
Grub.conf


Hello,

I recently did R&D and got stuck
What I did was changes in grub.conf file. What I changed is the line which has LABEL=/ to which I changed to LABEL=/root

I have changed the label for / to /root but forgot to make changes in etc/fstab file and now when I start my system I get kernel panic error.


Any ideas how to resolve this.
Thanks.

Regards
Nilesh Shah
 
Old 06-01-2005, 09:35 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
When you have a boot option highlighted in grub on boot if you hit the "e" key you can edit the configuration line, then hit b to boot it.
 
Old 06-01-2005, 10:26 AM   #3
Nilesh.Shah
LQ Newbie
 
Registered: Mar 2005
Location: Mumbai, India
Distribution: RHEL 4
Posts: 29

Original Poster
Rep: Reputation: 15
Hello,

That has been tried but no luck. Any other ideas.



Thanks & Regards
Nilesh Shah
 
Old 06-01-2005, 11:02 AM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Follow jtshaw’s advice and change LABEL=/whatever to the physical device (e.g., kernel...root=/dev/hda2...). You can use linux rescue and fdisk to check the partition numbering if you are not sure as to which partition to specify. You can also directly edit grub.conf from linux rescue.

The LABEL=/whatever just specifies a partition physically named “/whatever” (see man e2label). If you have no partition named “/whatever” or have two partitions named “/whatever”, then the system will not boot.
 
  


Reply


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
nano -w /boot/grub/grub.conf Tbagz Linux - Newbie 2 10-31-2005 06:42 PM
grub refuses to read grub.conf 0pal_t0ad Linux - Newbie 2 03-27-2005 04:40 AM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
commands work with interactive grub, but not in grub.conf richardg Linux - Newbie 2 11-23-2003 04:36 AM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM


All times are GMT -5. The time now is 06:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration