From owner-freebsd-questions@FreeBSD.ORG Fri Sep 22 16:45:37 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C307816A403 for ; Fri, 22 Sep 2006 16:45:37 +0000 (UTC) (envelope-from phatfish@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BD9C43D58 for ; Fri, 22 Sep 2006 16:45:37 +0000 (GMT) (envelope-from phatfish@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so552455wri for ; Fri, 22 Sep 2006 09:45:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=GugkhfwSfmCAvsfVsvg97rpJYnbuhcfmvvqX1lDrY2PSfTKHjQwO6cAvgV7ATPm55rNiiVjfNrmygZzyMda79DNxSO9Cm8CcbFbdwQskqFF+FEEXY7pwYaNBJkkiS0/UXKCkXVqj/wqJ9/2rWiB3hU413Z5eT93ixamMz24XSYc= Received: by 10.90.120.6 with SMTP id s6mr544693agc; Fri, 22 Sep 2006 09:45:36 -0700 (PDT) Received: by 10.90.84.14 with HTTP; Fri, 22 Sep 2006 09:45:36 -0700 (PDT) Message-ID: <718eeb340609220945q7c626bdet439840d9e44e10a6@mail.gmail.com> Date: Fri, 22 Sep 2006 17:45:36 +0100 From: Chris To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Creating a bootable CD with CD Loader 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: Fri, 22 Sep 2006 16:45:37 -0000 Hi, I'm looking to create my own custom boot CD that will be used to bootstrap fully encrypted system using GEOM ELI. All the CD needs to do is load a kernel to initialize the encrypted root partition on the HDD, and read a key file to decrypt it. Ive looked at some tutorials for creating your own boot CD's but often they seem overly complicated or old. It seems to me the easiest way to do this is either: To use one of the FreeBSD floppy images and get it to boot from CD correctly. Or to use the CD Loader that the the distributed FreeBSD CD's use. I ripped the CD Loader image out of one of the FreeBSD 6.1 CD's, and it seems to work as wanted. It loads the kernel from the system I'm running at the moment, I just put my current /boot directory on the CD (although it doesn't fully boot, i guess it just needs some config changes). But I'm a little wary of using something that i don't really understand. Rather than just ripping the CD Loader out of an already made ISO i would be interested in knowing how it is created. So i could create a bootable CD without needing to borrow parts from a distributed one, and get a better idea of how it works. Any help appreciated.