Latest LQ Deal: Linux Power User Bundle
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 11-02-2003, 12:19 PM   #1
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
changing runlevels at boot time on GRUB

how can i change runlevels when grub shows me the boot menu? I read somewhere that its possible with lilo ( using boot: linux 3, i believe) so it should be possible for grub too, right?
Old 11-02-2003, 12:21 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Just append a space then the runlevel to the end of the line that begins "kernel" in the config or do it every boot if you prefer.
Old 11-02-2003, 12:27 PM   #3
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
Here's what I THINK will work. Edit your /boot/grub/grub.conf file so that you dublicate your current boot settings. You don't do this and your modifications don't work, and you'll be stuck for awhile. In one of the new ones on the line that says kernel /vmlinuz-X.X.XX-X add to the end of the line init=/sbin/init 1, or what ever runlevel you want it to be. I repeat, I am 90% sure this will work. If it doesn't and you havn't made a boot loader option that is normal, you will be aproaching niagra falls in a dinghy with no oars, so BE CAREFUL.
Old 11-05-2003, 12:23 AM   #4
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42

Original Poster
Rep: Reputation: 15
great, thanks


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
grub question changing boot order making windows boot first nfsutim Linux - Newbie 29 10-27-2012 01:53 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM
changing runlevels stops X? CoonerTheRed Linux - Newbie 2 05-15-2005 11:45 AM
Prevent services from restarting when changing runlevels fearofcarpet Red Hat 1 11-13-2003 03:22 PM
changing grub default boot sbcdivision63 Red Hat 5 11-09-2003 01:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 AM.

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