From owner-freebsd-questions Mon Oct 18 7: 6:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 3E70014FF7 for ; Mon, 18 Oct 1999 07:06:11 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11dDQJ-0003EQ-00; Mon, 18 Oct 1999 16:06:03 +0200 From: Sheldon Hearn To: bill slaybaugh Cc: FreeBSD List Subject: Re: flaky single user boot In-reply-to: Your message of "Mon, 18 Oct 1999 09:55:24 -0400." <380B26CC.3D82FDBA@bright.net> Date: Mon, 18 Oct 1999 16:06:03 +0200 Message-ID: <12425.940255563@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 18 Oct 1999 09:55:24 -0400, bill slaybaugh wrote: > Having done the equivalent of losing my root password: at login I get > "/etc/spwd.db: No such file or directory". I've tried the single user > boot, but I never get prompted for the shell choice. I don't believe you. :-) Seriously though, could you give us a little more detail? How do you boot into single-user mode? I see something like this: | BTX loader 1.00 BTX version is 1.01 | Console: internal video/keyboard | BIOS drive A: is disk0 | BIOS drive C: is disk1 | | FreeBSD/i386 bootstrap loader, Revision 0.7 639/64448kB | (sheldonh@gdb.noc.iafrica.com, Fri Sep 10 15:40:48 SAST 1999) | Loading /boot/defaults/loader.conf | /kernel text=0x10d2a3 data=0x142e8+0x212a0 syms=[0x4+0x1d410+0x4+0x205d5] | \ | Hit [Enter] to boot immediately or any other key for command prompt. | Booting [kernel] in 9 seconds... I press [space] and then type boot -s After the kernel has done it's probing magic, I get the root shell prompt. What do you see, or are you specifying simply "-s" instead of "boot -s"? That's a common mistake with folks who've come from FreeBSD 2.x. Later, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message