mounting root from NFS via ROOTDEVNAME

Julian Elischer julian at freebsd.org
Thu Jan 31 02:37:28 UTC 2013


On 1/30/13 1:32 AM, Eggert, Lars wrote:
> Hi,
>
> On Jan 29, 2013, at 20:22, Craig Rodrigues <rodrigc at crodrigues.org> wrote:
>
>> Alternatively, if you don't want to create an /etc/fstab file, then
>> you could put something like this in your loader.conf file:
>>
>> vfs.root.mountfrom=nfs:10.11.12.13:/usr/home/elars/dst
> Will try that too, but not sure if this works with our custom loader.

your custom loader should have some way to set kernel environment values.
it's a pretty basic requirement and, surprisingly, not that hard to do.




More information about the freebsd-current mailing list