From owner-freebsd-geom@FreeBSD.ORG Thu Nov 21 20:06:49 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E866CFCB for ; Thu, 21 Nov 2013 20:06:49 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AFF5A2186 for ; Thu, 21 Nov 2013 20:06:49 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id rALK6gx4006876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Nov 2013 12:06:43 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id rALK6gEQ006875; Thu, 21 Nov 2013 12:06:42 -0800 (PST) (envelope-from jmg) Date: Thu, 21 Nov 2013 12:06:42 -0800 From: John-Mark Gurney To: h bagade Subject: Re: root mount failure in freebsd 9.2 encrypted disk! Message-ID: <20131121200642.GZ2279@funkthat.com> Mail-Followup-To: h bagade , freebsd-geom@freebsd.org References: <20131121080749.GO2279@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Thu, 21 Nov 2013 12:06:43 -0800 (PST) Cc: freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 20:06:50 -0000 h bagade wrote this message on Thu, Nov 21, 2013 at 12:24 +0330: > On Thu, Nov 21, 2013 at 11:37 AM, John-Mark Gurney wrote: > > > h bagade wrote this message on Thu, Nov 21, 2013 at 11:16 +0330: > > > I've tried to encrypt my disk in freebsd 9.2 based on the following > > guide: > > > http://cgarcia.org/posts/FreeBSD-FDE-Install.html > > > > > > but it failed to mount root and encountered the following error: > > > mounting from ufs /dev/ada0p3.eli failed with error 19 > > > > > > I have tried so many ways but all ends in above error. I have done the > > same > > > process in freebsd 8.2 without any problem and I don't know why the error > > > occurs in freebsd 9.2?! > > > > > > Does anyone have any idea about this or how I can fix it? > > > > Did you see the ask for the passphrase on boot option for the > > partition? It's the -b option, and you can fix that w/: > > geli configure -b /dev/ada0p3.eli > > > > Thank you so much, my problem is solved by this command. > > > > > The guide you referenced does use the -b in the geli init command... > > > > So -b option on init command doesn't work?!! it was fine with freebsd 8.2! I'd be surprised if it doesn't. Are you sure you didn't acidentally not include the -b on init? I'm pretty sure it worked when I setup my 9.1-PR box, and not much has changed w/ geli... I'm pretty sure I didn't know about configure till I looked it up for you... Glad it's working though! -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."