Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2000 13:36:43 +0100
From:      Mark Ovens <marko@freebsd.org>
To:        Kent Stewart <kstewart@urx.com>
Cc:        Jean Tran <jeann@smartt.com>, questions@FreeBSD.ORG
Subject:   Re: single user mode
Message-ID:  <20000826133643.A254@parish>
In-Reply-To: <39A6D815.F9B524B1@urx.com>; from kstewart@urx.com on Fri, Aug 25, 2000 at 01:33:25PM -0700
References:  <4.3.2.20000825120325.00b19038@127.0.0.1> <20000825201443.C254@parish> <39A6D815.F9B524B1@urx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 25, 2000 at 01:33:25PM -0700, Kent Stewart wrote:
> 
> 
> Mark Ovens wrote:
> > 
> > [moved to -questions]
> > 
> > On Fri, Aug 25, 2000 at 12:07:14PM -0700, Jean Tran wrote:
> > > Hi,
> > >       I run into a problem when trying to follow the instruction from the
> > > handbook.  I need to get into the single user mode to change a forgotten
> > > root password.  I can get into either the boot2 prompt(boot prompt) or the
> > > multi_user mode(login prompt) when press any key(except ENTER) after the
> > > bootstrap loader.  I then tried boot -s or just -s, and none of them will
> > > bring up the single user mode.  I am not sure what I did wrong
> > > here.  Please advise.  Thanx.
> > >
> > 
> > Hit any key (except ENTER) when you see the "twirling baton" in the
> > top left corner of the screen and type
> > 
> >     boot /kernel -s
> 
> Does that get you around the loader problem. There are times when I
> want to boot into single user mode and exit to multi-user mode. When I
> use /kernel -s, top and some other processes don't work and so I
> reboot. It would be nice to just exit.
> 

I saw your other reply that mentioned about top(1) and others not
working. I wasn't aware of that side-effect (I tried it and sure
enough top(1) gave ``nlist failed'').

I guess stopping the boot at that stage should only be done if you've
got a non-booting kernel and want to use the old one or some such
major problem, although of course stopping the boot at the 10 second
countdown and unloading the current kernel and loading the new one is
an equally valid way of doing it.

Thanks for the pointer.

> Kent
> 
> > 
> > > regards,
> > > Jean
> > >
> > >
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-doc" in the body of the message
> > 
> > --
> >                 4.4 - The number of the Beastie
> > ________________________________________________________________
> > 51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
> > 2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
> > mailto:marko@freebsd.org                http://www.radan.com
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> -- 
> Kent Stewart
> Richland, WA
> 
> mailto:kbstew99@hotmail.com
> http://kstewart.urx.com/kstewart/index.html
> FreeBSD News http://daily.daemonnews.org/

-- 
		4.4 - The number of the Beastie
________________________________________________________________
51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
mailto:marko@freebsd.org                http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000826133643.A254>