LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-02-2009, 11:33 AM   #1
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
Unhappy change default runlevel


where can i change my default runlevel? i cant find any /etc/inittab in ubuntu. thanx in advance.
 
Old 08-02-2009, 11:41 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
Ubuntu seems to use upstart
Take a look at
http://ubuntuforums.org/showpost.php...68&postcount=4

Why o why did they changed this ?
 
Old 08-02-2009, 11:49 AM   #3
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Original Poster
Rep: Reputation: 55
thanx.. for ur answer..why did they deviate from the conventional method??

Last edited by mobinskariya; 08-02-2009 at 11:50 AM.
 
Old 08-02-2009, 11:52 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hello mobinskariya

The default runlevel is set ("guessed" is what it says in the comments!) by script /etc/event.d/rc-default. If it does not find the run level in /etc/inittab then it sets it to 2.

Best

Charles

Last edited by catkin; 08-02-2009 at 12:09 PM. Reason: Translate gibberish to English
 
Old 08-02-2009, 12:05 PM   #5
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Original Poster
Rep: Reputation: 55
Smile

i read the file.. thanx for the detailed information.
 
Old 08-02-2009, 12:13 PM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by mobinskariya View Post
thanx.. for ur answer..why did they deviate from the conventional method??
In the log run it should make for a better boot system; right now it doesn't work properly so we have the complexity of half an new system without the benefits -- and some breakage like no boot logging. The script guards against systems that are unbootable because of no default runlevel in the inittab. Personally I prefer simplicity over the complexity of systems that try and protect me from my own stupidity.
 
  


Reply

Tags
inittab, runlevel


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
change grub boot order, all instructions say change default, but I don't see default mhg Linux - Newbie 5 11-09-2008 10:01 AM
how to change default login manager (for runlevel 5) jza Red Hat 3 02-10-2006 08:46 AM
default runlevel 3 sailu_mvn Linux - Software 6 12-19-2005 02:06 AM
default runlevel 2 ? javb Ubuntu 3 10-28-2005 12:39 PM
Default WM on Suse 9.2 @ Runlevel 5 maelstrom209 Linux - Software 2 12-06-2004 02:13 PM


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

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