LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 08-02-2009, 12:33 PM   #1
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 9.04, fedora 11, slackware 12.2
Posts: 359
Thanked: 50
Unhappy change default runlevel


[Log in to get rid of this advertisement]
where can i change my default runlevel? i cant find any /etc/inittab in ubuntu. thanx in advance.
mobinskariya is offline  
Tag This Post ,
Reply With Quote
Old 08-02-2009, 12:41 PM   #2
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,534
Thanked: 444
Ubuntu seems to use upstart
Take a look at
http://ubuntuforums.org/showpost.php...68&postcount=4

Why o why did they changed this ?
repo is online now     Reply With Quote
Thanked by:
Old 08-02-2009, 12:49 PM   #3
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 9.04, fedora 11, slackware 12.2
Posts: 359
Thanked: 50

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

Last edited by mobinskariya; 08-02-2009 at 12:50 PM..
mobinskariya is offline     Reply With Quote
Old 08-02-2009, 12:52 PM   #4
catkin
Senior Member
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.0
Posts: 1,848
Blog Entries: 6
Thanked: 226
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 01:09 PM.. Reason: Translate gibberish to English
catkin is offline     Reply With Quote
Thanked by:
Old 08-02-2009, 01:05 PM   #5
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 9.04, fedora 11, slackware 12.2
Posts: 359
Thanked: 50

Original Poster
Smile

i read the file.. thanx for the detailed information.
mobinskariya is offline     Reply With Quote
Old 08-02-2009, 01:13 PM   #6
catkin
Senior Member
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.0
Posts: 1,848
Blog Entries: 6
Thanked: 226
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.
catkin is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 11:01 AM
how to change default login manager (for runlevel 5) jza Red Hat 3 02-10-2006 09:46 AM
default runlevel 3 sailu_mvn Linux - Software 6 12-19-2005 03:06 AM
default runlevel 2 ? javb Ubuntu 3 10-28-2005 01:39 PM
Default WM on Suse 9.2 @ Runlevel 5 maelstrom209 Linux - Software 2 12-06-2004 03:13 PM


All times are GMT -5. The time now is 03:27 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration