Solaris Express Installation Guide: Custom JumpStart and Advanced Installations

Procedurex86: To Modify the GRUB Boot Command

  1. To begin the installation, proceed with Step 1 through Step 5 in the preceding procedure, x86: To Perform an Installation or Upgrade With the Custom JumpStart Program and With GRUB.

  2. If the system is off, turn the system on. If the system is on, reboot the system.

    The GRUB menu is displayed. This menu provides a list of boot entries. The entry that is provided is the Solaris instance to be installed.

    • For an installation with CD media:


      GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
      +-------------------------------------------------------------------+
      |Solaris Express image_directory               
      |Solaris Express Serial Console tty                                 |
      |Solaris Express Serial Console ttyb (for lx50, v60x and v65)       |
      +-------------------------------------------------------------------+
      Use the ^ and v keys to select which entry is highlighted. Press
      enter to boot the selected OS, 'e' to edit the commands before
      booting, or 'c' for a command-line.
    • For an installation with a DVD media:


      GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
      +-------------------------------------------------------------------+
      |Solaris Express Developer Edition image_directory 
      |Solaris Express                                                    |
      |Solaris Exprress Serial Console ttya                               |
      |Solaris Express Serial Console ttyb (for lx50, v60x and v65)       |
      +-------------------------------------------------------------------+
      Use the ^ and v keys to select which entry is highlighted. Press
      enter to boot the selected OS, 'e' to edit the commands before
      booting, or 'c' for a command-line.

    The image_directory is the name of the directory where the installation image is located.


    Note –
    • If you used the NFS to set the path to the JumpStart directory with the add_install_client command and the -c option, then you do not need to include the path in the boot entry.

    • If you are not using NFS, then you must note the path to the compressed configuration file that contains the JumpStart directory.


  3. To stop the booting process and use the menu entry editor, type e.

    A GRUB edit menu similar to the following displayed.


    kernel /I86PC.Solaris_11-30/platform/i86pc/kernel/unix - -install -B \
    install_media=192.168.79.61:/export/Solaris_11-30,\
    sysid_config=192.168.79.57:/export/install/sysid/sysidcfg,\
    install_config=192.168.79.57:/export/install/jumpstart"
    module /I86PC.Solaris_11-30/x86.miniroot
  4. Use the arrow keys to select the boot entry.

  5. To edit the selected command, type e.

    A command that is similar to the following example displays.


    grub edit>kernel /I86PC.Solaris_11-30/platform/i86pc/kernel/unix - -install -B \
    install_media=192.168.79.61:/export/Solaris_11-30,\
    sysid_config=192.168.79.57:/export/install/sysid/sysidcfg,\
    install_config=192.168.79.57:/export/install/jumpstart"
    module /I86PC.Solaris_11-30/x86.miniroot
  6. Edit the command by typing the options that you need.

    The syntax for a JumpStart installation is the following.


    grub edit>kernel$ /I86PC.Solaris_11-image_directory
    /platform/i86pc/kernel/$ISADIR/unix/ \
    - install [url|ask] options \
    -B install_media=media_type
    

    Note –

    Starting with the 5/07 Developer release, GRUB has enhanced support for directly booting the unix kernel. The new $ISADIR keyword resolves to amd64 for 64-bit hardware and to null for 32-bit hardware. For details, see GRUB Menu Commands for Installation in Solaris Express Installation Guide: Network-Based Installations.


    For a description of JumpStart options, see x86: Command Reference for Booting the System.

    In the following example, the OS is installed over the network with a custom JumpStart profile.


    kernel /I86PC.Solaris_11-8/platform/i86pc/kernel/unix/ - install \
    -B install_media=192.168.79.61:/export/Solaris_11-30,\
    sysid_config=192.168.79.57:/export/install/sysid/sysidcfg,\
    install_config=192.168.79.57:/export/install/jumpstart"
    module /I86PC.Solaris_11-30/x86.miniroot
  7. To accept the edits, press Enter.

    Your changes are saved and the GRUB main menu is displayed.


    Note –

    Pressing the Escape key returns you to the GRUB main menu without saving your changes.


  8. To begin the installation, type b.