Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 09:46:16 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        Tom Vijlbrief <tvijlbrief@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Root on USB stick
Message-ID:  <CABx9NuTJRNp5R=8cJCCxRW-D5GHJ6-TT4kV59rzKuydRP%2Bce4Q@mail.gmail.com>
In-Reply-To: <CAOQrpVdzUjV2mT=vTfw=JjTnVdeBrU2jFFpu9dC7h_7PA-xG6w@mail.gmail.com>
References:  <20160606063242.GA9594@metron.com> <CAOQrpVdzUjV2mT=vTfw=JjTnVdeBrU2jFFpu9dC7h_7PA-xG6w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 6, 2016 at 10:41 PM, Tom Vijlbrief <tvijlbrief@gmail.com> wrote:
> 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuTJRNp5R=8cJCCxRW-D5GHJ6-TT4kV59rzKuydRP%2Bce4Q>