在 Sun UltraSparc 上裝 Gentoo 比裝 Solaris 還簡單

本來是想在我的 sparc 裝 solaris 10 再裝 oracle 來玩的….沒想到搞半天 solaris 一直說抓不到 SCSI HD….orz
因為我的 SCSI CDROM 一直無法 boot cdrom , 所以改採 boot net

這裡是我的步驟:
emerge -av net-misc/rarpd

edit /etc/conf.d/rarpd
加 RARPD_OPTS=”-v -i eth0″

emerge -av net-ftp/atftp
edit /etc/conf.d/atftp
改成
TFTPD_ROOT=”/tftpboot”
TFTPD_OPTS=”–daemon –user nobody –group nobody”

mkdir /tftpboot
cp gentoo-sparc64-2005.0-20050717.tftpboot /tftpboot
(
google “gentoo tftp boot image”
tftp image:
http://gentoo.osuosl.org/experimental/sparc/tftpboot/sparc64/
)

=====
# cat /etc/ethers
08:00:20:a1:8B:76 sparc-netboot.monster.com.tw

# cat /etc/hosts

172.30.0.17 sparc-netboot.monster.com.tw

=====
/etc/init.d/rarpd start

/etc/init.d/atftp start

=====
ln -sf gentoo-sparc64-2005.0-20050717.tftpboot AC1E0011

=====
vmware tftpboot # ls -l /tftpboot/
total 8624
lrwxrwxrwx 1 root root 39 Dec 25 17:56 AC1E0011 -> gentoo-sparc64-2005.0-20050717.tftpboot
-rw-r–r– 1 root root 3410205 Dec 25 20:51 gentoo-sparc-2006.0-20060219.tftpboot
-rw-r–r– 1 root root 5409868 Dec 25 20:51 gentoo-sparc64-2005.0-20050717.tftpboot

=====
sample process:
root 31274 0.0 0.1 1656 688 pts/1 S Dec25 0:01 /usr/sbin/rarpd -v -i eth0
nobody 31437 0.0 0.2 2236 772 ? Ss Dec25 0:00 /usr/sbin/in.tftpd –daemon –user nobody –group nobody /tftpboot

=====

in Sun UltraSparc OBP
stop-a

boot net
後就可以看到 Sparc 正從 tftp server 下載 boot image , 並開始進入 install 程序

=====

ref. link:
http://www.gentoo.org/doc/en/gentoo-sparc-netboot-howto.xml

ref.

http://mirror.umoss.org/gentoo/experimental/sparc/tftpboot/sparc64/