From owner-freebsd-questions Sat Aug 26 5:37:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id B46C437B43C for ; Sat, 26 Aug 2000 05:37:13 -0700 (PDT) Received: from parish.my.domain ([62.255.97.96]) by mta06-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000826123709.KSIE312.mta06-svc.ntlworld.com@parish.my.domain>; Sat, 26 Aug 2000 13:37:09 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id NAA01618; Sat, 26 Aug 2000 13:36:49 +0100 (BST) (envelope-from mark) Date: Sat, 26 Aug 2000 13:36:43 +0100 From: Mark Ovens To: Kent Stewart Cc: Jean Tran , questions@FreeBSD.ORG Subject: Re: single user mode Message-ID: <20000826133643.A254@parish> References: <4.3.2.20000825120325.00b19038@127.0.0.1> <20000825201443.C254@parish> <39A6D815.F9B524B1@urx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <39A6D815.F9B524B1@urx.com>; from kstewart@urx.com on Fri, Aug 25, 2000 at 01:33:25PM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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