mounting root from NFS via ROOTDEVNAME

Andreas Nilsson andrnils at gmail.com
Thu Jan 31 11:45:32 UTC 2013


Done. I also ripped out all the BOOTP* options from the kernel.
>
> However, this still fails:
>
> 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.
>
> Loader variables:
>   vfs.root.mountfrom=nfs:10.11.12.13:/usr/home/elars/dst
>
> Manual root filesystem specification:
>   <fstype>:<device> [options]
>       Mount <device> using filesystem <fstype>
>       and with the specified (optional) option list.
>
>     eg. ufs:/dev/da0s1a
>         zfs:tank
>         cd9660:/dev/acd0 ro
>           (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /)
>
>   ?               List valid disk boot devices
>   .               Yield 1 second (for background tasks)
>   <empty line>    Abort manual input
>
> mountroot>
>
> I did a tcpdump and no traffic shows up on the correct interface (em4). I
> guess I need to set yet another loader environment variable to indicate
> which interface I'd like to use. Looking at the source, I only see
> boot.netif.name, but setting that to em4 doesn't help either.
>
> Any further ideas?
>
> Thanks,
> Lars
>

Just a shot in the dark, did you actually tell it to do the root mount ro,
or try with the nfs share as rw?

Best regards
Andreas


More information about the freebsd-current mailing list