Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jun 2016 05:41:38 +0000
From:      Tom Vijlbrief <tvijlbrief@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   Re: Root on USB stick
Message-ID:  <CAOQrpVdzUjV2mT=vTfw=JjTnVdeBrU2jFFpu9dC7h_7PA-xG6w@mail.gmail.com>
In-Reply-To: <20160606063242.GA9594@metron.com>

index | next in thread | previous in thread | raw e-mail

Op ma 6 jun. 2016 08:33 schreef Lou Katz <pi@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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOQrpVdzUjV2mT=vTfw=JjTnVdeBrU2jFFpu9dC7h_7PA-xG6w>