Runlevels with GRUB

Colin Watson cjwatson at canonical.com
Tue Sep 21 12:24:23 UTC 2004


On Tue, Sep 21, 2004 at 01:55:06PM +0200, andrew at ffaarg.co.za wrote:
> I have tried passing the runlevel parameter in GRUB e.g.
> 
> - title           boot_into_shell
> - root            (hd0,0)
> - kernel          /boot/vmlinuz*-386 root=/dev/hda1 3
> - etc
> - etc
> 
> In Fedora I was able to pass the runlevel into the kernel options after the root
> entry.
> 
> Can that kind of thing be done in Ubuntu.
> 
> Thanks in advance for any ideas.
> 
> Andrew
> 
> P.S. I want to have that as an additional entry so I can boot into the shell if
> need be, but normally I use runlevel 5.

In Ubuntu as in Debian, there is no distinction between runlevels 2, 3,
4, and 5 by default; they're left for the local system administrator to
customize. If you want 3 and 5 to be different, Red Hat-style, you'll
need to set them up that way.

Cheers,

-- 
Colin Watson                                    [cjwatson at canonical.com]




More information about the ubuntu-users mailing list