Seleting the runlevel at kernel boot time: Hardy

NoOp glgxg at sbcglobal.net
Mon Jun 30 16:43:37 BST 2008


On 06/29/2008 08:17 PM, Mumia W. wrote:
> Smoot Carl-Mitchell wrote:
>> On Sat, 2008-06-28 at 19:15 -0500, Mumia W. wrote:
>>> Mumia W. wrote:
>>>> I'm running Ubuntu Hardy. In Debian Etch, I'm always able to select my 
>>>> desired runlevel by appending a number onto the kernel boot command line 
>>>> in Grub, e.g. "... root=/dev/sda1 ro 3"
>>>>
>>>> Three would be my desired runlevel. However, Ubuntu Hardy ignores this, 
>>>> and it always sends me into runlevel two. How do I use the kernel 
>>>> command line to tell Ubuntu what runlevel I desire?
>>>>
>>>>
>>> Does anyone have any ideas at all?
>> 
>> Ubuntu uses upstart which is an even based init process. With the SysV
>> backward compatibility, you can create an /etc/inittab file with a
>> single line like:
>> 
>> initdefault:3
>> 
>> This will set the default bootstrap runlevel to 3 instead of 2.
>> Runlevel 2 is hardwired in the /etc/event.d/rc-default script.  I would
>> imagine this hack will change in future releases of Ubuntu as the
>> backward compatibility with syvinit is deprecated.
> 
> Thanks. I'll try to find out what upstart is and if there is a way to 
> control it from the kernel command line.
> 
> 
> 

You might find thse of interest:

https://wiki.ubuntu.com/ReplacementInit
https://launchpad.net/upstart
http://upstart.ubuntu.com/index.html
http://www.netsplit.com/2008/05/01/upstart-05-relationships/

<https://wiki.ubuntu.com/JohnNilsson?action=fullsearch&context=180&value=upstart&titlesearch=Titles>
http://upstart.ubuntu.com/index.html
[http://www.linux.com/feature/125977]

http://fedoraproject.org/wiki/Features/Upstart
https://fedoraproject.org/wiki/Upstart





More information about the ubuntu-users mailing list