There are six boot modes in Linux meaning that there are six ways to initialize your Linux box. The modes and their properties are:

Mode 0: Halt (Shutdown)
Mode 1: Single user mode
Mode 2: Not yet implemented
Mode 3: Full multi-user command line mode
Mode 4: Not used.
Mode 5: Full multi-user Graphical User Interface mode
Mode 6: Reboot

The default boot mode is selected at the installation time. This default mode can be changed by editing the file /etc/inittab.
Search for this line in this file:
id:3:initdefault:

Change the value from 3 to whatever you like from 0 to 6. 0 is the halt state so don’t do that and 6 in the reboot state so don’t ever try to do that or you’ll keep on looping the reboots on your linux box :-D . Usually 3 is used from CLI (Command Line Interface) option and 5 is used for GUI (Graphical User Interface) option.

Technorati Tags: , init levels, change boot mode, change from text mode to GUI, change from GUI to text mode


Got computer/technical problems? Get FREE help from Technize Forums

8 Comments to “Change Boot Mode in Linux”

  1. Abdussamad Abdurrazzaq abdussamad.com says:

    I think the numbers associated with the boot modes vary according to the distro. The ones you’ve quoted are for Redhat , right? I think other distros have slightly different numbers.

    You can also change the mode on a running Linux machine using the telinit command:

    telinit 1

    You have to be logged in as root though or sudo in.

  2. Sanix technodigits.wordpress.com says:

    Yes .. these numbers are specific to Redhat. That’s why I have filed the post under Redhat. Debian has a slightly different init number scheme.

    And thankyou very much for the command. I knew it but had forgotten it.

  3. Abdussamad Abdurrazzaq abdussamad.com says:

    Your welcome. Seems like you know everything.

  4. Sanix technodigits.wordpress.com says:

    Haha .. actually I don’t I write what I learn so that it can help when I forget things and also help others in their hard times.

  5. BLADE says:

    Hii…. Can we change the Boot Loader from LILO to GRUB in Fedora Core 6 after Installation..?

  6. fennytape plimus.com says:

    regards to administration of http://www.technize.com – you have a splendid site!
    I was able made only one blog with the information about a medical pills
    I hope this it is suitable section for my message if there is no that simply remove it and forgive for disturbance
    My small blog – albenza
    sorry for errors – here is a obscure and I have very small keyboard

  7. sexxwbaeqxoaonnqwell, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch ;)

Leave a Reply

Got computer/technical problems? Get FREE help from Technize Forums

Incoming search terms for the article:

linux boot modes, linux boot mode, how to change mode in linux, how to change boot linux, linux change text to GUI redhat, how to change boot in with linux, MGA_v6_crack_repacked zip, change boot mode, trend micro ftp products tis TIS175 IOMEGA, all GUI mode in linux, Switching boot mode, change boot in linux, linux boot change, linux change boot, linux change boot mode, linux change default boot mode, linux change mode 3 to mode 5, linux change text mode, www Cric time com on mobile n73, linux commands for changing command mode to GUI mode, linux how to chnage to graphical mode?, linux line mode, linux modify boot, linux reboot in mode 3, www crictime com, zeus safe mode command grub, linux bootmode 3, how to go from text mode to Gui mode in redhat linux, how to protect lilo from changes users in fedora gui, How to switch to Console mode from GUI mode in redhatlinux, how to transfer to GUI mode in linux, in linux what changes should be their to boot in gui mode, iomega com/suite2, kaspersky text mode commands, linux text mod, linux boot mode 3, linux boot verbose, linux booting gui mode, linux redhat 5 switch to gui mode, linux startup error -going to multi user gui mode, run mode cli linux, single user mod ein linux, snagit 8 filehippo, switch boot mode linux, what is operating modein linux, switch to gui mode in linux, WATCH LIVE CRICKET ON NOKIA N70 MOBILE, switching from text mode to graphical mode inlinux, t20 world cup, trendmicro com/ftp/products/tis/TISPro Download SP 32bit exe, Watch free icc 20 20 world cup today match on nokia n 73, watch live cricket on ipod, redhat startup modes, redhat linux not able to boot in gui mode, not able to boot in gui inlinux, linux startup mode, linux startup mode 3, Linux switch single mode, working desi tv without buffering, linux text mode, linux text mode to gui mode change, Live cricket on mobile n73, witching graphical mode to command mode in fedora, mod 8 boots, modes in linux, modes that linux can be booted, no boot gui mode to cli mode, watch live cricket on n95, boot linux command line interface, change from text to gui on redhat, change graphical mode in red hat linux, change linux boot from GUI to CLI, Change text mode to gui mode centos, change the command mode to GUI mode in linux, changement du mode de demarrage de linux, CLI Mode for Linux 5 0, cli mode redhat, command to change text mode to graphics mod, command to switch linux to graphic mode, command to switch to gui mode from cli mode in linux