Solaris 9 12/03 Installation Guide

Creating a Profile Diskette for Standalone Systems

A diskette that contains a JumpStart directory is called a profile diskette. A system that is not connected to the network does not have access to a profile server. As a result, you must create a JumpStart directory on a diskette if a system is not connected to a network. The system on which you create a profile diskette must have a diskette drive.

The JumpStart directory contains all of the essential custom JumpStart files, for example, the rules file, rules.ok file, and profiles. You must save the JumpStart directory in the root (/) directory of the profile diskette.

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: Basic Administration 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.

x86: 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: Basic Administration for detailed information about managing removable media without Volume Manager.


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

  2. Insert the Solaris Device Configuration Assistant x86 Platform Edition diskette into the diskette drive (usually drive A). You use this diskette as the profile diskette.


    x86 only –

    You can access the boot diskette software by downloading and copying the software to a diskette from the Solaris Developer Connection at http://soldc.sun.com/support/drivers/dcs_diskettes.


  3. Mount the diskette.


    # volcheck
    
  4. Copy the image of the Solaris Device Configuration Assistant to the system's hard disk.


    # dd if=/vol/dev/aliases/floppy0 of=boot_image
    

    In the command, boot_image is the name of the file into which you want to copy the image of the Solaris Device Configuration Assistant. You can specify an absolute path name.

    For example, the following command copies the boot diskette to a file that is named boot_save:


    dd if=/vol/dev/aliases/floppy0 of=boot_save
    
  5. Eject the diskette by clicking Eject Disk in the File Manager window or by typing eject floppy on the command line.

  6. In the Removable Media Manager dialog box, click OK.

  7. Manually eject the Solaris Device Configuration Assistant x86 Platform Edition diskette.

  8. Insert a blank diskette or a diskette that can be overwritten into the diskette drive.

  9. Mount the diskette.


    # volcheck
    
  10. Format the diskette.


    Caution – Caution –

    Formatting erases all data on the diskette.



    # fdformat -d -U
    
  11. Copy the Solaris Device Configuration Assistant image from the system's hard disk to the formatted diskette.


    # dd if=boot_image of=/vol/dev/aliases/floppy0
    

    In the command, boot_image is the name of the file where you want to copy the image of the Solaris Device Configuration Assistant. You can specify an absolute path name.

  12. Determine if you want to copy examples of custom JumpStart files to your JumpStart directory.

    • If no, go to Step 15.

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

    Example Locations 

    Instructions 

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

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

    Volume Manager automatically mounts the CD. 

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

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


    cd /export/install

  13. 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 profile diskette.


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


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

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

  16. Eject the diskette by clicking Eject Disk in the File Manager window or by typing eject floppy on the command line.

  17. In the Removable Media Manager dialog box, click OK.

  18. Manually eject the diskette.

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