From owner-freebsd-questions@freebsd.org Sat Sep 19 20:04:31 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66A69A05656 for ; Sat, 19 Sep 2015 20:04:31 +0000 (UTC) (envelope-from tobyslight@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F1DDE1ED2 for ; Sat, 19 Sep 2015 20:04:30 +0000 (UTC) (envelope-from tobyslight@gmail.com) Received: by wiclk2 with SMTP id lk2so100908719wic.0 for ; Sat, 19 Sep 2015 13:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=WBqxbL+iLdWzOuYGP7tm2/9V7Yefn3BDN+JSVVc/89E=; b=FWsRxog8ib+tz9oxNLT1oyEE7LANhJ4Feh5DmwJRYRkTKDYBR4NX4HuhyRiJHtJRCR DyU7aQUqWd4QS6XgZzVzud/iFIu4GWz+OseRwmhOB05gR7dGsp9d34YqhP2tjUp1Qd8e 8Bh6QLP0GZbqXXzYxs8foH7I3K8+Ntb/Y+bkMNxpYTwF/4v0vYhIFMnRF7YEMFHdRfV3 HUGw1BdJlNLOmKa4CqxPnfpKzs+UOSaJqwJ0f9iO5EYYJDTCSwcxxPHqka/0YnhKsp1u eLtXmIN2e6CmCTbCeauKM6tYEB6ZDk86Th/t5uwOvCvKj+36A4oYEL+s/jfFYkwxAYuF jJkw== X-Received: by 10.194.84.238 with SMTP id c14mr13764696wjz.33.1442693068315; Sat, 19 Sep 2015 13:04:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.179.33 with HTTP; Sat, 19 Sep 2015 13:03:48 -0700 (PDT) From: Toby Slight Date: Sat, 19 Sep 2015 21:03:48 +0100 Message-ID: Subject: 10.2 Encrypted UFS install always fails To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2015 20:04:31 -0000 Hi there, I have tried 3 times on 2 separate devices (ThinkPad T430 and Gigabyte Brix GB-BXBT-2807), to do an encrypted UFS install of 10.2, following the instructions found here: http://www.bsdnow.tv/tutorials/fde Every time I end up at the screen pictured below, after a panic: http://i.imgur.com/p61geNS.jpg Is there something missing from that guide? Some change in 10.2 that it doesn't account for? Or does anyone have any other ideas where I might be going wrong? To paraphrase my disk setup procedure: gpart create -s gpt ada0 gpart add -t freebsd-boot -s 512k -a 4k ada0 gpart add -t freebsd-ufs -l bootfs -s 1g -a 1m ada0 gpart add -t freebsd-ufs -l encrypted -a 1m ada0 gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 geli init -b -s 4096 ada0p3 geli attach ada0p3 newfs -U /dev/ada0p2 newfs -U /dev/ada0p3.eli mount /dev/ada0p3.eli /mnt mkdir /mnt/unenc mount /dev/ada0p2 /mnt/unenc mkdir /mnt/unenc/boot ln -s unenc/boot /mnt/boot vi /tmp/bsdinstall_etc/fstab vi /tmp/bsdinstall_boot/loader.conf fstab: /dev/ada0p2 /unenc ufs rw,noatime 1 1 /dev/ada0p3.eli / ufs rw,noatime 2 2 loader.conf: geom_eli_load="YES" vfs.root.mountfrom="ufs:ada0p3.eli" aesni_load="YES Any ideas? -- 0x2b || !0x2b