Perpetual PC's

Web Site Design.       Networks.

Commands and references ( GNU / linux kernel 2.4.18-3 and 2.4.18-14 )   
Linux is a registered trademark of Linus Torvalds


The commands with their most common usage are in brackets like this: [ command ].
Don't type the brackets, just what is inside of them.

Back to the index page


How to get a command line login screen running RedHat / Fedora Linux at boot up time:


Before you do anything be aware that you are about to change a key configuration file on your system. Before you change this file you might want to make a backup of it. If this file gets corrupted your system may not boot up correctly.
Ok you've just installed RedHat Linux and the system boots up to a graphical login. How do you change that? I've done this on Fedora core 3 2.6.9-1.667 (Heidelberg) and on RedHat 9 2.4.20-6 (shrike). As root,Go to the directory /etc and open inittab with a text editor like vim. You will have to be root to change this file; so be very careful - - if you make a mistake here, you might loose everything. In this file you will see this at the beginning:
#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#               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:5:initdefault:

the line that needs changes is this: id:5:initdefault:
change it to this:
id:3:initdefault:
just change the 5 to a 3 and nothing else - - be sure that is all you change and the next boot up you will be presented with a command line login.



Perpetual PC's home page

Perpetual PC's link page