Re: mounting root from NFS via ROOTDEVNAME

From: Daniel Braniss <danny_at_cs.huji.ac.il>
Date: Thu, 31 Jan 2013 16:54:02 +0200
> 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

a shot in the dark, but is /usr/home/elars/dst properly exported?

danny
Received on Thu Jan 31 2013 - 13:54:17 UTC

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