Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Ubuntu lucid on my home computer. Today I was experimenting with runlevels and I couldn't figure out how to change the default run level of Ubuntu. I can do that using /etc/inittab on Debian 504 but that file is not there in Ubuntu. I have searched on the web but couldn't figure out the answer.

Thanks in advance.

share|improve this question
up vote 10 down vote accepted

As per man inittab:

The  /etc/inittab  file was the configuration file used by the original
System V init(8) daemon.

The Upstart init(8) daemon does not use this file,  and  instead  reads
its  configuration  from  files  in  /etc/init.   See  init(5) for more

If you look into /etc/init/rc-sysinit.conf you should find a line similar to this:

# Default runlevel, this may be overriden on the kernel command-line
# or by faking an old /etc/inittab entry

Either change this or use manually generated /etc/inittab.

share|improve this answer

Ubuntu uses the upstart init daemon which by default boots to (an equivalent of?) runlevel 2. If you want to change the default runlevel then create an /etc/inittab with an initdefault entry for the runlevel you want.


would bring the system up to runlevel 3.

An article on it here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.