PDA

View Full Version : Grub and Webmin


Ug
1st April 2004, 02:11 PM
We've got a Fedora Core web server here at my school, which is being administrated via webmin. The admin wants to know what parameters need to be put into Grub in order for it not to boot up the GUI upon loading FC1. And instead to just leave itself in command line.

Any thoughts?

proffit
1st April 2004, 02:14 PM
are you sure grub boots the GUI? I thought it was something in the rc.sysinit. I could be way off though as I'm not totally sure about it.


Michael

kbradl1
1st April 2004, 02:57 PM

GRUB does not load the GUI, it just loads the linux kernel. The linux kernel, then load init which loads the GUI (GDM or KDM) based on what your runlevel is.
If you what to have the machine boot into text mode, instead of the GUI, you need to change the runlevel from 5 to 3. do the following:

Open /etc/inittab in any text editor.
Find the line:
id:5:initdefault:

and change the 5 to a 3
id:3:initdefault:

then save.

To go straight into runlevel 3 without rebooting type "telinit 3".

tycho
1st April 2004, 04:17 PM
Then, you might also want to get rid of the graphical boot section (init interactive phase) entered before init switches to the final runlevel... personally I think itīs nice to look at :cool: , but annoying with the Display mode-shifting associated with it :rolleyes:
What_to_do:
* Open /boot/grub/grub.conf in your favourite editor
* delete the " rhgb" at the end of the kernel line (rhgb is Red Hat Graphical Boot - AFAIK)
* Et voila !

Jman
1st April 2004, 04:38 PM
Congatulations on having a school so open to open source! :)

Ug
1st April 2004, 04:52 PM
It's only my doing which has resulted in it happening.

"Linux this and linux that..." ;)

Thanks for the help though. I think that'll work, I'll try tommorrow