Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2015 11:21:16 -0400
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        freebsd-arm@freebsd.org
Subject:   Re: single user mode freebsd11/rpi2
Message-ID:  <1C74A408-4800-4F36-88A3-DE76DB80037B@gromit.dlib.vt.edu>
In-Reply-To: <20150912150433.GA1204@potato.growveg.org>
References:  <20150912150433.GA1204@potato.growveg.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 12, 2015, at 11:04 AM, John <freebsd-lists@potato.growveg.org> =
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1C74A408-4800-4F36-88A3-DE76DB80037B>