Download your favorite Linux distribution at LQ ISO.
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 06-01-2005, 10:33 AM   #1
LQ Newbie
Registered: Mar 2005
Location: Mumbai, India
Distribution: RHEL 4
Posts: 29

Rep: Reputation: 15


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.

Nilesh Shah
Old 06-01-2005, 10:35 AM   #2
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, 11:26 AM   #3
LQ Newbie
Registered: Mar 2005
Location: Mumbai, India
Distribution: RHEL 4
Posts: 29

Original Poster
Rep: Reputation: 15

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

Thanks & Regards
Nilesh Shah
Old 06-01-2005, 12:02 PM   #4
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.


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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration