On Sun, Apr 28, 2013 at 4:04 PM, Polytropon <free...@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 /

is the minimal command to do that.  You might also find it easier to mount
/tmp and /var if they're separate filesystems... YMMV, etc.

- M
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to