Seleting the runlevel at kernel boot time: Hardy
glgxg at sbcglobal.net
Mon Jun 30 15:43:37 UTC 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:
>> 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:
More information about the ubuntu-users