From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 15:11:17 2014 Return-Path: Delivered-To: questions@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 4408B90F for ; Wed, 20 Aug 2014 15:11:17 +0000 (UTC) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E0683A50 for ; Wed, 20 Aug 2014 15:11:17 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id kx10so12144305pab.34 for ; Wed, 20 Aug 2014 08:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=DNTk0y5b0xzOcYpKneIrnbB0LePylmQCp9uGBbDgyQQ=; b=LwV62rez4v5RmNYituSzZ16dAzdcIdcy9dSW1K5pz5dC9/yylxdNpX9A2t0LvnUDyB plt94IONdhdq5vijSp+psR53cgke8on8FJm1Z+Dst6rYEegrcYrkip85RKgaLAmA8rYU MtMHd4MbVE72OuRzomP8p2O4xDiDA4YYr3NK9cWrJfBlAARDIRVB8ecxwNElH55y8wkL 79y2uJxFHwZyLfFTrgD7WOcPEMnZpApStMZF47i4FjnMLuaU9le8ER2O0Ymtcw1uuncM kPhKJPCtQ1uTW15Ry1pzfag8Jw4/p9EI+pyahvtWDzpiVTibsuNkCGYTtHE3YFF1BLTk FJfw== X-Received: by 10.70.38.161 with SMTP id h1mr59623702pdk.105.1408547471844; Wed, 20 Aug 2014 08:11:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.127.226 with HTTP; Wed, 20 Aug 2014 08:10:51 -0700 (PDT) In-Reply-To: <20140820150557.GA90970@bewilderbeast.blackhelicopters.org> References: <20140820150557.GA90970@bewilderbeast.blackhelicopters.org> From: Anton Sayetsky Date: Wed, 20 Aug 2014 18:10:51 +0300 Message-ID: Subject: Re: geli keyfile not loading at boot To: "Michael W. Lucas" Content-Type: text/plain; charset=UTF-8 Cc: questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2014 15:11:17 -0000 2014-08-20 18:05 GMT+03:00 Michael W. Lucas : > Hi, > > I have a default FreeBSD 10.0/amd64 install. > > I'm trying to make a GELI device attach at boot. I initialized the > partition with -b, and am prompted at boot. When I try to enter the > passphrase, I keep getting told that it's incorrect. Once I get into > multi-user mode and manually attach the device, it attaches just fine. > > It seems that GELI isn't finding my key file. > > My initial root partition is da0p2. The key is /boot/da1p1.key. The > GELI partition is da1p1. Here's my loader.conf: > > geom_eli_load=YES > geli_da1p1_keyfile0_load="YES" ->>> > geli_da1p1_keyfile0_type="da0p2:geli_da1p1_keyfile0" -<<< This is wrong. > geli_da1p1_keyfile0_name="/boot/da1p1.key" > kern.geom.eli.debug=3 > > Any suggestions? What am I doing wrong here? > > (Yes, I could just use the installer to do an encrypted install, but > then I wouldn't be able to write about this in a book...) > > Thanks, > ==ml > > -- > Michael W. Lucas - mwlucas@michaelwlucas.com, Twitter @mwlauthor > http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"