Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: booting single-user



Hi,

On Sat, May 28, 2022 at 08:06:01PM +0200, Pouya Tafti wrote:
> What's the Right Way to boot single-user on an RPI0W running (an oldish) -current/evbarm?  I variously tried adding an init= line to cmdline.txt (a la Linux), creating a boot.cfg file at the root of the DOS and FFS partitions, and--in desperation--changing rc_configured to NO in /etc/rc.conf.  The last attempt is the only one that worked, but it hardly seems proper.

Add "-s" to cmdline.txt.

Alternatively you can also run "shutdown now" from multiuser mode.


> I'm using a serial console but could switch to fb in case it matters.

Doesn't matter, you'll get a root shell on whatever is configurd as
console.


cheers,
  Harold


Home | Main Index | Thread Index | Old Index