Solved

Boot in console mode

Posted on 2004-04-21
2
990 Views
Last Modified: 2013-12-16
Hi! I'm a newbie in Linux. Can I have a question?

I have installed Redhat Linux 9.0 in my computer. Default, I choose boot it in X-Window, and everytime I start Linux, it  go to X-Window mode.

Now I want when it boot, I go to Console mode. But I don't know how to do.

Can you help me!
0
Comment
Question by:mrcuongnv
2 Comments
 
LVL 12

Accepted Solution

by:
paullamhkg earned 250 total points
ID: 10885833
get into console mode login as root or use sudo to change  the file /etc/inittab

there is an entry as below

#
# 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:3:initdefault:                                                                             <--- change this from 5 to 3

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

save the file and reboot, this will change the boot up to console mode instead of X-windows

after console mode, if you want to activate the X - windows, you can use startx to get into X-windows

hope this can help :)
0
 

Author Comment

by:mrcuongnv
ID: 10886071
Thank you! Very well!
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now