Solaris 9 12/03 Installation Guide

x86: To Create an x86 Install Server With SPARC or x86 DVD Media


Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Basic Administration for detailed information about managing removable media without the Volume Manager.


  1. On the x86 system that is to become the install server, become superuser.

    The system must include a DVD-ROM drive and be part of the site's network and name service. If you use a name service, the system must also be in the NIS, NIS+, DNS, or LDAP name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. Insert the Solaris DVD into the system's drive.

  3. Create a directory to contain the boot image.


    # mkdir -p install_dir_path
    
    install_dir_path

    Specifies the directory where the DVD image is to be copied

  4. Change to the Tools directory on the mounted disc:

    • For x86 DVD media, type:


      # cd /cdrom/cdrom0/s2/Solaris_9/Tools
      
    • For SPARC DVD media, type:


      # cd /cdrom/cdrom0/Solaris_9/Tools
      

    In the previous examples, cdrom0 is the path to the drive that contains the Solaris operating environment DVD media.

  5. Copy the disc in the drive to the install server's hard disk by using the setup_install_server command:


    # ./setup_install_server install_dir_path
    
    install_dir_path

    Specifies the directory where the DVD image is to be copied


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris Software disc images. To determine available disk space, use the df -kl command.


  6. Decide if you need to make the install server available for mounting.

    • If the install server is on the same subnet as the system to be installed or you are using DHCP, you do not need to create a boot server. Proceed to Step 10.

    • If the install server is not on the same subnet as the system to be installed and you are not using DHCP, complete the following steps.

  7. Verify that the path to the install server's image is shared appropriately.


    # share | grep install_dir_path
    
    install_dir_path

    Specifies the installation image where the DVD image was copied

    • If the path to the install server's directory is displayed and anon=0 is displayed in the options, proceed to Step 10.

    • If the path to the install server's directory is not displayed or you do not have anon=0 in the options, continue.

  8. Make the install server available to the boot server by adding this entry to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 -d "install server directory" install_dir_path
    
  9. Make sure that the install server's directory path is correctly shared.


    # ps -ef | grep nfsd
    
    • If the nfsd daemon is not running, start it.


      # /etc/init.d/nfs.server start 
      
    • If the nfsd daemon is running, share the install server.


      # shareall
      
  10. Change directories to root (/).


    # cd /
    
  11. Eject the Solaris DVD.

  12. Decide if you want to patch the files that are located in the miniroot (Solaris_9/Tools/Boot) on the net install image that was created by setup_install_server.

    • If no, continue.

    • If yes, use the patchadd -C command to patch the files that are located in the miniroot.

  13. Decide if you need to create a boot server.


Example 11–3 x86: Creating an x86 Install Server With an x86 DVD

The following example illustrates how to create an x86 install server by copying the Solaris x86 Platform Edition DVD to the install server's /export/home/dvdx86 directory:


# mkdir -p /export/home/dvdx86
# cd /cdrom/cdrom0/s2/Solaris_9/Tools
# ./setup_install_server /export/home/dvdx86

Add the following path to the /etc/dfs/dfstab file:


share -F nfs -o ro,anon=0 -d "install server directory" /export/home/dvdx86 

Check if the nfsd daemon is running. If the nfsd daemon is not running, start it and share it.


# ps -ef | grep nfsd
# /etc/init.d/nfs.server start 
# shareall 
# cd /


Example 11–4 Creating an x86 Install Server With a SPARC DVD

The following example illustrates how to create an x86 install server by copying the Solaris SPARC Platform Edition DVD to the install server's /export/home/dvdsparc directory:


# mkdir -p /export/home/dvdscparc
# cd /cdrom/cdrom0/Solaris_9/Tools
# ./setup_install_server /export/home/dvdsparc

Add the following path to the /etc/dfs/dfstab file:


share -F nfs -o ro,anon=0 -d "install server directory" /export/home/dvdsparc 

Check if the nfsd daemon is running. If the nfsd daemon is not running, start it and share it.


# ps -ef | grep nfsd 
# /etc/init.d/nfs.server start
# shareall 
# cd /