Quote:
Originally Posted by John VV
there is no 6
|
This is incorrect, runlevel 6 DOES exist but it is a reboot runlevel. Run init 6 as root and watch ur box reboot.
Quote:
Originally Posted by John VV
edit the old legacy grub.conf or inittab
or
the kernel line during early boot
|
This is correct, you would edit the /etc/inittab file for permanent runlevel changes. You can edit the boot menu via grub and pass the run level as a boot parameter. Hardcoding this into the grub.conf is not a good idea as your inittab would have a different value and thats where it should be.
Here is a default inittab:
Code:
# Default runlevel. The runlevels used 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)
#
id:3:initdefault:
Simply change the number after the first colon from 3 to whatever you want. 4 is the same as 3 by default and is a second runlevel used for advanced server configs if you need it.