From owner-freebsd-questions@FreeBSD.ORG Thu Jun 7 11:15:16 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 33D9B16A421 for ; Thu, 7 Jun 2007 11:15:16 +0000 (UTC) (envelope-from fredbsdavidson@yahoo.com) Received: from n10a.bullet.mail.re3.yahoo.com (n10a.bullet.mail.re3.yahoo.com [68.142.236.51]) by mx1.freebsd.org (Postfix) with SMTP id EAA2413C455 for ; Thu, 7 Jun 2007 11:15:15 +0000 (UTC) (envelope-from fredbsdavidson@yahoo.com) Received: from [68.142.237.87] by n10.bullet.re3.yahoo.com with NNFMP; 07 Jun 2007 11:15:15 -0000 Received: from [66.196.101.131] by t3.bullet.re3.yahoo.com with NNFMP; 07 Jun 2007 11:15:15 -0000 Received: from [127.0.0.1] by rrr2.mail.re1.yahoo.com with NNFMP; 07 Jun 2007 11:15:15 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 413577.19125.bm@rrr2.mail.re1.yahoo.com Received: (qmail 43782 invoked by uid 60001); 7 Jun 2007 11:15:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=arAaoVv8eV0KXhCmRZ7vxyY2TV5/f+2xOGh35zUxnNUKXa017I+MwEbRtriEwf0rW8crJ2NUL5KGjMRhvYeLON0tqtHtPh64L52ZWkBuMwQ1ijWlGy/mOfDP3+5oB1+B610rYD49C7w4yhMysvvA3p9DoNcvVn+lbiCP2583q0I=; X-YMail-OSG: xC8A80gVM1l0UP4nbMYsWEe2epPJmLZr.maveCLPmHfOeiabTxQYFRuCdlMFeLQ2jUwwgg1Ixmc7ZC8.pP7sbEDpXLtLbCvgzcwvroY8wYdaFiv.Qngiv.cwe2Hp77_. Received: from [85.31.187.110] by web57402.mail.re1.yahoo.com via HTTP; Thu, 07 Jun 2007 04:15:15 PDT Date: Thu, 7 Jun 2007 04:15:15 -0700 (PDT) From: Fred Davidson To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <276976.43418.qm@web57402.mail.re1.yahoo.com> Subject: Booting GELI from CD... 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, 07 Jun 2007 11:15:16 -0000 I think I am close to getting GELI to boot from CD. Here's what I've done. #Followed instructions per these threads [1]. This #included creating a file backed memory disk to allow #GELI to mount the root filesystem with a keyfile on the #CD. #You'll see from my previous post, and that of others, #that many were having trouble booting from USB sticks #even from modern BIOSes[2]. No one has been able to #identify the problem to date. In the meantime booting #from CD is supposed to be a far more reliable. #I followed the instructions for mkisofs from [1]b, and #burned to cd-r like this: burncd -f /dev/acd0 data grubboot.iso /iso #This works great! until the dreaded loader takes over. #you'll recall loader hanging and not being able to #read the kernel from the USB pendrive was a previous #issue. Here is the current output from loader while #booting the CD: BTXloader 1.00 BTX version is 1.01 Consoles: internal video/keyboard BIOS drive C: is disk0 BIOS 631kB/980480kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (example@example.edu, Sun May 9 02:19:03 UTC 2006) Can't work out which disk we are booting from. Guessed BIOS device 0x9f not found by probes, defaulting to disk0: can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK # if I 'lsdev' I get the following output. cd devices: disk devices: disk0: BIOS drive C: disk0s1a:FFS disk0s1b:swap disk0s1d:FFS disk0s1e:FFS disk0s1f:FFS disk0s2: FFS bad disklabel #disk 0 is an unencrypted FBSD6.1 install. Disk0s2 is #the GELI install. I assume there is a problem reading #the cd device because there is no output? This was #the same problem when booting from usb; whichever disk #was the usb would have no output in the same way. #I want to mention that if I boot from the FBSD install #disk and and escape to the loader prompt and lsdev, I #get: cd devices: Device 0x1 #Also while booting the BTX screen says: BIOS CD is cd0 #You might comment on why I'm using grub instead of #cdboot? the main reason is I want to take advantage of #menu.lst to choose between OSes when booting from the #CD. I'll also try all of this with /boot/cdboot to #see if I can just get it to work. In the mean time, #ideas? -Fred [1]a. events.ccc.de/congress/2005/fahrplan/attachments/586-paper_Complete_Hard_Disk_Encryption.pdf b. http://www.bsdforums.org/forums/showthread.php?t=43796 c. http://www.proportion.ch/index.php?page=31 [2] a. http://docs.FreeBSD.org/cgi/mid.cgi?208229.54978.qm b. http://docs.FreeBSD.org/cgi/mid.cgi?45F91CF0.6010506 ____________________________________________________________________________________ Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz