|
|
How to Change Runlevels
by
bobjensen
—
last modified
Oct 27, 2009 08:24 AM
—
filed under:
Post-Install Solutions
Many people get confused when trying to boot in to a runlevel other than runlevel 5, for example runlevel 3, disabiling the GUI front end with which most users are familiar. Hopefully this howto will help answer the questions "How do I disable X" or "How do I boot without X" or even "How do I get to single user mode." RequirementsOne requirement of this document is to have an understanding of what runlevels are, how changing runlevels will impact your system, and what services may or may not be started. In general this is beyond the scope of this document but I will give a quick run down of things as listed in /etc/inittab. Runlevels0 - halt (Do NOT set initdefault to this) The most commonly used runlevels in Fedora Core are 0, 1, 3, 5 and 6. As you can see you use runlevels everytime you shutdown (runlevel 0) or reboot (runlevel 6) your machine. Most users boot to runlevel 5 with X11 support and a GUI login. Some however, boot to Full multiuser mode (runlevel 3) and may choose to "startx" manually once logged in. Single user mode (runlevel 1) can be very handy if you have forgotten your root password or are having trouble booting for any number of reasons. Full multi user mode (runlevel 3) is desirable when you are having trouble with X11 and would like to repair your xorg configuration or when running a server where you do not want the added overhead of having X running. Doing the workWe will discuss ways to change your runlevel in this howto. First how to change your runlevel "permanently." Second how to change your current runlevel and finally how to change the runlevel at boot time. Editing /etc/inittab to change your default runlevel
Changing your current run level
Changing your runlevel at boot time. (aka Grub Method)The Grub menu is hidden by default
More InformationDisclaimerWe test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on irc.freenode.net Document Actions |
