User Tools

Site Tools


tips:openbsd:netboot_sparc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tips:openbsd:netboot_sparc [2010/01/10 23:07]
mattieu
tips:openbsd:netboot_sparc [2010/01/10 23:11] (current)
mattieu
Line 8: Line 8:
 <file>tftp dgram udp wait root /usr/libexec/tftpd tftpd -s /tftpboot</file> <file>tftp dgram udp wait root /usr/libexec/tftpd tftpd -s /tftpboot</file>
 ===== Prepare the bootloader ===== ===== Prepare the bootloader =====
-<code bash>cp boot.net /tftpboot+<code bash>$ sudo cp boot.net /tftpboot
 $ echo 172.16.3.253 | awk -F . \ $ echo 172.16.3.253 | awk -F . \
  '{ printf "%02X%02X%02X%02X\n", $1, $2, $3 ,$4 }'  '{ printf "%02X%02X%02X%02X\n", $1, $2, $3 ,$4 }'
-ln -s boot.net AC1003FD.SUN4M</code>+$ sudo ln -s boot.net AC1003FD.SUN4M</code>
  
 Use tcpdump to find the suffix. Use tcpdump to find the suffix.
Line 17: Line 17:
 <file>moulinette root=172.16.1.49:/export/sparc</file> <file>moulinette root=172.16.1.49:/export/sparc</file>
 ===== Prepare the bsd ramdisk ===== ===== Prepare the bsd ramdisk =====
-<code bash>cp bsd.rd /export/sparc</code>+<code bash>$ sudo cp bsd.rd /export/sparc</code>
 ===== Modify /etc/exports ===== ===== Modify /etc/exports =====
 <file>/export/sparc -maproot=root moulinette</file> <file>/export/sparc -maproot=root moulinette</file>
 ===== Start required services ===== ===== Start required services =====
-<code bash>pkill -HUP inted +<code bash>$ sudo pkill -HUP inted 
-portmap +$ sudo portmap 
-mountd +$ sudo mountd 
-nfsd -tun 4 +$ sudo nfsd -tun 4 
-rarpd bge0 +$ sudo rarpd bge0 
-rpc.bootparamd</code>+$ sudo rpc.bootparamd</code>
 ~~NOTOC~~ ~~NOTOC~~
tips/openbsd/netboot_sparc.1263161243.txt.gz · Last modified: 2010/01/10 23:07 by mattieu