On the server:
pkg_add wget
mkdir -p /srv/nfs/root
wget https://mirror.yandex.ru/openbsd/6.4/arm64/base64.tgz
tar -xvzf base64.tgz -C /srv/nfs/root
tar -xvzf /srv/nfs/root/var/sysmerge/etc.tgz -C /srv/nfs/root
chmod 777 /srv/nfs/root/tmp
cd /srv/nfs/root/dev/
./MAKEDEV all
mkdir /srv/nfs/root/swap
dd if=/dev/zero of=/srv/nfs/swap bs=1M count=128
This directory:
-
Rename
server_root/tftpboot/ID
to your Raspberry ID
-
check EVERY file at
server_root/etc
except
server_root/etc/rc.conf.local;
to replace IP, MAC and hostnames to yours.
-
Replace server IP in
server_root/srv/nfs/root/etc/fstab
Default parameters:
Server IP: 192.168.1.179
Client IP: 192.168.1.112
- Copy all files to server's root.
Default credentials:
Username: root
Password: <empty>