Creating a Jumpstart Server from ISO images

What is Jumpstart ? Jumpstart is a computer network installation tool set used by the Solaris OS. On this post, you will find easy step to perform Jumpstart installation from ISO Solaris OS images.

here are the step-by-step:

  • first of all, you need to upload Solaris ISO image to server that will used as Jumpstart server. In this example, my ISO images is “sol-10-u8-ga-sparc-dvd.iso” and I uploaded already to root home directory (/).
  • Add your client IP address & hostname to “/etc/hosts”, also the hostname and mac address to “/etc/ethers”.

if your client is Sparc, then you can find the mac address by running “banner” command from OK prompt. For x86, the mac address can be found on BIOS.

# more /etc/hosts
::1     localhost
127.0.0.1       localhost
10.32.16.1      solaris10 solaris10. loghost
192.168.1.2    client1
192.168.1.3    client2
192.168.1.4    client3

# more /etc/ethers
0:0:be:a5:1a:9e client1
0:0:be:a5:1a:9f client2
0:0:be:a5:1a:a0 client3

  • mount ISO images using “lofiadm” command to “/mnt” directory:

# lofiadm -a /sol-10-u8-ga-sparc-dvd.iso /dev/lofi/1
# lofiadm
Block Device             File
/dev/lofi/1              /sol-10-u8-ga-sparc-dvd.iso
# mount -F hsfs -o ro /dev/lofi/1 /mnt

  • Check the “/mnt” directory, the jumpstart scripts are located at “/Solaris_10/Tools/” directory:

# cd /mnt/Solaris_10/Tools/
# ls
add_install_client    dial                  rm_install_client
Boot                  Installers            setup_install_server

  • If you don’t hv enough disk space, then you can run “add_install_client” script directly:

the format is “add_install_client <hostname> <platform>”

#./add_install_client client1 sun4u
saving original /etc/dfs/dfstab in /etc/dfs/dfstab.orig
Adding “share -F nfs -o ro,anon=0 /mnt” to /etc/dfs/dfstab
making /tftpboot
enabling tftp in /etc/inetd.conf
starting rarpd
starting bootparamd
starting nfsd’s
starting nfs mountd
updating /etc/bootparams
copying boot file to /tftpboot/inetboot.SUN4U.Solaris_10-1
#

NOTE: If you want to copy all or part of the install DVD onto a system to set it up as a long term install server with the install media available on local disk, then you can run “setup_install_server” script.

FORMAT: setup_install_server <destination_dir>.

  • Check “/etc/bootparams”. The bootparams file contains a list of client  entries  that diskless  clients  use for booting. Make sure your client listed in there..
  • Configure Client to boot from Network. for Sparc, run “boot net – install” from OK Prompt. For X86 configure BIOS to boot from Network.
  • Follow the installation procedure till finish..

NOTE For X86/i386pc:

  1. You need to configure DHCP macro on Jumpstart server, run “/usr/sadm/admin/bin/dhcpmgr” from X Windows / GUI, then click EDIT > NETWORK WIZARD.
  2. put “i386pc” as your platform while running add_install_client , exp:

./add_install_client -d -e 0:0:be:a5:1a:9e -s 192.168.1.1:/mnt i86pc

One response to “Creating a Jumpstart Server from ISO images

  1. nice but i want to unmount /mnt, am getting error while unmounting
    #umount /mnt
    umount: /mnt busy
    #umount -f /mnt
    umount: Operation not supported
    umount: cannot unmount /mnt

    pls buddy let’s send the command to unmount.

    thanks buddy

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s