LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   run levels (https://www.linuxquestions.org/questions/linux-newbie-8/run-levels-942154/)

llogic98 04-27-2012 03:58 PM

run levels
 
looking for step by step instructions on how to you change run levels from grub?

Kustom42 04-27-2012 04:03 PM

Its fairly easy. When your grub menu comes up hit the 'e' key to edit your kernel paramaters. Put a space on the end and the number of the run level that you want. So if you want to go to run level one, hit any key to enter grub menu when prompt occurs, move to the kernel line, hit 'e', hit space, enter a number 1, hit enter to save your changes then hit 'b' to tell grub to boot.

CTM 04-27-2012 04:04 PM

Select the kernel you want to boot, press "e" (if my memory serves me correctly), and append " init x" to the kernel parameters line, where "x" is the runlevel you're after. The purpose of each runlevel varies by distribution.

llogic98 04-27-2012 04:09 PM

maybe i should explain by problem more throughly, i am running fc16 after removing evolution at my next login i received a "fail to start session gnome". i thought if i ca change to run level 3 and update yum it migh fix the problem. when grub comes up and it does not allow me to edit the kernel.

Kustom42 04-27-2012 04:31 PM

I don't follow you when you say grub doesn't allow you. Can you go into more depth, and on CTMs post I am not sure if it will work if you put the word init there, I know in fact it will work if you just put the number as I do it daily. Maybe CTM can confirm that. Give us the EXACT steps including keystrokes, what you see on the screen, etc.. when you are trying to edit the boot time parameters in GRUB and we should be able to assist.

llogic98 04-27-2012 04:45 PM

after booting and the grub menu comes up i press any key and i am at the GNU GRB version 1.99 screen my options are fedora (3.3.2-6. fc16.i686) fedora (3.3.2-1. fc16.i686) and fedora 93.3.0-8. fc16i686). i highlight the first option and press "e". in the next screen i see the following
setparms 'fedora (3.3.2-6.fc16.i686
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root= '(hd0,gpt1)'

Kustom42 04-27-2012 04:50 PM

If you press 'e' again are you able to edit that? Just put a number 3 on the end hit enter then b. That looks like the correct info you should see.


All times are GMT -5. The time now is 02:54 AM.