USB disk boot issues

TJ Varghese tj at tjvarghese.com
Thu Apr 15 04:16:52 UTC 2010


On Mon, Apr 5, 2010 at 4:24 PM, Boris Samorodov <bsam at ipt.ru> wrote:
> On Thu, 1 Apr 2010 07:38:53 -0500 Peter Steele wrote:
>
>> We clone systems from specially prepared USB flash sticks and this all works well, except that occasionally the flash stick fails to boot. It fails at the "mount root" step, saying that it cannot mount the specified root partition. We use a labeled partition on the disk to make it device independent, so we have something like
>
>> /dev/label/usbroot  /    ufs    rw     1      1
>
>> in our fstab. When it fails it doesn't recognize this device, and even ? doesn't list it as one of the available devices. If we reboot, it's likely the problem won't occur again. It seems to be some kind of timing issue. Is this a known problem?
>
> You can try to solve the problem by:
> -----
> # echo "kern.cam.boot_delay=10000" >> /boot/loader.conf
> -----

above did not work for me, however this did:

kern.cam.scsi_delay=10000


More information about the freebsd-questions mailing list