Solaris Express Installation Guide: Basic Installations

Procedurex86: To Install or Upgrade With the Solaris Installation Program With GRUB

The Solaris installation programs for x86 based systems use the GRUB boot loader. This procedure describes how to install a standalone x86 based system with the GRUB bootloader from CD or DVD media. For overview information about the GRUB boot loader, see Chapter 6, GRUB Based Booting for Solaris Installation, in Solaris Express Installation Guide: Planning for Installation and Upgrade.


Note –

Starting with the Solaris Express Developer Edition 2/07, you now have an alternate method for installing the Solaris OS on your laptop. The Solaris Express Developer Edition (Developer release) provides a simple initial installation of the Solaris OS for a laptop. Combined with community and Sun support and training services, this release includes the tools, technologies, and platforms that enable developers to create custom Solaris, Java, and Web 2.0 applications.

Starting with the Solaris Express Developer Edition 5/07, you can also use the Developer release to upgrade your Solaris OS.

For information about these options, see Solaris Express Developer Edition Installation Guide: Laptop Installations.



Note –

If you want to install the Solaris OS on a machine or domain that does not have a directly attached DVD-ROM or CD-ROM drive, you can use a DVD-ROM or CD-ROM drive that is attached to another machine. For detailed instructions, refer to Appendix B, Installing or Upgrading Remotely (Tasks), in Solaris Express Installation Guide: Network-Based Installations.


Before You Begin

