Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2007 13:09:52 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-fs@freebsd.org
Cc:        freebsd-bugs@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: boot2 can't boot from USB?
Message-ID:  <etbd2h$50h$1@sea.gmane.org>
In-Reply-To: <45F91CF0.6010506@fluffles.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?etbd2h$50h$1>