From owner-freebsd-arm@FreeBSD.ORG Sat Dec 6 19:34:44 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD500E43 for ; Sat, 6 Dec 2014 19:34:44 +0000 (UTC) Received: from oj.bangj.com (amt0.gin.ntt.net [129.250.11.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B71DC8C7 for ; Sat, 6 Dec 2014 19:34:44 +0000 (UTC) Received: from [172.16.10.140] (gw.mountain2sea.com [71.70.135.90]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oj.bangj.com (Postfix) with ESMTPSA id 655E616F1; Sat, 6 Dec 2014 14:22:19 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: single user mode? From: Tom Pusateri In-Reply-To: <201412061917.sB6JH7pU013725@mech-as221.men.bris.ac.uk> Date: Sat, 6 Dec 2014 14:26:21 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201412061917.sB6JH7pU013725@mech-as221.men.bris.ac.uk> To: mexas@bris.ac.uk X-Mailer: Apple Mail (2.1993) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2014 19:34:45 -0000 > On Dec 6, 2014, at 2:17 PM, Anton Shterenlikht = 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