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>

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


> On Dec 6, 2014, at 2:17 PM, Anton Shterenlikht <mexas@bris.ac.uk> wrote:
> 
>> From 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?
>>> 
>>> 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?
>> 
>> 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.
> 
> so I need a usb to serial converter for this, right?
> 
> Anton
> 

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=oh_aui_detailpage_o06_s00?ie=UTF8&psc=1

Tom




home | help

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