From owner-freebsd-fs@FreeBSD.ORG Thu Mar 15 12:10:24 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2694B16A417 for ; Thu, 15 Mar 2007 12:10:24 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id CD74413C44C for ; Thu, 15 Mar 2007 12:10:23 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HRomU-0004cP-82 for freebsd-fs@freebsd.org; Thu, 15 Mar 2007 13:10:06 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Mar 2007 13:10:06 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Mar 2007 13:10:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Thu, 15 Mar 2007 13:09:52 +0100 Lines: 26 Message-ID: References: <20070120073117.GB60202@x12.dk> <200703061246.09687.antik@bsd.ee> <45ED5850.6050506@nipsi.de> <200703061420.36980.antik@bsd.ee> <20070307135017.GC2864@garage.freebsd.pl> <45F2EEBD.6070007@barryp.org> <86ps7evniu.fsf@dwp.des.no> <45F91CF0.6010506@fluffles.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <45F91CF0.6010506@fluffles.net> Sender: news Cc: freebsd-bugs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: boot2 can't boot from USB? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 12:10:24 -0000 Fluffles wrote: > If so, i may have found some bugs / problems with boot2. Long ago i > tried to make a bootable USB pendrive with FreeBSD 6.1 on it. It failed > to boot with the message "invalid slice" and i got a prompt like: > > FreeBSD/i386 BOOT > Default: 0:ad(0,a)/boot/loader > boot: > It appears to me the boot2 program fails to read from USB. boot0 and > boot1 appear not to have this problem since it uses the BIOS to read > from the disk. Is this correct? > Are USB boot problems by boot2 known, should i file a PR? As people said, early boot stages can read from anything that has BIOS support. If you have SCSI cards you might see messages like "Installing BIOS firmware as drive 0x80" - this is the part that allows you to boot from such devices. Some BIOSes have built-in support for USB media, some don't. Those that do might emulate the media as a "SCSI-ish" drive or as a floppy, and might or might not make an error in the drives "geometry". OTOH, it might be boot2's fault. Maybe you could try sysutils/extipl boot loader.