LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-17-2005, 03:16 PM   #1
utw-mephisto
Member
 
Registered: Apr 2005
Posts: 93

Rep: Reputation: 16
Grub configurations ... oops


Ok, since I crashed grub 5 times now, it is time to ask

I am using RedHat 9 on a laptop and I have currently one choice in Grub.

Red Hat Linux (2.4.20-8)

When editing, I have three lines :

root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img

Now, I want to add actually another option wich starts RH straight in the command line, basicially without Gnome or KDE.

I tried using Single Mode, but then of course networking is disabled, which is not quite good ...

Is there some sort configuration which I can use to have the option to boot either with or without XServer ?
 
Old 06-17-2005, 03:22 PM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
You need to change /etc/inittab and set the initdefault line to runlevel 3, instead of 5.
You're on the right track, because you might need to make this change in single user mode initially if your X is broken. (if X is fine, then boot into X and make the change
 
Old 06-17-2005, 03:30 PM   #3
utw-mephisto
Member
 
Registered: Apr 2005
Posts: 93

Original Poster
Rep: Reputation: 16
Ok, just saw that the inittab has very good explanations itself

Now it boots up in init 3 - perfect. Ok, for now I can start X when needed, however, is it possible to have more than one Runlevel configured in Grub

Example:

1. RedHat init level 3
2. RedHat init level 5
3. RedHat init level 1

??
 
Old 06-17-2005, 03:56 PM   #4
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
It looks like you just stick the runlevel number at the end of the kernel line.

http://www.redhat.com/docs/manuals/e...runlevels.html
 
Old 06-17-2005, 04:11 PM   #5
utw-mephisto
Member
 
Registered: Apr 2005
Posts: 93

Original Poster
Rep: Reputation: 16
Wow, thanks.

I just duplicated the entries in the grub.conf, add the 5 at the end and now I can chose between those two

Thanks a lot ....
 
Old 06-19-2005, 10:55 AM   #6
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
No problem.
 
  


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
Need different configurations with my Laptop rgbrock1 SUSE / openSUSE 5 11-08-2005 08:11 AM
Grub Options for different IP configurations AlbaWolf Linux - Networking 2 10-07-2004 01:01 PM
Proxy configurations ioannisss Linux - Newbie 1 07-23-2004 11:03 AM
OOPS! overwrote MBR, GRUB wont boot :( slacker9876 Linux - Newbie 4 04-16-2004 05:04 PM
Oops! Where's GRUB? jhachey Linux - Newbie 1 09-13-2003 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:10 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