From owner-freebsd-questions@FreeBSD.ORG Mon Feb 4 12:20:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0CE25EAB for ; Mon, 4 Feb 2013 12:20:19 +0000 (UTC) (envelope-from mhca12@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D06EA17C3 for ; Mon, 4 Feb 2013 12:20:18 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id va7so6203442obc.27 for ; Mon, 04 Feb 2013 04:20:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=fgJlaa+ch2+tYWxmh/dva5CQTHRm/5siOHASrB7pU3Q=; b=aFkSAQFXdnK3/TjKf9iUG0XxpfxeITOtUcYaLcqw4sKjYbI0aUFER3ZvFwIP9CiYx8 VrbRmozXBTIw+yUBUzUfxF5kdeeI7oy3b7uYqCTAvKz8nDotw7PcYOAk1KbTDvMV5sNx YJhew7Zfz0/sXmdNJKzSmPUY+JsRbaCl+oZqJosgwNeaoelic2h69Rt33tp0TsdqLsw7 aRuaonRQuLCmh3Wi3VjkZStOofkTRFIc4vAazT8/M71fe5aJaZ+TzaGjBDRHGi6zIxEo b2sJRQmyR09qslZXAKF1oZiwdGX3uwfPznQF1oODxnjzaMnWPlUkdF1y7mMLfvdT3Oq9 CqAA== MIME-Version: 1.0 X-Received: by 10.60.169.10 with SMTP id aa10mr16801391oec.105.1359980418188; Mon, 04 Feb 2013 04:20:18 -0800 (PST) Received: by 10.76.34.73 with HTTP; Mon, 4 Feb 2013 04:20:17 -0800 (PST) In-Reply-To: <20130204130635.3a66d412@fabiankeil.de> References: <20130204130635.3a66d412@fabiankeil.de> Date: Mon, 4 Feb 2013 13:20:17 +0100 Message-ID: Subject: Re: vfs.root.mountfrom with geli From: mhca12 To: Fabian Keil Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 12:20:19 -0000 On Mon, Feb 4, 2013 at 1:06 PM, Fabian Keil wrote: > mhca12 wrote: > >> I followed the guide on dan.me.uk to install FreeBSD 9.1 amd64 >> but I get always stuck because the kernel doesn't ask me for the >> passphrase and doesn't find the /dev/gpt/enc.eli where enc is the >> label I gave to the root partition. I also tried with /dev/ada0p3.eli >> without success. >> >> Tried the following two /boot/loader.config variations: >> 1: >> geom_eli_load=3D"YES" >> vfs.root.mountfrom=3D=94ufs:/dev/gpt/enc.eli=94 >> 2: >> geom_eli_load=3D"YES" >> vfs.root.mountfrom=3D=94ufs:/dev/ada0p3.eli=94 >> >> I can geli attach /dev/gpt/enc or /dev/ada0p3 successfully from >> the livecd. >> >> Can you advise me what I might have done wrong or what I >> should try? >> >> https://www.dan.me.uk/blog/2012/05/05/full-disk-encryption-in-freebsd-9-= x-well-almost/ > > This guide doesn't seem to match your configuration. > It uses ada0p3.eli for swapping and additionally uses keyfiles. > > Without knowing your actual configuration it's impossible to > give proper advice. You could check with "geli list ada0p3" if > the boot flag is set, but that's obviously just a wild guess ... Forgot to list my simpler setup: ada0p1 freebsd-boot ada0p2 freebsd-ufs label boot /boot ada0p3 geli freebsd-ufs label enc / Do I have to set the boot flag for any of them?