From owner-freebsd-questions@FreeBSD.ORG Sun Mar 15 13:03:00 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 83AF1106566B for ; Sun, 15 Mar 2009 13:03:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 192EF8FC26 for ; Sun, 15 Mar 2009 13:02:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-109-64.dynamic.qsc.de [92.196.109.64]) by mx02.qsc.de (Postfix) with ESMTP id D1C2B16C00D3; Sun, 15 Mar 2009 12:39:19 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n2FBdDlE009084; Sun, 15 Mar 2009 12:39:13 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 15 Mar 2009 12:39:13 +0100 From: Polytropon To: bob@vesterman.com Message-Id: <20090315123913.3755063b.freebsd@edvax.de> In-Reply-To: <58449.68.196.8.50.1237089816.squirrel@68.196.8.50> References: <58449.68.196.8.50.1237089816.squirrel@68.196.8.50> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 13:03:01 -0000 On Sat, 14 Mar 2009 21:03:36 -0700 (PDT), bob@vesterman.com wrote: > 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 This indicates that your assumption is right, access to /usr is not possible. But what comes into my mind is that *if* /usr could not be mounted, the system is usually put into single user mode instead of continuing to boot. My suggestion: have you tried scolling up and looking for the first message that looks strange, maybe a message that says something about /usr? (Press the Scroll Lock key and use the arrow keys / page scrolling keys to access previous screen content.) > 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 your thumb drive (for booting) something generally different than you do when starting with the LFS CD? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...