Softwares setup
We will uses a virtual machine with Devuan on VirtualBox, download it and setup two interface cards:
- eth0: NAT
- eth1: BRIDGE to your ethernet card
Asumptions
- Your server is going to be named "laptop" with the IP "10.0.0.1".
- Your MVME167 board is going to be named "mvme167" with the IP "10.0.0.2"
- The MVME167 board will have the mac "08:00:3e:22:77:53"
- The latest OpenBSD with m68k support is 5.5
Boot the VM and start the setup:
Network
Add in /etc/network/interfaes
:
auto eth1
iface eth1 inet static
address 10.0.0.1
netmask 255.255.255.0
RARPD
apt install rarpd
Create the file /etc/ethers
with:
08:00:3e:22:77:53 mvme167
Add in /etc/hosts
:
10.0.0.1 laptop
10.0.0.2 mvme167
Add in /etc/hosts.allow
:
ALL: 10.0.0.0/24
Add the following in bottom of /etc/default/rarpd
:
OPTS="-o -e -v eth1"
Restart service:
/etc/init.d/rarpd restart
RPCBIND
apt install rpcbind
Create /etc/defaults/rpcbind
and add:
OPTION="-w -i -r"
Then restart rpbind:
/etc/init.d/rpcbind restart
BOOTPARAMS
wget http://ftp.de.debian.org/debian/pool/main/n/netkit-bootparamd/bootparamd_0.17-10_amd64.deb
# or newer if any
dpkg -i bootparamd*.deb
Edit /etc/init.d/bootparamd
and add -r 10.0.0.1
on end of lines 30 and 42, the ones with start-stop-daemon --start
.
Create /etc/bootparams
with:
mvme167 root=10.0.0.1:/srv/nfs/root
Restart service:
/etc/init.d/bootparamd restart
NFS (v2)
apt install nfs-kernel-server
mkdir -p /srv/nfs/root
Edit /etc/default/nfs-kernel-server
and change:
RPCNFSDCOUNT=...
# by
RPCNFSDCOUNT="8 --nfs-version 2,3,4"
Create /etc/exports
:
/srv/nfs/root 10.0.0.2(rw,sync,subtree_check,no_root_squash)
Restart service:
/etc/init.d/nfs-kernel-server restart
TFTPD
apt install tftpd-hpa
OpenBSD Root FS and TFTP
cd /srv/tftp
wget https://ftp.nluug.nl/OpenBSD/5.5/mvme68k/netboot -O netboot.mvme68k
cd /srv/nfs/
wget https://ftp.nluug.nl/OpenBSD/5.5/mvme68k/{base55,comp55,etc55,man55}.tgz
cd root
tar xzvf ../base55.tgz
tar xzvf ../etc55.tgz
tar xzvf ../comp55.tgz
tar xzvf ../man55.tgz
wget https://ftp.nluug.nl/OpenBSD/5.5/mvme68k/{bsd,bsd.rd}
MVME167 configuration
NIOT
Change the following values:
Client IP Address =10.0.0.2?
Server IP Address =10.0.0.1?
Subnet IP Address Mask =255.255.255.0?
Broadcast IP Address =255.255.255.255?
Gateway IP Address =0.0.0.0?
Boot File Name ("NULL" for None) =netboot.mvme68k?
Argument File Name ("NULL" for None) =bsd.rd?
Boot File Load Address =006F0000?
Boot File Execution Address =006F0000?
Save it to NVRAM if you have configured your ENV for it.
Then execute a NBO
NetworkBOt and OpenBSD should boot to the installer.
Comments
No comments yet. Be the first to react!