Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 01-29-2008, 05:27 PM   #16
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407

@hex1a4: Thanks for your lucid explanation

But I like my /etc/inittab (it is easy, obvious, and simple), and [@syg00] the business of referring to disks by UUID is very annoying, so I am staying with kubuntu 6.06.1
I expect I'll have to "embrace" these "improvements" as time passes
[Insert dinosaur picture here].
Old 01-29-2008, 07:21 PM   #17
Registered: Jul 2007
Location: Kolkata, INDIA
Distribution: Debian Lenny
Posts: 51

Rep: Reputation: 15
Open /etc/event.d/rc-default in a text editor.

Look for the lines
		telinit 2
	    telinit 2
Change every occurance of 2 to 1, and from next boot you will be greeted with a console login screen.

But runlevel 1 is for system maintenance tasks and lots of services are disabled by default. So it should not be used for daily use. The best option according to me is to remove any display manager installed in your system, like gdm, kdm, xdm. If you have no display manager your distro boots straight into console.

Last edited by lycan; 01-29-2008 at 07:36 PM.
Old 03-02-2009, 06:32 PM   #18
LQ Newbie
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Originally Posted by hex1a4 View Post

If you create your own /etc/inittab file, Ubuntu will honour it.

To change your runlevels the Ubuntu way look in /etc/init.d/ which contains startup scripts. Then look in /etc/rc#.d/ which contains symlinks to scripts in /etc/init.d/. The name of the symlinks determines what will be started/stopped and in what order. Look in the README file in any of the /etc/rc#.d/ directories for details.

The # in the /etc/rc#.d/ is the runlevel number.

To stop GDM from loading in runlevel 2 (Ubuntu default runlevel) rename /etc/rc2.d/S30gdm to /etc/rc2.d/K70gdm

The S tells Ubuntu to start the process, and the K tells Ubuntu to kill it. The number is the order in which it should be started/stopped.

Have a look at the man page for update-rc.d which can be used to create/update/remove the init script symlinks for you.

EDIT: You can also install the Boot-Up Manager (BUM) which is a graphical tool to configure runlevels. It's in the repositories.

The last poster, Thank You. I saw you had no thank you's and 64 posts. I am a new Ubuntu user and learned alot from you post.

Correct me if I am wrong but... in the System5 rcX.d directories, S is for start and K is for Stop..KILL. To be used in Startup and Stop (Shutdown, run level change). (&^(^*(&%$*$%$#@%$#$^*^&^(&*^(&^%%$&@#

I am again wrong, there are no K files in Ubuntu... rc2.d, butt.. There are K files in rc1 and rc2.d.

SXXX files are done in order. They should all have a "stop" routine.

Do not rename your Startup files to KXXStuff.

Rename your startup files to sXXStuff. Only the SXXXfiles should be started.

If Ubuntu does not follow this requirement...!!! ??? .

Or maybe KXXXfiles are the Kernel? I am so confused...

Old 03-10-2010, 02:13 AM   #19
LQ Newbie
Registered: Mar 2010
Distribution: Ubuntu 9.10
Posts: 4

Rep: Reputation: 0
for all the above queries, with respect to Ubuntu, I would suggest you look at this document.. (Please ignore this if this has already been posted or been cited)...
Old 12-09-2010, 04:54 PM   #20
LQ Newbie
Registered: Dec 2010
Posts: 1

Rep: Reputation: 1
Ubuntu runlevels inittab

Hi there!

In Ubuntu, as noted earlier, "upstart" has replaced the usual "sysvinit" package. There are two simple solutions to this issue. From /usr/share/doc/upstart/README.Debian.gz :

How do I change the default runlevel?

If you have an /etc/inittab file, edit it.  Locate the following line:


Where N is the default runlevel, change this to match.

Most people won't have that file, you can edit /etc/init/rc-sysinit.conf
and change the following line:

Hope that helps!

1 members found this post helpful.


inittab, level

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rc[0-6] and inittab kpachopoulos Linux - General 1 08-12-2005 04:27 PM
inittab mikedeatworld Linux - Software 3 08-13-2004 10:01 AM
Cant get out of inittab InEeDhElPlInUx Linux - Newbie 3 10-09-2003 02:13 PM
/etc/inittab sakeeb Linux - General 9 05-29-2002 09:04 AM
no inittab file? Atroxic Linux - Software 2 05-14-2002 05:26 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration