From owner-freebsd-questions@FreeBSD.ORG Sun Mar 15 04:24:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED0271065675 for ; Sun, 15 Mar 2009 04:24:18 +0000 (UTC) (envelope-from bob@vesterman.com) Received: from webmail.cedant.com (webmail.cedant.com [216.55.191.201]) by mx1.freebsd.org (Postfix) with ESMTP id B66BB8FC15 for ; Sun, 15 Mar 2009 04:24:18 +0000 (UTC) (envelope-from bob@vesterman.com) Received: from webmail.vesterman.com (localhost.abac.com [127.0.0.1]) by webmail.cedant.com (8.13.3/8.13.3) with ESMTP id n2F43aZX015056 for ; Sat, 14 Mar 2009 21:03:36 -0700 (PDT) (envelope-from bob@vesterman.com) Received: from ool-44c40832.dyn.optonline.net ([68.196.8.50]) (SquirrelMail authenticated user bob@vesterman.com); by webmail.vesterman.com with HTTP; Sat, 14 Mar 2009 21:03:36 -0700 (PDT) Message-ID: <58449.68.196.8.50.1237089816.squirrel@68.196.8.50> Date: Sat, 14 Mar 2009 21:03:36 -0700 (PDT) From: bob@vesterman.com To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Score: 0.648 (NO_REAL_NAME,SPF_HELO_PASS,SPF_PASS) Subject: GELI full disk, booting from thumb drive - can't get to /usr? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 04:24:19 -0000 I've been trying to set up a system (7.0 Release) with full-disk encryption, using GELI, and booting from a thumb drive. When booting, it gets as far as asking me for the passphrases of the various encrypted disks; when I give them, GELI indicates that it successfully attached to each, but after I've entered the last of them, the system puts out a bunch of messages (most of which quickly scroll off my screen) looking like it's trying to continue booting, but having problems. Those that are left when it finally stops scrolling seem to indicate that it can't get to /usr. Here is what remains on my screen when it stops scrolling: eval: /usr/sbin/sendmail: not found /etc/rc: WARNING: run_rc_command: cannot run /usr/sbin/cron Local package initialization: dirname: not found Starting background file system checks in 60 seconds. logger: not found After that is a blank line, then a line with the date and time, and then a bunch of lines like the following: Mar 14 22:39:06 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv4: No such file or directory The only difference between the "getty" lines is the ttyv* they show. Thereafter, once every thirty seconds, another eight copies of the "getty" line show. This happens indefinitely thereafter (I let it go for an hour or so). If I start up Fixit from a LiveFS CD, geli attach and mount what should be /usr as something like "/myusr", I can see that all of the things I expect to be there really are there (including, for example, libexec/getty). Does anyone have any idea why this would be happening, or any idea on how to troubleshoot it? The fact that I can't get to getty makes it... difficult. Here is my fstab, which is the same in /boot/etc of my thumb drive and /boot/etc of the thing on the hard drive that should get mounted as root (again, I can confirm this by mounting it as /myslash via a LiveFS CD): /dev/ad10.elia / ufs rw 1 1 /dev/ad10.elib none swap sw 0 0 /dev/ad10.elid /var ufs rw 2 2 /dev/ad10.elie /tmp ufs rw 2 2 /dev/ad10.elif /usr ufs rw 2 2 /dev/ad11.elib none swap sw 0 0 /dev/ad11.elif /disk2 ufs rw 2 0 /dev/ad13.elib none swap sw 0 0 /dev/ad13.elif /disk3 ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 Thanks in advance for any help.