PDA

View Full Version : grub - boot to run level 3 instead of 5


rosschilen
2004-04-07, 03:05 PM CDT
I recently installed fedora test 2. X crashes when booting into graphical mode so i want to boot to run level 3 instead of 5. I cant get to the grub.conf since it automatically boots to graphical. I know how to edit grub by pressing 'e' but what do i add to get fedora to boot to command line?

tchung
2004-04-07, 04:03 PM CDT
Actually type "a" to add following keyword to the kernel arguments at the grub boot loader screen:

[space] single

Then type following to edit inittab:

sh-2.05b# vi /etc/inittab

Change "5" to "3" in the following line:
id:5:initdefault:

[Esc]:wq <-- this is vi command to save and quit

Then type "reboot"

Thomas

LordMorgul
2004-04-08, 02:10 PM CDT
Any single digit decimal value appended to the kernel parameter line should be used as an init value. You should also be able to use init 3, but the init (I think) is unnecessary.