Bill Jonas on Tue, 14 May 2002 19:40:14 +0200


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

Re: [PLUG] kernel won't boot


On Tue, May 14, 2002 at 01:25:27PM -0400, gabriel rosenkoetter wrote:
> Can you boot to single user? (Should be a -s flag to the
> bootloader...)

On Linux, it's a command-line argument of "single" to the kernel.  So if
you're using LILO, you'd type something like the following:

  linuxnew single

You can even specify which executable to use in place of /sbin/init.
"init=/bin/bash" can be helpful at times (but keep in mind the init
scripts won't be run, so you'll have to manually "mount -o remount,rw /"
and mount other partitions, and umount all your partitions before you
reboot if you don't want to see fsck running).

-- 
Bill Jonas    *    bill@billjonas.com    *    http://www.billjonas.com/
"They that can give up  essential  liberty to obtain a little temporary
safety deserve neither liberty nor safety."        -- Benjamin Franklin

Attachment: pgp1zm8pFnbIU.pgp
Description: PGP signature