From owner-freebsd-stable@FreeBSD.ORG Thu Oct 25 15:19:28 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57B7816A41B for ; Thu, 25 Oct 2007 15:19:28 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [208.70.104.210]) by mx1.freebsd.org (Postfix) with ESMTP id 0D27B13C48A for ; Thu, 25 Oct 2007 15:19:27 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 18203 invoked by uid 1002); 25 Oct 2007 14:52:30 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(208.70.104.100):. Processed in 6.632714 secs); 25 Oct 2007 14:52:30 -0000 Received: from unknown (HELO ?192.168.30.110?) (steve@ibctech.ca@208.70.104.100) by pearl.ibctech.ca with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Oct 2007 14:52:23 -0000 Message-ID: <4720ADAA.7010804@ibctech.ca> Date: Thu, 25 Oct 2007 10:52:26 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Booting from GELI breaks after upgrade X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 15:19:28 -0000 Please forgive the long post. I'll be as brief and informative as I possibly can. Background: - 6.2 booting from USB stick (da0) with appropriate key entries in (thumb drive) /boot/loader.conf to load ad0 with the key. GEOM_ELI and crypto are compiled into kernel - / is mounted as /dev/ad0.elia and the system takes over from there (also mounting ad0.elib, d, e and f) - this worked perfectly Upgrade: - cvsup to 7.0 yesterday afternoon - buildworld, buildkernel and installkernel all went smoothly (crypto and GEOM_ELI build into the new kernel) - copied over the new kernel directory to /boot on the thumbdrive Problem: - box still boots from thumb drive, with the 7.0 kernel no problem - when trying to mount root from /dev/ad0.elia, get a mountroot prompt - ? shows only the ad0 and ad0x entries as possible mount points - the ad0.elix partitions do not show up as options now I can not identify why the .eli parts of the disk are not showing up. I can't even tell if the system is actually attaching the GELI disk. How can I tell if GEOM is doing the right thing here? Are the ad0x entries seen when I am in mountroot> the actually encrypted, attached partitions? Since the entire disk is encrypted, I wouldn't think those types of entries would be seen by the unencrypted boot thumb disk. I can boot from another unencrypted hard disk and mount the .elix partitions under it manually so if there is any more information I can provide to get any assistance, I will. It took me near two weeks to get this setup working how I wanted, and I KNEW I shouldn't of upgraded this one first, but it's the only way to learn the migration method of a GELI encrypted setup. TIA if anyone can provide any insight. Steve