Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 2014 14:26:21 -0500
From:      Tom Pusateri <pusateri@bangj.com>
To:        mexas@bris.ac.uk
Cc:        freebsd-arm@freebsd.org
Subject:   Re: single user mode?
Message-ID:  <D8D903C6-F2DD-4A19-8D36-A86FFB67281C@bangj.com>
In-Reply-To: <201412061917.sB6JH7pU013725@mech-as221.men.bris.ac.uk>
References:  <201412061917.sB6JH7pU013725@mech-as221.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Dec 6, 2014, at 2:17 PM, Anton Shterenlikht <mexas@bris.ac.uk> =
wrote:
>=20
>> =46rom lists.br@gmail.com Sat Dec  6 14:22:54 2014
>>> Is it possible to enter a single user mode
>>> on arm 10.1-release?
>>>=20
>>> My disk, well.. the sd card, got corrupted,
>>> so wanted to run fsck on it, but cannot
>>> enter a single user mode. I ended up putting
>>> the sd card into a laptop and running fsck there.
>>> This fixed lots of panics, but is it possible
>>> to enter the single user mode on arm, and
>>> run fsck directly there?
>>=20
>> If you are using RPi with official or crochet images then yes, you =
can
>> force it to boot in single user mode and run fsck, but (and there
>> always a but) you can only do that from serial console, the vt
>> framebuffer starts too late to allow you to break into loader prompt.
>=20
> so I need a usb to serial converter for this, right?
>=20
> Anton
>=20

You need a TTL serial cable. I have used this one successfully which is =
around $5 USD:

=
http://www.amazon.com/gp/product/B008AGDTA4/ref=3Doh_aui_detailpage_o06_s0=
0?ie=3DUTF8&psc=3D1

Tom





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D8D903C6-F2DD-4A19-8D36-A86FFB67281C>