Booting a USB hard drive
Ian Lepore
ian at freebsd.org
Wed Jun 10 23:53:32 UTC 2015
On Wed, 2015-06-10 at 16:12 -0700, bob prohaska wrote:
> Are there any descriptions floating around for booting an
> rpi2 from a usb hard disk? I thought it would be a simple
> matter of loading a crochet image on both microSD card and
> hard disk, then adjusting the boot config on the microSD card
> to point at the hard disk.
>
> In fact it does work, but only by stalling the boot process
> at the mountroot prompt long enough for the hard disk to
> be (re) discovered, whence issuing the ufs:da0s2a command
> results in a clean boot of the hard disk, with the microSD
> card left unmounted.
>
> Apologies if this is a premature request; there are many
> discriptions of how to boot Raspbian from USB, but I could
> not find any guidance on how to do it with FreeBSD. The
> small success thus far seems to have been a matter of luck.
>
> Thanks for reading, and any guidance.
>
> bob prohaska
>
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
Copy /boot/loader.rc.sample to /boot/loader.rc, then add
kern.cam.boot_delay="10000"
to /boot/loader.conf (you may have to create the file). That's a
10-second delay for the usb drive to be ready, adjust as necessary with
a delay in milliseconds.
-- Ian
More information about the freebsd-arm
mailing list