Sysadmin > SolarIs > NetinstallSolarisWithNetBSD

Net Install and JumpStart

Netinstall, Jumpstart Solaris

Is is very usefull to install your Suns via net. For example my older Suns have no DVD, but the latest Solaris 10 only comes as DVD.

Howto install Solaris from NetBSD on a Sparc

  • Download the latest Solaris for Sparc Image
  • mount this image on your NetBSD machine
    vnconfig vnd0 /data/sol-10-u8-ga-sparc-dvd.iso
    mount -t cd9660 /dev/vnd0 /mnt
    
  • Find your machine type
  • Search for the apropiate inetboot file
    > find /mnt -name inetboot
    /mnt/Solaris_10/Tools/Boot/platform/sun4u/inetboot
    /mnt/Solaris_10/Tools/Boot/platform/sun4us/inetboot
    /mnt/Solaris_10/Tools/Boot/platform/sun4v/inetboot
    
  • Enable tftpd in /etc/inetd.conf, mkdir /tftpboot, cp inetboot /tftpboot and /etc/rc.d/inetd reload
  • Copy the inetboot file for your machine (in my case Ultra 60 -> sun4u) into the tftp-dir
    cp /mnt/Solaris_10/Tools/Boot/platform/sun4u/inetboot /tftpboot

  • Enable rarpd, echo "rarpd=YES" >> /etc/rc.conf
  • setup /etc/hosts and /etc/ethers (on NetBSD rarpd need both ethers and hosts)
    echo "8:0:20:a2:ba:5f   ultra60" >> /etc/ethers
    echo "192.168.2.2   mybsd" >> /etc/hosts
    echo "192.168.2.202   ultra60" >> /etc/hosts
    
  • /etc/rc.d/rarpd start
  • Enable nfs-server
    echo "rpcbind=YES" >> /etc/rc.conf
    echo "mountd=YES" >> /etc/rc.conf
    echo "nfs-server=YES" >> /etc/rc.conf
    echo "lockd=YES" >> /etc/rc.conf
    echo "statd=YES" >> /etc/rc.conf
    echo "/mnt -alldirs -maproot=root -network 192.168.2.0 -mask 255.255.255." >> /etc/exports"
    
    /etc/rc.d/rpcbind start
    /etc/rc.d/mountd start
    /etc/rc.d/nfsd start
    /etc/rc.d/nfslocking start
     
  • Enable bootparams
    echo "bootparams=YES" >> /etc/rc.conf
    echo "ultra60 root=mali:/mnt/Solaris_10/Tools/Boot install=mybsd:/mnt rootopts=:rsize=8192 boottype=:in" >> /etc/bootparams
    /etc/rc.d/bootparams start
     
  • Connect to serial of your Sun
    kermit
    C-Kermit> set modem type none
    C-Kermit> set carrier-watch off
    C-Kermit> set line /dev/tty00
    C-Kermit> connect
    ^\b     <- for break
    ok> boot net:192.168.2.2,inetboot,192.168.2.202 -v - install
     

Jumpstart

Work in Progress

JET Jumpstart Enterprise Toolkit