[CentOS] Boot CentOS 5 to command line

Mon Aug 18 22:48:47 UTC 2008
Ian Blackwell <ian at ikel.id.au>

Barry Brimer wrote:
> id:3:initdefault:
>
> This will tell your system to boot into text mode.  If you want to switch while
> you are running .. you can type "init 3" to go to text mode and "init 5" to go
> to graphical mode.  This will need to be done as the root user.
>
>   
The obligatory warning:-
Run level 3 may have different services loaded than run level 5.  Study
the output from "chkconfig --list" on your server to see what services
are started in each run level.

E.g.:-
[root at zaphod ~]# chkconfig --list
nfslock         0:off   1:off   2:off   3:on    4:on    5:on    6:off
ypbind          0:off   1:off   2:off   3:off   4:off   5:off   6:off
acpid           0:off   1:off   2:off   3:on    4:on    5:on    6:off
diskdump        0:off   1:off   2:off   3:off   4:off   5:off   6:off
webmin          0:off   1:off   2:on    3:on    4:off   5:on    6:off
cqcs_acs        0:off   1:off   2:on    3:on    4:on    5:on    6:off
ntpd            0:off   1:off   2:off   3:on    4:off   5:on    6:off
xfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
snmpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
nscd            0:off   1:off   2:off   3:off   4:off   5:off   6:off
syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off
sysstat         0:off   1:on    2:on    3:on    4:on    5:on    6:off
cpuspeed        0:off   1:on    2:on    3:on    4:on    5:on    6:off
readahead       0:off   1:off   2:off   *3:off*   4:off   *5:on*    6:off
smartd          0:off   1:off   2:on    3:on    4:on    5:on    6:off
rpcsvcgssd      0:off   1:off   2:off   3:on    4:on    5:on    6:off
radiusd         0:off   1:off   2:off   3:off   4:off   5:off   6:off
mysqld          0:off   1:off   2:on    3:on    4:off   5:on    6:off
<snip>

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080819/cef8b0b2/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3617 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080819/cef8b0b2/attachment-0005.bin>