FreeBSD 8.2 installed on a USB flash drive doesn't boot every time

fffblackmage

Platinum Member
Dec 28, 2007
2,548
0
76
Hopefully, FreeBSD is close enough to *nix.

So I installed FreeBSD 8.2 AMD64 onto an 8GB USB flash drive. I pretty much followed sub.mesa's guide.

After installing and rebooting the computer, it tells me this during the boot process:

Code:
Root mount waiting for: usbus5 usbus2
Root mount waiting for: usbus5 usbus2
uhub2: 6 ports with 6 removable, self powered
uhub5: 6 ports with 6 removable, self powered
ugen5.2: <vendor 0x13fe> at usbus5
umass0: <vendor 0x13fe Patriot Memory, class 0/0, rev 2.00/1.00, addr2> on usbus5
umass0: SCSI over Bulk-Only; quirks = 0x0000
Root mount waiting for: usbus5
umass0:6:0:-1: Attached to scbus6
Trying to mount from ufs:/dev/da0s1a
ROOT MOUNT ERROR:
[...]
mountroot> da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
da0: < Patriot Memory PMAP > Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 7640MB (15646720 512 byte sectors: 255H 63S/T 973C)

After the boot process halts at that point, I can enter "ufs:/dev/da0s1a" and the computer would continue to boot normally. It seems I need to do this every time I boot the computer.

I just occurred to me that the USB device might not be initialized properly until after the computer tries mounting root. Any way I can get this to work every time without having to manually mount root?

I would appreciate any help or advice. Thanks!
 
Last edited: