10.1RC1 armv6 RPI-B stuck in single user mode

Kurt Jaeger lists at opsec.eu
Wed Oct 29 13:09:08 UTC 2014


Hi!

> We have a Raspberry Pi here that was working fine, but because my
> colleagues tend to reboot the thing by unplugging the power, the root
> file-system got dirty.
> To fsck the root file-system, I attempted to boot it into single-user
> mode using nextboot -o "-s" -k kernel.
> 
> Unfortunately, it never shows the single user mode prompt. The system
> gets stuck trying to mount root from ufs:/dev/mmcsd0s2a
> 
> And it does that every time I attempt to boot it, because that
> nextboot flag never gets cleared!
> There doesn't appear to be any method of interrupting the boot loader
> on the Pi either.
> 
> How do I get out of this pickle?

Put the SD card into some other device, e.g. some laptop with FreeBSD,
run the fsck there ?

-- 
pi at opsec.eu            +49 171 3101372                         6 years to go !


More information about the freebsd-stable mailing list