Solaris 8 Advanced Installation Guide

Creating a Profile Diskette

A diskette that contains a JumpStart directory is called a profile diskette.

Requirements

You must create a JumpStart directory on a diskette if a system is not connected to a network because the system does not have access to a profile server. The system on which you create a profile diskette must have a diskette drive, however.

Essential custom JumpStart files (the rules file, rules.ok file, and profiles) must be located in the root (/) directory on the profile diskette. Ensure that root owns the JumpStart directory and that its permissions are set to 755.

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 and CDs, refer to System Administration Guide, Volume I for detailed information about managing removable media without Volume Manager.


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

  2. Insert a blank diskette (or one that can be overwritten) into the diskette drive.

  3. Mount the diskette:


    # volcheck
    
  4. Does the diskette already have a UFS (UNIX file system) on it?

    • If you don't know, examine the contents of the file /etc/mnttab on the system for an entry like this:


      /vol/dev/diskette0/scrap  /floppy/scrap  ufs  suid,rw,largefiles,dev=1740008  927147040

      Did you find an entry?

    • If yes, go to Step 7.

    • If no, go to the next step.


    Caution - Caution -

    Formatting erases all data on the diskette.


  5. Format the diskette:


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


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

    • If no, stop; you are done creating a JumpStart directory on your profile diskette.

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

    If you want to copy the examples from 

    Then 

    The Solaris 8 Software 1 of 2 SPARC Platform Edition CD 

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

    Volume Manager automatically mounts the CD. 

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

    Change directory to the location of the Solaris 8 Software 1 of 2 SPARC Platform Edition CD image. For example: 


    cd /export/install

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


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

    where media_path is the path to the CD or image on the local disk and jumpstart_dir_path is 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 8 Software 1 of 2 SPARC Platform Edition CD to the root (/) directory on a profile diskette named scrap:


    cp -r /cdrom/sol_8_sparc/Solaris_8/Misc/jumpstart_sample/* /floppy/scrap
  9. Update the example JumpStart files on the profile diskette so they work in your environment.

  10. Eject the diskette:


    # eject floppy
    

    You have completed creating 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".

IA: 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 and CDs, refer to System Administration Guide, Volume I for detailed information about managing removable media without Volume Manager.


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

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

  3. Mount the diskette:


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


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

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

    For example, the following command copies the boot diskette to a file 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. On the Removable Media Manager dialog box, click OK.

  7. Manually eject the diskette labeled Solaris 8 Device Configuration Assistant Intel Platform Edition.

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

  9. Mount the diskette:


    # volcheck
    

    Caution - Caution -

    Formatting erases all data on the diskette.


  10. Format the diskette:


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


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

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

  12. Do you want to copy examples of custom JumpStart files to your JumpStart directory?

    • If no, stop; you are done creating a JumpStart directory on your profile diskette.

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

    If you want to copy the examples from 

    Then 

    The Solaris 8 Software 1 of 2 Intel Platform Edition CD 

    Insert the CD labeled Solaris 8 Software 1 of 2 Intel Platform Edition into the server's CD-ROM drive. 

    Volume Manager automatically mounts the CD. 

    An image of the Solaris 8 Software 1 of 2 Intel Platform Edition CD on a local disk

    Change directory to the location of Solaris 8 Software 1 of 2 Intel Platform Edition CD image. For example: 


    cd /export/install

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


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

    where media_path is the path to the CD or image on the local disk and jumpstart_dir_path is 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 8 Software 1 of 2 Intel Platform Edition CD to the root (/) directory on a profile diskette named scrap:


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

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

  16. On the Removable Media Manager dialog box, click OK.

  17. Manually eject the diskette.

You have completed creating 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".