RE: Boot CentOS 5 to command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of ABBAS KHAN
Sent: Monday, August 18, 2008 1:46 PM
To: centos@xxxxxxxxxx
Subject: 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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux