From owner-freebsd-arm@freebsd.org Sat Sep 12 15:21:24 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59B52A018C2 for ; Sat, 12 Sep 2015 15:21:24 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3485D1F4F for ; Sat, 12 Sep 2015 15:21:23 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from macbook.chumby.lan (c-71-62-179-114.hsd1.va.comcast.net [71.62.179.114]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 9F852D39 for ; Sat, 12 Sep 2015 11:21:17 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: single user mode freebsd11/rpi2 From: Paul Mather In-Reply-To: <20150912150433.GA1204@potato.growveg.org> Date: Sat, 12 Sep 2015 11:21:16 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <1C74A408-4800-4F36-88A3-DE76DB80037B@gromit.dlib.vt.edu> References: <20150912150433.GA1204@potato.growveg.org> To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2015 15:21:24 -0000 On Sep 12, 2015, at 11:04 AM, John = wrote: > Hello list, >=20 > I need to either make the system single user node by either becoming > it (as root, shutdown now) or booting into it (either at the boot = prompt or > with nextboot) and I can do neither, so obviously I'm going about this > the wrong way. "shutdown now" never returns a prompt and=20 > "nextboot -o "-s" -k kernel *will* boot the kernel after shutdown -p > but I get no prompt. Last two lines of output: >=20 > warning: no time-of-day clock registered, system time will not be set = accurately > random: unblocking device. >=20 > and there it sits. I left it for 15 mins to make sure it wasn't just = slow. > ctrl-alt-del rebooted the pi but other than that, nothing had any = effect. >=20 > ** also, rebooting didn't fix this. Nextboot, when it boots, attempts = to zero > nextboot.conf but it couldn't do this. In order to get it to boot = again > I had to remove the config by taking the sd card out and mounting it > on another machine. *** >=20 > How can I make it single user mode? The reason this needs to be done = is > I need to move some filesystems around. Are you using a serial console? When you do "shutdown now" it is = probably dropping into the serial console. IIRC, it's the only type of = console supported on the Raspberry Pi right now, though I may be = mistaken. (I've only ever used a serial console on the Raspberry Pi.) Cheers, Paul.