[FAQ pointer] Re: How to start single user mode or safe mode

2004-02-23 Thread Lowell Gilbert
Stephen Liu [EMAIL PROTECTED] writes: Hi all folks, Accidentally I made a mistake # ee /etc/rc.conf . hostname=localhost and could not start the PC At booting .. Enter full pathname of shell or RETURN for /bin/sh: Hit ENTER # ee (could not work) I rebooted the

Re: [FAQ pointer] Re: How to start single user mode or safe mode

2004-02-23 Thread Stephen Liu
- snip - Kindly advise how to boot to 'single user mode' or 'safe mode' The precise answer depends on what version of FreeBSD you're running, which you failed to mention. You can work it out from the FreeBSD FAQ entry titled I made a mistake in rc.conf, or another startup file, and now I

Re: [FAQ pointer] Re: How to start single user mode or safe mode

2004-02-23 Thread Matthew Seaman
On Tue, Feb 24, 2004 at 03:38:35AM +0800, Stephen Liu wrote: This one is fine... # fsck /dev/ad4s1a (I suppose boot) but these two aren't: # fsck /dev/ad4s1b (I suppose swap) # fsck /dev/ad4s1c (I suppose /) You can only run fsck(8) on partitions containing filesystems. The 'b'