From owner-freebsd-questions@FreeBSD.ORG Wed Jun 6 16:20:11 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 CCA3F16A41F for ; Wed, 6 Jun 2007 16:20:11 +0000 (UTC) (envelope-from fredbsdavidson@yahoo.com) Received: from n2.bullet.mail.re4.yahoo.com (n2.bullet.mail.re4.yahoo.com [206.190.56.21]) by mx1.freebsd.org (Postfix) with SMTP id 64A8713C483 for ; Wed, 6 Jun 2007 16:20:11 +0000 (UTC) (envelope-from fredbsdavidson@yahoo.com) Received: from [68.142.237.87] by n2.bullet.re4.yahoo.com with NNFMP; 06 Jun 2007 16:07:08 -0000 Received: from [66.196.101.132] by t3.bullet.re3.yahoo.com with NNFMP; 06 Jun 2007 16:07:08 -0000 Received: from [127.0.0.1] by rrr3.mail.re1.yahoo.com with NNFMP; 06 Jun 2007 16:07:08 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 480772.27797.bm@rrr3.mail.re1.yahoo.com Received: (qmail 5791 invoked by uid 60001); 6 Jun 2007 16:00:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=DqJ2BIezeqglgG9/2yYHuMyLBRohribmhaC8JqYvDCbpfYu887ed7qTt1r7iA7almHwF+f5LjM2NKojzKjrH1f8Pn3x8Ep91X2ES2GsR5yHFSE0bGv1Nx4/CVOhc+xfaOb8GDbMGeHVpZc9r56NLX9MVoO1tKfV8OxEaOh2Jon8=; X-YMail-OSG: c2Rkau4VM1mWF0FPFL6J.XM5xYUWMod8r_6P6LxZexYTdv6ICpFNkhnp8Q704VpXsRUWl7_bqtx2iKitgxnuIqVkSi63I4UXpteCr_n2lEiwYg344HUzJw-- Received: from [85.214.91.152] by web57410.mail.re1.yahoo.com via HTTP; Wed, 06 Jun 2007 09:00:21 PDT Date: Wed, 6 Jun 2007 09:00:21 -0700 (PDT) From: Fred Davidson To: freebsd-questions@freebsd.org In-Reply-To: <20070605171231.GC74099@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <101363.4856.qm@web57410.mail.re1.yahoo.com> Subject: Re: Loader can't read USB drive @ boot 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 16:20:11 -0000 --- Jerry McAllister wrote: > On Tue, Jun 05, 2007 at 09:16:35AM -0700, Fred > Davidson wrote: > > > Well I was having this problem with GRUB which > someone > > helped me with. Now Grub will boot my USB key and > > load loader. The problem? loader hangs, and > > eventually says it can't find the kernel. when I > > lsdev it always gives the right description of my > hard > > disk partitions on the hard drive, but prints > nothing > > for the USB disk. So... > > When the FreeBSD loader can't find the kernel, it > often means > that it is looking in the wrong place. Is your Grub > MBR pointing > it to the right place? What is actually on that > stick? > Is there a DDsNa partition for it to boot from? > DD being device > and N being a slice number, 1..4. > > ////jerry Thanks for the reply Jerry, sorry my last post wasn't very descriptive, but my prior post was overly descriptive and didn't get much of a response, however it did describe the issue well: http://www.freebsd.org/cgi/getmsg.cgi?fetch=2379736+2387238+/usr/local/www/db/text/2007/freebsd-questions/20070603.freebsd-questions Andrey pointed out in a later post that I was making the mistake of creating UFS2 filesystems in slices and not partitions (e.g. s1 vs. s1a). Once I corrected that I had no problem using grub 0.97 to boot into my ufs2 partitions. So I reboot... Grub boots right into the partition on the USB stick (say da0s1a). After choosing the menu selection the system appears to load loader, and then hangs. I posted a very detailed description of this, but got your response before the posting occurred. I still can't find the posting online, but it's message 22 in: freebsd-questions Digest, Vol 181, Issue 6 Basically loader seems to begin, and ends right before the line that reads: loading /boot/defaults/loader Then it hangs, and if I wait a while I'll get can't load kernel. if I lsdev I won't get any indication that there is a filesystem present where the USB device is. This is true whether I boot from the USB device or the hard disk. Basically I'm just trying to get GELI to work from some kind of removable medium. Right now I'm kind of blaming this on a cheap (but new) laptop with a BIOS that doesn't let me choose CHS or LBA, or make any such selections. I thought I would try and see if changing what the BIOS thinks in fdisk would do anything, but I have no idea how to find the chs info for my USB stick (no included with stick, and manufacturer gives no info). Does anyone have an inkling what's going on here? Also I just wanted to mention that when booting the freebsd cd if I escape to the loader prompt and lsdev I get cd0: Device 0x1 I would guess this would mean that freebsd would be able to load the kernel off of the cd device? If anyone believes this could be viable I'll happily start another thread to try this, thankyou. -Fred ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/