[CentOS] Boot CentOS 5 to command line

Michael Peterson mpeterson at mail.charlesfurniture.com
Mon Aug 18 18:56:52 UTC 2008


Once you boot into GUI you can login as root or login as a user and 
once in a terminal window su - to root and then change the line in
/etc/inittab from
id:5:initdefault:
to
id:3:initdefault:
 
You can also do init 3 after saving the change to see what will happen
before rebooting.
This will keep the GUI login from being run and boot all enabled console
screens and leave you at a character login.
 
The way to boot without any services as needed is to login as root or become
root with su - once the system
is booted into runlevel 3 or 5 and do init 1 or telinit 1.
This will put the system in single user runlevel and shut off all services
similar to rescue mode.
This would only allow you work from the console until you changed back to
runlevel 3 or 5.
 


  _____  

From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf
Of ABBAS KHAN
Sent: Monday, August 18, 2008 1:46 PM
To: centos at centos.org
Subject: [CentOS] Boot CentOS 5 to command line


Hi fellows,

Pretty new to CentOS.
I was trying to find a way to boot CentOS into command prompt instead of GUI
(or without loading any services).
Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen at
mounting and doing fstab and doesn't proceed further.
Is there anyother way to boot CentOS into command prompt without using
Rescue option from the installation CD?

Thanks.

Best.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080818/17d4bbdb/attachment.html>


More information about the CentOS mailing list