Perform the following tasks before you begin your installation.

  1. Insert the appropriate media in your system.

    If you boot from the Solaris Operating System DVD or the Solaris Software - 1 CD, insert the disc. Your system's BIOS must support booting from a DVD or CD.

    You might need to manually set your BIOS to boot from a DVD or CD. See your hardware documentation for more information about how to set the BIOS.

  2. Boot the system by shutting it down and then turning it off and on.

  3. If you need to manually set the BIOS to boot from CD or DVD, type the appropriate key sequence to interrupt your system boot process.

    Modify the boot priority in the BIOS, and exit the BIOS to return to the installation program.

    A memory test and hardware detection are executed. The screen refreshes. The GRUB menu is displayed.


    GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
    +-------------------------------------------------------------------------+
    | Solaris Express Developer Edition                                      |
    | Solaris Express                                                         |
    | Solaris Express Serial Console ttya                                     |
    | Solaris Express Serial Console ttyb (for lx50, v60x and v65x)           |
    +-------------------------------------------------------------------------+
    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.

    Note –

    Starting with the Solaris Express 2/07 release, if you want to install the Solaris Express release, you must select that release in the initial installation screen.

    The GRUB menu now defaults to the Solaris Express Developer Edition release. This Developer release includes a set of developer tools and uses a quick installation process.

    The prior default was to install the Solaris Express release. The Solaris Express release does not include the developer tools set. But, this release enables you to customize your system configuration during the installation.

    For further information about the Solaris Express Developer Edition release, see the Solaris Express Developer Edition Installation Guide: Laptop Installations.


  4. Select the appropriate installation option.

    • If you want to install the Solaris OS from CD or DVD on your current system, select Solaris Express, then press Enter.

      Select this option if you want to install the system by using the default values.

    • If you want to install the Solaris OS and send the screen output to serial console ttya (COM1), select Solaris Express Serial Console ttya.

      Select this option if you want to change the system display to a device that is connected to serial port COM1.

    • If you want to install the Solaris OS and send the screen output to serial console ttyb (COM2), select Solaris Express Serial Console ttyb.

      Select this option if you want to change the system display to a device that is connected to serial port COM2.

    • If you want to install the Solaris Express OS with specific boot arguments, follow these steps.

      You might want to use specific boot arguments to customize the system configuration during the installation.

      1. On the GRUB menu, select the installation option you want to edit, then press e.

        Boot commands that are similar to the following text are displayed in the GRUB menu.


        kernel$ /boot/platform/i86pc/kernel/$ISADIR/unix -B install_media=cdrom
        module$ /boot/x86.miniroot

        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. See GRUB Menu Commands for Installation in Solaris Express Installation Guide: Network-Based Installations.


      2. Use the arrow keys to select the boot entry that you want to edit, then press e.

        The boot command that you want to edit is displayed in the GRUB edit window.

      3. Edit the command by typing the boot arguments or options you want to use.

        The command syntax for the Grub edit menu is as follows.


        grub edit>kernel$ /boot/platform/i86pc/$ISADIR/kernel/unix/ \
        install [url|ask] -B options install_media=media_type
        
      4. To go back to the GRUB menu, select one of the following alternatives.

        • To go back to the GRUB menu and save your edits, press Enter.

          The GRUB menu is displayed. The edits you made to the boot command are displayed.

        • To go back to the GRUB menu without saving your edits, press Escape.

          The original GRUB menu is displayed.

      5. To begin the installation, type b in the GRUB menu.

    The Solaris installation program checks the default boot disk for the requirements to install or upgrade the system. If the Solaris installation cannot detect the system configuration, the program prompts you for any missing information.

    When the check is completed, the installation selection screen is displayed.

  5. Select an installation type.

    The installation selection screen displays the following options.


          Select the type of installation you want to perform:
    
             1 Solaris Interactive
             2 Custom JumpStart
             3 Solaris Interactive Text (Desktop session)
             4 Solaris Interactive Text (Console session)
             5 Apply driver updates
             6 Single user shell
    
             Enter the number of your choice followed by the <ENTER> key.
             Alternatively, enter custom boot arguments directly.
    
             If you wait 30 seconds without typing anything,
             an interactive installation will be started.
    • To install the Solaris OS, choose from the following options.

      • To install with the Solaris interactive installation GUI, type 1, then press Enter.

      • To perform an unattended custom JumpStart installation, type 2, then press Enter.

        For information about JumpStart installations, see Solaris Express Installation Guide: Custom JumpStart and Advanced Installations.

      • To install with the interactive text installer in a desktop session, type 3, then press Enter. You can also type b - text at the prompt.

        Select this installation type to override the default GUI installer and run the text installer.

        For detailed information about the Solaris installation GUI and text installer, see System Requirements and Recommendations.

      • To install with the interactive text installer in a console session, type 4, then press Enter. You can also type b - nowin at the prompt.

        Select this installation type to override the default GUI installer and run the text installer.

      The system configures the devices and interfaces, and searches for configuration files. If the operating system cannot locate a self-identifying keyboard, the next screen displays keyboard layout selections. If the system locates a self-identifying keyboard, skip to Step 9.


      Note –

      To perform system administration tasks before your installation, choose one of the two options described below, instead of selecting one of the previously-described installation options.

      • To update drivers or install an install time update (ITU), insert the update media, type 5, then press Enter.

        You might need to update drivers or install an ITU to enable the Solaris OS to run on your system. Follow the instructions for your driver update or ITU to install the update.

      • To perform system administration tasks, type 6, then press Enter.

        You might want to launch a single user shell if you need to perform any system administration tasks on your system before you install. For information about system administration tasks you can perform prior to installation, see System Administration Guide: Basic Administration.

      After you perform these system administration tasks, the previous list of options is displayed. Select the appropriate option to continue the installation.


  6. (Optional) Select the desired keyboard layout from the screen below and press F2 to continue.


    Configure Keyboard Layout
    +---------------------------------------------------------------------------+
    |   Please specify the keyboard layout from the list below.                 |
    |                                                                           |
    |   To make a selection, use the arrow keys to highlight the option and     |
    |   press Return to mark it [X].                                            |
    |                                                                           |
    |            Keyboard  Layout                                               |
    |            -----------------------                                        |
    |       [  ] Serbia-And Montenegro                                          |
    |       [  ] Slovenian                                                      |
    |       [  ] Slovakian                                                      |
    |       [  ] Spanish                                                        |
    |       [  ] Swedish                                                        |
    |       [  ] Swiss-French                                                   |
    |       [  ] Swiss-German                                                   |
    |       [  ] Taiwanese                                                      |
    |       [  ] TurkishQ                                                       |
    |       [  ] TurkishF                                                       |
    |       [  ] UK-English                                                     |
    |       [ X] US-English                                                     |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    The system configures the devices and interfaces and searches for configuration files. If you selected a GUI installation in the earlier steps, the next two screens confirm GUI functioning.

  7. (Optional) In the following screen, press Enter.


    Starting Solaris Interactive (graphical user interface) 
    Installation
    +------------------------------------------------------------+
    | You must respond to the first question within 30 seconds   |
    | or the installer proceeds in a non-window environment      |
    | (console mode).                                            |
    |                                                            |
    | If the screen becomes blank or unreadable the installer    |
    | proceeds in console mode.                                  |
    |                                                            |
    | If the screen does not properly revert to console mode,    |
    | restart the installation and make the following selection: |
    |                                                            |
    |      Solaris Interactive Text (Console session)            |
    -------------------------------------------------------------+

    Note –

    If your system has insufficient memory, the program exists and displays an error message. You can upgrade your memory and restart the installation.

    For an alternative that requires less memory to install, restart the installation and select a text installer option instead of a GUI installer option.


    After progress messages are completed, another confirmation screen is displayed.

  8. (Optional) Move your cursor into the following text screen and press Enter.

    This panel enables you to confirm screen legibility.

    A list of language choices is displayed.

  9. In the following screen, select the language you want to use during the installation, and press Enter.

    This panel shows the language selection choices.

    After a few seconds, the Solaris Installation Program screen appears.

    • If you are running the Solaris GUI installation program, the screen that is shown in Figure 2–5 is displayed.

    • If you are running the Solaris text installer in a desktop session, the screen that is shown in Figure 2–6 is displayed.

    Figure 2–5 Solaris GUI Installation Program Welcome Screen

    This screen capture shows the GUI Welcome screen. This
