[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rescue mode.



On Sun, Mar 07, 1999 at 01:22:03PM -0800, Jon Burchmore wrote:
> Alexander Maryanchick wrote:
> > I wonder that Linux has no rescue boot mode.
> > Even Mustdie(TM) has this mode.
>
> It does. Pass the command line  parameter "single" to the kernel. You can
> do this from the LILO prompt without changing your

Well not  quite: Depending on your  distribution, init will do  quite a lot
when you pass  the argument "single" or  "S" to it. Better to  use the "-b"
boot option.  That will drop  you into sulogin or  a shell right  after the
sysinit step.

And for real desperate situations, like  a broken init, you can always pass
"init=/bin/sh" or  even better, keep  a statically  linked sh in  /sbin and
pass "init=/sbin/sh". That will even allow you to fix a broken libc if you
either use /sbin/sash or /sbin/sln together with /sbin/sh.

But enough of  that, this definitely belongs into  Linux Administration 101
and has nothing to do with the kernel...

Yours,
  Dominik Kubla
-
Linux-future: thinking about the future of the Linux kernel
Archive:      http://humbolt.nl.linux.org/lists/
Wish list:    http://users.ox.ac.uk/~mert0236/linux-future.html