Root on USB stick

Russell Haley russ.haley at gmail.com
Wed Jun 8 16:46:18 UTC 2016


On Mon, Jun 6, 2016 at 10:41 PM, Tom Vijlbrief <tvijlbrief at gmail.com> wrote:
> 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.

Hi,

I was looking for something like that in man pages but it's not
documented anywhere that is easily found. Even searching the loader(8)
and loader.conf page doesn't seem to show anything?

Russ


More information about the freebsd-arm mailing list