From owner-freebsd-arm@freebsd.org Sat Sep 12 15:04:44 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 67334A010BF for ; Sat, 12 Sep 2015 15:04:44 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2ECE118CC for ; Sat, 12 Sep 2015 15:04:43 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from john by potato.growveg.org with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ZamLx-000PWx-Bq for freebsd-arm@freebsd.org; Sat, 12 Sep 2015 16:04:33 +0100 Date: Sat, 12 Sep 2015 16:04:33 +0100 From: John To: freebsd-arm@freebsd.org Subject: single user mode freebsd11/rpi2 Message-ID: <20150912150433.GA1204@potato.growveg.org> Reply-To: freebsd-arm@freebsd.org Mail-Followup-To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: John 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:04:44 -0000 Hello list, 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 "nextboot -o "-s" -k kernel *will* boot the kernel after shutdown -p but I get no prompt. Last two lines of output: warning: no time-of-day clock registered, system time will not be set accurately random: unblocking device. 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. ** 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. *** How can I make it single user mode? The reason this needs to be done is I need to move some filesystems around. thanks, -- John