From owner-freebsd-questions@FreeBSD.ORG Sun Apr 28 23:13:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4C44B3F9 for ; Sun, 28 Apr 2013 23:13:20 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id 1B1511A92 for ; Sun, 28 Apr 2013 23:13:20 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id uk5so4867634obc.39 for ; Sun, 28 Apr 2013 16:13:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=TXv5Qywb54PIEcLPLPOpHlm8Li34S8QdgwEOc+jJgao=; b=dwa1wM31YEjp4i3wr5BgjNDmWnF1jq6XlGHdVsDJI/19adMe4m25TZ1y6ARUOFI9Ar OYPgrLbc4Stdl4VrPtJJa8GjAegHrk0os3OZQs2OioD8MHjreePoYvnUugpOGzQCrRez xAJ3PZNLxyrlT2S+vNBWGJ/9C2uCssZMuMeIbulQLvuO6cd9lcNTFKzABqwj4f+jlbQM stNA+U1koWqZSZQRaWH8cNByCYsBzpJ4YZx5WTls7364ioQOCeyxEja6tGBtvGhr+6G8 V1+rNGZCgd71NN+2Nk4rOsRrTSiyvoZvShLQFYLDameE95iZy+vLXPc5PMOfNEmeYqRe 8DpQ== MIME-Version: 1.0 X-Received: by 10.60.92.230 with SMTP id cp6mr27238080oeb.91.1367190799707; Sun, 28 Apr 2013 16:13:19 -0700 (PDT) Received: by 10.60.140.229 with HTTP; Sun, 28 Apr 2013 16:13:19 -0700 (PDT) In-Reply-To: <20130429010414.3227b624.freebsd@edvax.de> References: <517DA65E.8050706@a1poweruser.com> <20130429010414.3227b624.freebsd@edvax.de> Date: Sun, 28 Apr 2013 16:13:19 -0700 Message-ID: Subject: Re: enter single user mode from boot menu From: Michael Sierchio To: Polytropon X-Gm-Message-State: ALoCoQkUGKHgxKJ1+X3vX5Bvlo487oudevP5fxgzHQKFGmelih2WXeqBNNbZu2117+V3pJ7OdlCe Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Joe , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2013 23:13:20 -0000 On Sun, Apr 28, 2013 at 4:04 PM, Polytropon 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