Home Learn Linux Linux Answers High Performance How do you get a workstation to boot into one of the specific runlevels everytime?
  • Edit your boot loader's config (probably grub) to add the runlevel you want as a parameter to the kernel. So for example, right after "linux" but before the other parameters, enter 1 - 5 or emergengy or single. You may want to make it a boot option in boot loader, too (e.g. a new entry in Grub's menu.lst).

    Answered by gomer
    5 years ago
    0 0
  • In the file /etc/inittab edit the following line. For example, the distro I'm using now is set to runlevel 5 as shown here:

    # Default runlevel. The runlevels used by PCLinuxOS are:
    # 0 - halt (Do NOT set initdefault to this)
    # 1 - Single user mode
    # 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
    # 3 - Full multiuser mode
    # 4 - unused
    # 5 - X11
    # 6 - reboot (Do NOT set initdefault to this)

    Answered by TsaniApani
    5 years ago
    0 1
  • You can modify /etc/inittab so that the runlevel is 3. The line would then read:


    Answered by billsdesk
    5 years ago
    0 2
  • Modify your /etc/inittab file. Change the line:


    Where 3 is the runlevel.

    Answered by kunal
    5 years ago
    1 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category High Performance

Upcoming Linux Foundation Courses

  1. LFD211 Introduction to Linux for Developers
    09 Feb » 10 Feb - Virtual
  2. LFD411 Embedded Linux Development
    09 Feb » 13 Feb - Mississauga - ON
  3. LFD312 Developing Applications For Linux
    16 Feb » 20 Feb - Atlanta - GA

View All Upcoming Courses

Community Answers - Search

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board