Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 1999 16:06:03 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        bill slaybaugh <slay3241@bright.net>
Cc:        FreeBSD List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: flaky single user boot 
Message-ID:  <12425.940255563@axl.noc.iafrica.com>
In-Reply-To: Your message of "Mon, 18 Oct 1999 09:55:24 -0400." <380B26CC.3D82FDBA@bright.net> 

next in thread | previous in thread | raw e-mail | index | archive | help


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




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