enter single user mode from boot menu

Teske, Devin Devin.Teske at fisglobal.com
Mon Apr 29 00:50:07 UTC 2013


On Apr 28, 2013, at 4:13 PM, Michael Sierchio wrote:

> On Sun, Apr 28, 2013 at 4:04 PM, Polytropon <freebsd at edvax.de> wrote:
> 
> 
>> 
>> After the BTX loader has started, keep hammering the space
>> bar. :-)
>> 
>> At some point, you'll see the
>> 
>>        Ok
>>        _
>> 
>> prompt. This is where you enter the command
>> 
>>        boot -s
>> 
>> to go into single-user mode. The kernel will load as you would
>> expect, but no further action (rc.d startup) will be taken. Instead
>> you have to confirm the shell (/bin/sh by default) by pressing
>> enter at the
>> 
>>        When prompted Enter full pathname of shell or RETURN for /bin/sh:
>> 
>> prompt; and then you're left at the
>> 
>>        # _
>> 
>> prompt, which means you're in single user mode. Type "exit" to
>> start into multi-user mode as usual.
>> 
>> 
> In single user mode, the root filesystem will be the only one mounted, and
> it will be mounted read-only.
> 
> If you need to make changes (Correcting a fat-fingered edit to /etc/fstab,
> for example), you'll need to mount root rw.
> 
> mount -u -o rw /

or

mount -u -rw /

(just thought I'd save you 2 keystrokes, nyuk nyuk)
-- 
Devin

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.


More information about the freebsd-questions mailing list