Date: Wed, 10 Jun 2015 17:53:23 -0600 From: Ian Lepore <ian@freebsd.org> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm@freebsd.org Subject: Re: Booting a USB hard drive Message-ID: <1433980403.1200.381.camel@freebsd.org> In-Reply-To: <20150610231238.GA29525@www.zefox.net> References: <20150610231238.GA29525@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1433980403.1200.381.camel>