Solaris 9 9/04 Installation Guide

SPARC: To Create a Profile Diskette


Note –

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


  1. Log in as superuser on a SPARC system to which a diskette drive is attached.

  2. Insert a blank diskette or a diskette that can be overwritten in the diskette drive.

  3. Mount the diskette.


    # volcheck
    
  4. Determine if the diskette contains a UNIX file system (UFS).

    Examine the contents of the file /etc/mnttab on the system for an entry such as the following:


    /vol/dev/diskette0/scrap  /floppy/scrap  ufs  suid,rw,largefiles,dev=1740008  927147040
    • If the entry exists, go to Step 7.

    • If the entry does not exist, go to the next step.

  5. Format the diskette.


    Caution – Caution –

    Formatting erases all data on the diskette.



    # fdformat -U
    
  6. Create a UFS on the diskette.


    # newfs /vol/dev/aliases/floppy0
    
  7. Determine if you want to copy examples of custom JumpStart files to your JumpStart directory.

    • If no, go to Step 10.

    • If yes, use the following decision table to determine what to do next.

    Example Locations 

    Instructions 

    The Solaris SPARC Platform Edition DVD or the Solaris Software 1 of 2 SPARC Platform Edition CD

    Insert the Solaris SPARC Platform Edition DVD or the Solaris Software 1 of 2 SPARC Platform Edition CD into the server's CD-ROM drive.

    Volume Manager automatically mounts the CD. 

    An image of the Solaris SPARC Platform Edition DVD or the Solaris Software 1 of 2 SPARC Platform Edition CD on a local disk

    Change the directory to the location of the Solaris SPARC Platform Edition DVD or the Solaris Software 1 of 2 SPARC Platform Edition CD image. For example, type the following command:


    cd /export/install
    

  8. Copy the example custom JumpStart files into the JumpStart directory on the profile diskette.


    # cp -r media_path/Solaris_9/Misc/jumpstart_sample/* jumpstart_dir_path
    
    media_path

    The path to the CD, DVD, or image on the local disk

    jumpstart_dir_path

    The path to the profile diskette where you want to place the example custom JumpStart files


    Note –

    You must place all custom JumpStart installation files in the root (/) directory on the diskette.


    For example, the following command copies the contents of jumpstart_sample on the Solaris Software 1 of 2 SPARC Platform Edition CD to the root (/) directory on a profile diskette that is named scrap:


    cp -r /cdrom/sol_9_sparc/s0/Solaris_9/Misc/jumpstart_sample/* /floppy/scrap
    
  9. Update the example JumpStart files on the profile diskette so that the files work in your environment.

  10. Ensure that root owns the JumpStart directory and that permissions are set to 755.

  11. Eject the diskette.


    # eject floppy
    

    You have completed the creation of a profile diskette. You can now update the rules file and create profiles on the profile diskette to perform custom JumpStart installations. To continue, go to Creating the rules File.