# tar --version
tar (GNU tar) 1.12
If not, you need to get GNU tar, as it provides the option to preserve uid and gid properly. If you proceed in untarring the distribution sets, they will have ownerships set incorrectly, which will cause problems.
If you use the GNU tar on non-Net/OpenBSD, use the [--numeric-owner] option.
This creates a 16 MB swap file. If your operating system doesn't have a /dev/zero (HP-UX doesn't), then you can download this 16 MB swap file (16 KB gzipped).
SunOS, use the following command to create a 16 MB swap file:
# mkfile 16m /export/client/swap
inet client netmask 255.255.255.0 broadcast 192.168.1.255replacing 255.255.255.0 with the netmask your network administrator wants you to use, and replacing 192.168.1.255 with the broadcast address your network administrator specifies.
#/etc/fstab nfsserver:/export/client/swap none swap sw,nfsmntpt=/swap nfsserver:/export/client/root / nfs rw 0 0 nfsserver:/export/client/usr /usr nfs rw 0 0 nfsserver:/export/client/home /home nfs rw 0 0
hostname="client" defaultroute="192.168.1.1" nfs_client=YES auto_ifconfig=NO net_interfaces=""
You should not have rc reconfigure your network device since it will lose its connection to the NFS server with your root filesystem.
#/etc/hosts 192.168.1.10 client.test.net client 192.168.1.5 nfsserver.test.net nfsserver
If you are curious, read his suggestions.
If your serial terminal doesn't show anything (or your machine doesn't even have serial ports), then you need to read additional directions on setting up remote access without any console
Note, this won't work using the HP-UX 9 or earlier NFS server,
since it doesn't allow client creation of device files. You'll have to
download this tarball of device files
(5 KB) for NetBSD/hp300 and run, on the nfs server:
# cd /export/client/root
# tar [--numeric-owner] -xpvzf dev.tar.gz
# swapctl -A swapctl: adding nfsserver:/export/client/swap as swap device at priority 0 # swapctl -l Device 512-blocks Used Avail Capacity Priority /dev/?? 32768 0 32768 0% 0
Now, you should continue on and finish up the diskless procedure by making sure your server(s) start all of the necessary daemons the next time they reboot.
|
|