Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Changing runlevel
Symphony
post Nov 12 2006, 12:24 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 11-November 06
Member No.: 7,732



Hi.
How do I change runlevel for linux?
I am booting in text mode and I need to edit /etc/inittab and change runlevel. But how do I do that?

Thanks!
Go to the top of the page
 
+Quote Post
michaelk
post Nov 12 2006, 01:02 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Change the line in the file that says
id:3:initdefault:
to
id:5:initdefault:

You must be root in order to edit files in the /etc directory. Most distributions include the console text editor vi.
You can find a vi command list by searching the web. To edit the file.
vi /etc/inittab

Use the arrow keys to scroll down to the line and character you want to change.
Press teh insert key to enter edit mode.
Press the delete key to erase the 3.
Add the 5.
Press the Esc key to exit insert mode.
Press :wq to save and quit.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 06:47 AM