Root on USB stick
Tom Vijlbrief
tvijlbrief at gmail.com
Tue Jun 7 05:41:50 UTC 2016
Op ma 6 jun. 2016 08:33 schreef Lou Katz <pi at metron.com>:
> Where does the FreeBSD boot loader for Pi2 know about or find out
> where the root partition is? I need to boot from an image in the
> micro slot that I cannot remove (because I broke the push-pull mechanism)
> but use a root parition on another card accessed through a USB port.
>
> There seems to have been a way to do this with FreeBSD 10, but I cannot
> find it in FreeBSD 11.
>
My
/boot/loader.conf
(on the sd-card root) has
vfs.root.mountfrom="ufs:/dev/ufs/bsd11"
to boot from an attached usb stick.
You could use eg /dev/da1s1a instead of a UFS label.
More information about the freebsd-arm
mailing list