From owner-freebsd-questions@FreeBSD.ORG Thu Oct 25 15:19:11 2007 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 CA6B316A41B for ; Thu, 25 Oct 2007 15:19:11 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 6BDF313C4C1 for ; Thu, 25 Oct 2007 15:19:10 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 8FE3245F99; Thu, 25 Oct 2007 17:19:00 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id ADB7F45F80 for ; Thu, 25 Oct 2007 17:18:56 +0200 (CEST) Date: Thu, 25 Oct 2007 17:18:38 +0200 From: Pawel Jakub Dawidek To: freebsd-questions@FreeBSD.ORG Message-ID: <20071025151838.GB4511@garage.freebsd.pl> References: <20071024173858.GA1119@garage.freebsd.pl> <200710251353.l9PDrY7d060982@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JP+T4n/bALQSJXh8" Content-Disposition: inline In-Reply-To: <200710251353.l9PDrY7d060982@lurza.secnetix.de> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Subject: Re: Booting a GELI encrypted hard disk 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: Thu, 25 Oct 2007 15:19:11 -0000 --JP+T4n/bALQSJXh8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 25, 2007 at 03:53:34PM +0200, Oliver Fromme wrote: > > The pen-drive is not needed for your system to run and you can be easly > > take it with you, which is not always the case for your laptop. >=20 > Are you saying that the USB pen-drive can be removed while > the system is running (after it has booted)? I remember > that it was impossible in the past to remove the root vnode > (which in this case would be the /boot file system from the > pen-drive). Did that change recently? Or is there a way > to change the system's root vnode from the pen-drive to the > root file system on the encrypted disk? If so, then how? The boot directory is different that root file system. /boot/ directory is only accessed by loader before root file system is mounted. The root file system can be mounted from encrypted disk, because loader loads the kernel (and eventually geom_eli.ko module) from the /boot/ directory. Most of the time /boot/ directory is on the root file system, but there is no need for that - you can boot from different /boot/ directory and have different /boot/ directory in your root file system. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --JP+T4n/bALQSJXh8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHILPNForvXbEpPzQRAhANAJ48nlzJwDm6bp977vccd/qh9EQgkgCfYDO2 CdrBC+fh7WNdlyBJIoSS6nQ= =r4FF -----END PGP SIGNATURE----- --JP+T4n/bALQSJXh8--