From owner-freebsd-geom@FreeBSD.ORG Sat Jul 22 09:23:23 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCC9216A4DD for ; Sat, 22 Jul 2006 09:23:23 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from auriate.fluffles.net (a83-68-3-169.adsl.cistron.nl [83.68.3.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 672F243D49 for ; Sat, 22 Jul 2006 09:23:23 +0000 (GMT) (envelope-from etc@fluffles.net) Received: from destiny ([10.0.0.21]) by auriate.fluffles.net with esmtpa (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G4Dhi-0009Nk-5a; Sat, 22 Jul 2006 11:23:22 +0200 Message-ID: <44C1EF02.70707@fluffles.net> Date: Sat, 22 Jul 2006 11:25:22 +0200 From: Fluffles User-Agent: Thunderbird 1.5.0.4 (X11/20060703) MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <20060722073557.79047.qmail@web30314.mail.mud.yahoo.com> In-Reply-To: <20060722073557.79047.qmail@web30314.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "R. B. Riddick" Subject: Re: GELI on root partition -- problems X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 09:23:23 -0000 R. B. Riddick wrote: > --- Fluffles wrote: > >> guess). It seems many things in FreeBSD assume the "a" partition to be / >> (root), and that it holds the kernel. So really, *how* do i setup this >> GELI-on-root feature? >> >> > Hi! > > I have no experience with geli, but I like to install without sysinstall... > Hm i'd like to do that -- just a minimal install with "base" and "kernel" is fine. But how? I searched google and handbook but cannot find instructions to install manually. Right now i installed FreeBSD on a USB pendrive. Very convenient because now i can just access the harddrive and use GELI on it. The Freesbie livecd is based on FreeBSD-5.3 which does not support GELI. Now that i have FreeBSD 6.1 on my pendrive, here's what i want to do: 1) configure my harddrive disks (fdisk + disklabel) 2) create GELI partition (init the disk with -b option so it asks for passphrase during boot; so the encrypted root partition can be mounted) 3) manually install FreeBSD onto the /boot and encrypted / (root) partition 4) configure /boot/loader.conf and other required stuff 5) let the system boot from HDD and see if it works Regarding step 2: I can extract the archives of base and kernels, they are on the install cd and "base" even has an install.sh script. But i guess installing is more than copying files: i should make the slice (ad0s3) bootable; so that my BIOS or boot loader like GAG can boot from it. How is that done? > I hope I dont cause any damage with my "advice" and that u have sufficient > backup... > My harddrive does not have valuable data on it; so i can't fsck up anything. :) Thanks for your help! - Veronica