mounting root from NFS via ROOTDEVNAME
Eggert, Lars
lars at netapp.com
Thu Jan 31 12:09:42 UTC 2013
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
More information about the freebsd-current
mailing list