screen lists the information the installation program needs to configure the
system.

    Figure 2–6 Solaris Text Installation Program Welcome Screen

    This screen capture shows the text Welcome screen. This
screen lists the information the installation program needs to configure the
system.

  10. Click Next to begin the installation. If you are prompted, answer any remaining configuration questions.

    After you answer the configuration questions, the Welcome to Solaris panel appears.

    Figure 2–7 Welcome to Solaris Screen

    The installation panel shows Next and Exit buttons.

  11. Decide if you want to reboot the system automatically and if you want to automatically eject the disc. Click Next.

    The Specify Media screen appears.

  12. Specify the media you are using to install. Click Next.

    The License screen appears.

  13. Accept the license agreement to continue the installation. Click Next.

    The Solaris installation program then determines if the system can be upgraded. To upgrade, the system must have an existing Solaris root (/) file system. The Solaris installation program detects the necessary conditions and then upgrades the system.

    The Select Upgrade or Initial Install screen appears.

  14. Decide if you want to perform an initial installation or an upgrade. Click Next.


    Note –

    If you restored the diagnostic or service partition on your system before you started the installation, you might not be able to upgrade to the Solaris OS. For more information, see Service Partition Not Created by Default on Systems With No Existing Service Partition in Solaris Express Installation Guide: Solaris Live Upgrade and Upgrade Planning.


    The next screen enables you to choose a default installation or a custom installation.

  15. Select the type of installation you want to perform. Click Next.

    • Select Default Install to install the Entire Solaris Software Group.

    • Select Custom Install if you want to perform the following tasks.

      • Install a specific software group

      • Install additional software

      • Install specific software packages

      • Install a specific locale

      • Customize the disk layout

    For more information about software groups, see Disk Space Recommendations for Software Groups. For information about customizing fdisk partitions, see Partitioning Recommendations in Solaris Express Installation Guide: Planning for Installation and Upgrade.


    Note –

    The text installer does not prompt you to select a Default or Custom Installation. To perform a default installation, accept the default values that are provided in the text installer. To perform a custom installation, edit the values in the text installer screens.


  16. If you are prompted, answer any additional configuration questions.

    When you have provided the information that is required to install the system, the Ready to Install screen is displayed.

    Figure 2–8 Solaris Installation Ready to Install Screen

    This screen capture shows the Ready to Install screen.
The screen lists the configuration information that was entered during the
installation.

  17. Click Install Now to install the Solaris software. Follow the instructions on the screen to install the Solaris software and any additional software on the system.

    When the Solaris installation program is finished installing the Solaris software, the system reboots automatically or prompts you to reboot manually.

    After the installation is finished, installation logs are saved in a file. You can find the installation logs in the /var/sadm/system/logs and /var/sadm/install/logs directories

    • If you are performing an initial installation, the installation is complete. Go to Step 18.

    • If you are upgrading the Solaris software, you might need to correct some local modifications that were not preserved. Go to Step a.

      1. Review the contents of the /a/var/sadm/system/data/upgrade_cleanup file to determine whether you need to correct local modifications that the Solaris installation program could not preserve.

      2. Correct any local modifications that were not preserved.

  18. If you did not select automatic reboot during the installation, eject any installation media, and reboot the system.


    # reboot
    

    After the system reboots, a GRUB menu lists the operating systems that are installed, including the newly-installed Solaris OS. Select which operating system you want to boot. The default selection loads if you do not make another selection.

Next Steps

If you install multiple operating systems on your machine, you need to instruct the GRUB boot loader to recognize these operating systems in order to boot. For more information, see Modifying Boot Behavior in System Administration Guide: Basic Administration.

Troubleshooting

If you encounter any problems during the installation or upgrade, see Appendix A, Troubleshooting (Tasks), in Solaris Express Installation Guide: Custom JumpStart and Advanced Installations.