Thursday, November 03, 2005

Linux tips: enabling & disabling graphic boots

This may sound silly, but comes in handy when installing graphic card drivers in linux.

You will need to boot to native text mode to install say nVidia graphic card driver in linux.

Most linux dristibution will enable graphic boot during installation. To toggle between
graphic & text mode upon bootup.

edit /etc/inittab

change default runlevel from 5 to 3. As per extract from inittab below.
Level 5 is X11 graphic boot, level 3 is text mode.

#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg,
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by RHS 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:

# System initialization.

0 Comments:

Post a Comment

<< Home