View Full Version : Grub and Webmin
Ug
2004-04-01, 07:11 AM CST
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
2004-04-01, 07:14 AM CST
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
2004-04-01, 07:57 AM CST
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
2004-04-01, 09:17 AM CST
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
2004-04-01, 09:38 AM CST
Congatulations on having a school so open to open source! :)
Ug
2004-04-01, 09:52 AM CST
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
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.