Re: mounting root from NFS via ROOTDEVNAME

From: Eggert, Lars <lars_at_netapp.com>
Date: Thu, 31 Jan 2013 12:09:40 +0000
On Jan 31, 2013, at 12:53, Andre Oppermann <andre_at_freebsd.org>
 wrote:
> The interface doesn't have a name during loader stage.  The kernel
> finds the interface to use based on the MAC address.  You should
> set boot.netif.hwaddr as well in the kernel environment.

Done, no change. Here is what's in my loader environment:

boot.netif.netmask   255.255.255.0
boot.netif.gateway   10.11.12.13
boot.nfsroot.server  10.11.12.13
boot.nfsroot.path    /usr/home/elars/dst
boot.netif.ip        10.11.12.15
boot.netif.name      em4
boot.netif.hwaddr    xx:xx:xx:xx:xx:xx
vfs.root.mountfrom   nfs:10.11.12.13:/usr/home/elars/dst

And here is what I see during boot:

Trying to mount root from nfs:10.11.12.13:/usr/home/elars/dst []...
mountroot: waiting for device 10.11.12.13:/usr/home/elars/dst ...
Mounting from nfs:10.11.12.13:/usr/home/elars/dst failed with error 19.

Lars
Received on Thu Jan 31 2013 - 11:09:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC