Howto: Netboot Install on 2x Sparc64 Machines ### ### ### ### ### ### ### ### ### HEADER
problems: 1. Using BOOTP protocol: ip address: 192.168.250.21, netmask: 255.255.255.0, gateway: 192.168.250.1 root addr=192.168.250.1 path=/ solve: - check bootparams run /usr/sbin/rpc.bootparamd -d 192.168.250.11 --- --- --- --- --- --- --- --- --- 2. Using BOOTPARAMS protocol: ip address: 192.168.250.21 bootparamd: 'whoami' call failed Using BOOTP protocol: ip address: 192.168.250.21, netmask: 255.255.255.0, gateway: 192.168.250.1 root addr=192.168.250.1 path=/ getport: Unknown error: code 72open /pci@1f,700000/network@2/bsd.rd: Unknown error: code 72 solve: - check bootparams - use ip-address for root=server: in /etc/bootparams --- --- --- --- --- --- --- --- --- 3. Using BOOTPARAMS protocol: ip address: 192.168.250.21, hostname: conf1-dd-de root addr=192.168.250.11 path=/srv/nfs/iso/OBSD52/5.2/sparc64 open /pci@1f,700000/network@2/bsd.rd: Unknown error: code 13 solve: - use SHORT path !!! - check nfs exports - check it with showmount -e - check the /var/log/daemon & /var/log/messages for nfs alerts ! ### ### ### ### ### ### ### ### ### HEADER Example: Server = 192.168.250.11 = netboot install server with rarpd, bootparamd, tftpd, nfsd + openbsd iso export Client = 192.168.250.21 = destination server for netboot installation Server = (running OpenBSD 5.2 Sparc64) = # Client = (running OpenBoot PROM) = ok # (artfiles.org is an german openbsd mirror) Step by Step 1. vi /etc/rc.conf ### ### ### # rarpd_flags="-a" bootparamd_flags="" tftpd_flags="/tftpboot" # ### ### ### 2. vi /etc/rc.conf.local ### ### ### # portmap_flags="" mountd_flags="" nfsd_flags="-tun 4" # ### ### ### 3. vi /etc/hosts ### ### ### # # netboot-install-server # 192.168.250.11 server.domain.tld server # # netboot-client # 192.168.250.21 client.domain.tld client # ### ### ### 4. vi /etc/ethers ### ### ### # # netboot-client XX:XX:MAC:XX:XX:XX 192.168.250.21 # ### ### ### 5. mkdir /tftpboot 6. export PKG_PATH="http://artfiles.org/openbsd/5.2/packages/sparc64" 7. pkg_add -v wget-1.13.4.tgz 8. cd /tftpboot 9. wget http://artfiles.org/openbsd/5.2/sparc64/ofwboot.net 10. --- link HEX of IP address to it - monitor messages, syslog, or daemon.log files for appropriate name of requested file --- ln -s ofwboot.net AABBCCDD ln -s ofwboot.net AABBCCDD.SUN4U ln -s ofwboot.net AABBCCDD.SUN4U_netbootclient 11. chown -R _tftpd:_tftpd /tftpboot 12. mkdir /srv # mkdir /srv/nfs # mkdir /srv/nfs/iso # mkdir /srv/nfs/iso/OBSD52 13. cd /srv/nfs/iso 14. wget http://artfiles.org/openbsd/5.2/sparc64/install52.iso 15. vnconfig vnd0 /srv/nfs/iso/install52.iso 16. mount -t cd9660 /dev/vnd0c /srv/nfs/iso/OBSD52 17. cp -r /srv/nfs/iso/OBSD52/5.2/sparc64 /netboot_sparc64 18. vi /etc/bootparams ### ### ### # client root=192.168.250.11:/netboot_sparc64 # ### ### ### 19. vi /etc/exports ### ### ### # /netboot_sparc64 -ro client.domain.tld # ### ### ### reboot the server ... 20. check ### ### ### starting RPC daemons: portmap mountd nfsd. ... starting network daemons: sshd sendmail tftpd inetd rarpd bootparamd sndiod ### ### ### 21. check # ps -axc # check /var/log/ files start the installation on the client now 22. ok boot net bsd.rd have fun Regards, Mit freundlichen Grüßen Daniel Plominski dan...@plominski.eu Waldschlößchenstraße 16 01099 Dresden PLITC.eu / SBSHosting.biz [demime 1.01d removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]