boot2 can't boot from USB?

Ivan Voras ivoras at fer.hr
Thu Mar 15 12:10:24 UTC 2007


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.



More information about the freebsd-fs mailing list