Dear all,
I'm trying to set up a diskless client. I previously was successful with
the installation on an i386 Alix 2D13 board, but I'm unable to get a
proper amd64 install on the APU 2C4 board working.
I'm following the official diskless man page documentation, and in
addition, a talk held at BSD Con 2019 with the slides being available at
(https://klemkow.org/bsdcan_2019/obsdnetboot.pdf)
Both documentation and presentation state that a /usr partition can be
shared across server and diskless clients, as long as they are of the
same architecture. The /usr partition will be mounted as read only by
the client. This should be done by editing /etc/exports as following:
/usr -ro -network=10.10.10.0 -mask=255.255.255.0
The corresponding /etc/fstab on the clients looks the following:
10.10.10.1:/var/export/router / nfs rw
10.10.10.1:/var/export/router/var /var nfs rw,nosuid,nodev
10.10.10.1:/var/export/router/home /home nfs rw
10.10.10.1:/usr /usr nfs ro
During the boot process, I am facing the issue that /usr is not
available to the client as indicated by the serial/dmesg output I am
looking at:
/etc/netstart: sed: not found
The boot process is stopping at this stage. I'm guessing it's a
permission issue, based upon the read/write permissions to the /usr
directory on the server, but I might be mistaken.
Does anyone run a diskless setup and knows how to tackle this issue, or
have his five cents on this? Thanks in advance!