Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2014 14:09:06 +0100
From:      Kurt Jaeger <lists@opsec.eu>
To:        Alban Hertroys <haramrae@gmail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: 10.1RC1 armv6 RPI-B stuck in single user mode
Message-ID:  <20141029130906.GI66862@home.opsec.eu>
In-Reply-To: <CAF-3MvMTXphsXpuQqGnwtHM_3WXSeJCWJfUNttxphuYXFmKeBA@mail.gmail.com>
References:  <CAF-3MvMTXphsXpuQqGnwtHM_3WXSeJCWJfUNttxphuYXFmKeBA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@opsec.eu            +49 171 3101372                         6 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141029130906.GI66862>