Boot fedora in text or non graphical mode

The default installation of Fedora will boot you into GUI (Graphical user interface) mode. But many users want to be booted into text or non-graphical mode. If you are running a server out of the default installation then you would probably want to be booted directly to text mode. In this small howto, I will show you how to do that.

Following are the steps to configure your system to boot into text-mode as default. I have performed these steps successfully in my system running fedora 10 but similar steps can be taken to get the same result in other versions.

Open the file /etc/inittab (root privilages are required)

[chia]$ vim /etc/inittab

Look for the line containing the keyword id. In a default installation this line would look something like

id:5:initdefault:

Change the value of 5 to 3 in that line. So, now it will look like this

id:3:initdefault:

Save the file and reboot. Now, you will be booted directly into text mode.

These numbers 5 and 3 are actually called runlevels. They range from 0-7 and each denote a different state of machine.

0 halt (this is for shutdown, never set initdefault to 0)
1 Single User mode
2 Multi User mode without NFS (the same as 3 without networking)
3 Full multi user mode
4 Unused
5 X11
6 Reboot(never set initdefault to this value)

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <p> <br>
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.