From owner-freebsd-questions@FreeBSD.ORG Wed Jun 6 17:00:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A772016A400 for ; Wed, 6 Jun 2007 17:00:46 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id 3FED513C44C for ; Wed, 6 Jun 2007 17:00:46 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id l56H0iBR072740; Wed, 6 Jun 2007 19:00:45 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 75F65B8FE; Wed, 6 Jun 2007 19:00:44 +0200 (CEST) Date: Wed, 6 Jun 2007 19:00:44 +0200 From: Roland Smith To: Eric F Crist Message-ID: <20070606170044.GA59161@slackbox.xs4all.nl> Mail-Followup-To: Eric F Crist , freebsd-questions@freebsd.org References: <905f1be0706060528p3217f614he29a7d4b33ac01dc@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <905f1be0706060528p3217f614he29a7d4b33ac01dc@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: GEOM/GELI Boot Disk Encryption 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: Wed, 06 Jun 2007 17:00:46 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 06, 2007 at 07:28:48AM -0500, Eric F Crist wrote: > Hey folks, >=20 > I'm trying to take a system that already has a running freebsd system (o= r I > can start over), and make the entire system encrypted. I've found > instructions (freebsd manual) for creating secondary disks, but not the = boot > disk in particular. >=20 > Can anyone point me in the right direction? The /boot directory must not be encrypted, so you need to put that on a separate slice. As for the rest, maybe the following thread will help you; http://lists.freebsd.org/pipermail/freebsd-geom/2006-July/001401.html The thing is that sysinstall doesn't support creating encrypted disks, so during install, you'd have to initialize and mount the encrypted slices manually, and then resume sysinstall. Personally, I wouldn't bother encrypting anything but your own data, i.e. /home. And for backup purposes it's better to make a seperate slice for that anyway. Disk encryption is only usefull when your disk is stolen; as long as the disk is mounted, the data is readable (if permissions allow) anyway. If your /home is already a separate slice, back up your data, unmount /home and encrypt it according to geli(8). Mount your encrypted drive and restore your backup. A good idea might be to create a virtual machine with e.g. qemu, and practice on that before you screw up anything important. :-) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGZug8EnfvsMMhpyURAp+wAJ9930HeXtcCnC1O4ef2KLdQ84Ot3ACfTuQp 7jigQMHVzYq3cadybTUPSxY= =8EdV -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--