JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 10 9/10 Installation Guide: Basic Installations
search filter icon
search icon

Document Information

Preface

1.  Planning for a Solaris Installation From CD or DVD Media (Tasks)

2.  Installing With the Solaris Installation Program For UFS File Systems (Tasks)

3.  Installing With the Solaris Interactive Text Installer for ZFS Root Pools (Planning and Tasks)

ZFS Root Pool Installation (Planning)

What's New in Solaris 10 10/09 Release

Performing Initial Installation With the Solaris Interactive Text Installer for ZFS

SPARC: How to Install a ZFS Root Pool

x86: Performing an Initial Installation With the Solaris Interactive Text Installer for ZFS

x86: To Install With the Solaris Interactive Text Installer With GRUB for ZFS

Index

x86: Performing an Initial Installation With the Solaris Interactive Text Installer for ZFS

You can perform an initial installation the Solaris OS by using the Solaris interactive text installer. An initial installation overwrites the data on the disks being installed. This section provides detailed instructions about how to install the Solaris OS from DVD or CD media.

x86: To Install With the Solaris Interactive Text Installer With GRUB for ZFS

The Solaris installation program for x86 based systems uses the GRUB boot loader. This procedure describes how to install a standalone x86 based system with the GRUB boot loader from CD or DVD media. For overview information about the GRUB boot loader, see Modifying Boot Behavior by Editing the GRUB Menu at Boot Time in System Administration Guide: Basic Administration.

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                                                                 |
    | Solaris Serial Console ttya                                             |
    | Solaris 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.
  4. Select Solaris, then press Enter.

    The Solaris installation program checks the default boot disk for the requirements to install or upgrade the system. If the installation program 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. To install the Solaris OS with the interactive text installer in a desktop session, type 3, then press Enter.

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

          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.

    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 7.

  6. (Optional) Select the desired keyboard layout from the following screen 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. You might see two screens that confirm that windows are functioning. Confirm the next two screens and continue in text mode.

  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)            |
    -------------------------------------------------------------+

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

  8. (Optional) Move your cursor into the following text screen and press Enter.
    +------------------------------------------------------------+
    |If the screen is legible, press ENTER in this window.       |
    |                                                            |
    |                                                            |
    |                                                            |
    |-------------------------------------------------------------+

    A list of language choices might be displayed. If this screen is not displayed, skip to Step 10.

  9. (Optional) In the following screen, select the language you want to use during the installation, and press F2.
    Select a Language
    +---------------------------------------------------------------------------+
    |   Please specify the the language from the list below.                    |
    |                                                                           |
    |   To make a selection, use the arrow keys to highlight the option and     |
    |   press Return to mark it [X].                                            |
    |                                                                           |
    |       [  ] English                                                        |
    |       [  ] French                                                         |
    |       [  ] German                                                         |
    |       [  ] Italian                                                        |
    |       [  ] Japanese                                                       |
    |       [  ] Korean                                                         |
    |       [  ] Simplified Chinese                                             |
    |       [  ] Spanish                                                        |
    |       [  ] Swedish                                                        |
    |       [  ] Traditional Chinese                                            |
    |       [  ] UK-English                                                     |
    
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+
  10. Press F2 to begin the installation. If you are prompted, answer any remaining configuration questions.

    After you answer the configuration questions and set the root password, the Solaris Interactive Installation screen is displayed.

    Solaris Interactive Installation
    +---------------------------------------------------------------------------+
    |On the following screens, you can accept the defaults or you can customize |
    | how Solaris software will be install by:                                  |
    |  - Selecting the type of Solaris software to install                      |
    |  - Selecting disks to hold the software you've selected                   |
    |  - Selecting unbundled products to be installed with Solaris              |
    |  - Specifying how file systems are laid out on the disks                  |
    |                                                                           |
    |After completing these tasks, a summary of your selections                 |
    |(called a profile) will be displayed.                                      |
    |                                                                           |
    |There are two ways to install your Solaris software:                       |
    |                                                                           |
    |  - "Standard" installs your system from a standard Solaris                |
    |     Distribution. Selecting "standard" allows you to choose               |
    |     between initial install and upgrade, if your system is upgradeable.   |
    |                                                                           |
    |  - "Flash" installs your system from one or more Flash Archives.          |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+
  11. Decide if you want to reboot the system automatically and if you want to automatically eject the disc. Press F2.

    Important: If you want to disable Auto Registration prior to rebooting the system, deselect automatic rebooting.

    If you already have ZFS storage pools on the system, they are acknowledged by the following message, but remain untouched, unless you select the disks in the existing pools to create the new storage pool.

    There are existing ZFS pools available on this system.  However, they can only be upgraded 
    using the Live Upgrade tools.  The following screens will only allow you to install a ZFS root system, 
    not upgrade one.

    The License screen appears.

  12. Accept the license agreement to continue the installation. Press F2.

    The Select Upgrade or Initial Install screen might display. If you have UFS file system that is upgradeable, this screen is displayed. If this screen does not display, skip to Step 14.

  13. To perform a ZFS installation, you must press F4 for an initial installation.

    Screens for choosing geographic regions, locales, and additional products are displayed.

  14. Make your choices for geographic regions, locales, and additional products.

    The Choose a Filesystem Type is displayed.

  15. To create and install a ZFS root pool, select the ZFS option.
    Choose a Filesystem Type
    +---------------------------------------------------------------------------+
    |   Select the filesystem to use for your Solaris installation              |
    |                                                                           |
    |           [ ] UFS                                                         |
    |           [X] ZFS                                                         |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    The Select Software screen is displayed.

  16. Select the type of installation you want to perform. Press F2.

    To perform a default installation, accept the default value that is provided. To perform a custom installation, edit the values in the text installer screen. In this example screen, the default Entire Distribution Software Group is checked for installation.

    For more information about software groups, see Disk Space Recommendations for Software Groups.

    Select Software
    +---------------------------------------------------------------------------+
    |Select the Solaris software to install on the system                       |
    |                                                                           |
    |Note: After selecting a software group, you can add or remove              |
    |software by customizing it. However this requires understanding of         |
    |software dependencies and how Solaris software is packaged.                |
    |                                                                           |
    |  [ ] Entire Distribution plus OEM support ......5838.00 MB                |
    |  [X] Entire Distribution........................5830.00 MB                |
    |  [ ] Developer System Support...................5695.00 MB                |
    |  [ ] End User System Support....................4747.00 MB                |
    |  [ ] Core System Support........................1558.00 MB                |
    |  [ ] Reduced Networking Core System Support.....1512.00 MB                |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    The Select Disks screen is displayed.

  17. After you select the software to be installed, you are prompted to select the disks to create your ZFS storage pool. This screen is similar to previous Solaris releases, except for the following text:
    For ZFS, multiple disks will be configured as mirrors, so the disk you choose, 
    or the slice within the disk must exceed the Suggested Minimum value.

    You can select the disk or disks to be used for your ZFS root pool.

    • If you select a single disk and want to configure mirroring later, see the zpool attach command in Managing Devices in ZFS Storage Pools in Oracle Solaris ZFS Administration Guide.

    • If you select two disks, a mirrored two-disk configuration is setup for your root pool. Either a two-disk or three-disk mirrored pool is optimal.

    • If you have eight disks and you select all eight disks, those eight disks are used for the root pool as one big mirror. This is not an optimal configuration.

    A RAID-Z pool configuration for the root pool is not supported. For more information about configuring ZFS storage pools, see Replication Features of a ZFS Storage Pool in Oracle Solaris ZFS Administration Guide.

    Select Disks
    +---------------------------------------------------------------------------+
    |On this screen you must select the disks for installing Solaris            |
    |software. Start by looking at the Suggested Minimum Field;                 |
    |this value is the approximate space needed to install the software         |
    |you've selected. For ZFS, multiple disks will be configured as mirrors,    |
    |so the disk you choose on the slice within the disk must exceed            |
    |the Suggested Minimum Value.                                               |
    |                                                                           |
    |  Note: xx denotes the current boot disk                                   |
    |                                                                           |
    |Disk Device                                        Available Space         |
    |========================================================================== |
    |                                                                           |
    |[X]xx c0d0                                          29164 MB (F4 to edit)  |
    |                                                                           |
    |                                 Maximum Root Size: 29164 MB               |
    |                                 Suggested Minimum: 5838 MB                |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    The Preserve Data screen is displayed.

  18. (Optional) Preserve data on the disk where you are installing the software.

    If a disk that you have selected for installing contains file systems or have unnamed slices that you want to save, you can save these file systems or unnamed slices now.

    Preserve Data?
    +---------------------------------------------------------------------------+
    |Do you want to preserve existing data? At least one of the disks you've    |
    |selected for installing Solaris software has file systems or unnamed slices|
    |that you may want to save                                                  |
    |                                                                           |
    |                                                                           |
    |    F2_Continue      F4_Preserve    F6_Help                                |
    +---------------------------------------------------------------------------+

    If you pressed F4 to save data, the screen for saving data is displayed.

  19. (Optional) Select the data to save.
    Preserve Data
    +---------------------------------------------------------------------------+
    |On this screen you can perserve the data on some or all disk slices. Any   |
    |slice you preserve will not be touched when Solaris software is installed  |
    |If  you preserve data on / (root), /usr, or /var you  must rename them     |
    |because new versions of these file systems are created when Solaris        |
    |software is installed.                                                     |
    |                                                                           |
    |Warning: Preserving an 'overlap' slice will not preserve any data within   |
    |it. To preserve this data, you must explicitly set the mount point name.  |
    |                                                                           |
    |Mount Point or Pool                   State    Disk/Slice             Size |
    |========================================================================== |
    |[ ] zfs: rpool                        Online    c0d0s0            27133 MB |
    |[ ]swap                                         c0d0s1             2047 MB |
    |[X]overlap                                      c0d0s2            29188 MB |
    |                                                                           |
    |                                                                           |
    |    F2_Continue                     F6_Help                                |
    +---------------------------------------------------------------------------+

    The screen for configuring ZFS settings is displayed.

  20. You can accept the default values. Or, you can change the name of the ZFS pool, the dataset name, the pool size, swap, and dump. In addition, you can modify the way the /var file system is created and mounted.
    Configure ZFS Settings
    +-------------------------------------------------------------------------- -+
    |Specify the name of the pool to be created from the disk(s) you have chosen.|
    |Also specify the name of the dataset to be created within the pool that is  |
    |to be used as the root directory for the filesystem.                        |
    |                                                                            |
    |                                                                            |
    |              ZFS Pool Name: rpool                                          |
    |      ZFS Root Dataset Name: szboot_0507                                    |
    |          ZFS Pool Size in (MB): 17270                                      |
    |          Size of swap area in (MB): 1024                                   |
    |          Size of dump area in (MB): 1024                                   |
    |        (Pool size must be between 9472 MB and 17270 MB)                    |
    |                                                                            |
    |                         [X] Keep / and /var combined                       |
    |                         [ ] Put /var on a separate dataset                 |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+

    The screen for mounting a remote file system is displayed.

  21. Decide if you want to mount a remote file system.
    Mount Remote File System
    +-------------------------------------------------------------------------- -+
    |Do you want to mount a software from a remote file server? This may         |
    |be necessary if you had to remove software because of disk space problems.  |
    |                                                                            |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+
  22. If you are prompted, answer any additional configuration questions.
    • If you set up your Auto Registration preferences using the auto_reg keyword in the sysidcfg file prior to the installation or upgrade, the installer does not prompt you for that information as part of completing the configuration questions.
    • If you did not include the auto_reg keyword in the sysidcfg file, the installer prompts you to provide Auto Registration information as part of completing the configuration questions.

      Note - If you intend to disable Auto Registration at the end of the installation or upgrade, you can proceed through these Auto Registration screens without entering any information.


      1. Choose to either register using your support credentials or to have data sent anonymously.

        Figure 3-3 Text Auto Registration Screen

        This text screen enables you to select either anonymous use or registered use of Auto Registration.

        In the text screen, use the arrow keys to navigate to the option box. Press Return to mark the option box to select registering with your support credentials. Press the Esc_2 key to continue.

      2. Provide the requested proxy and credential information.

        If you chose to register in the prior screen, you are prompted to provide your My Oracle Support user name and password. If you use a proxy server, you can provide the server host name and port number, and the proxy user name and password.

        If you chose an anonymous registration in the prior screen, this screen asks only for the proxy information.


        Figure 3-4 Text Auto Registration Data Entry Screen

        This screen enables you to enter your proxy and credential information for Auto Registration.

        Use the arrow keys to navigate between lines. Type your support credentials and optional proxy entries. Press the Esc_2 key to continue.

        The Profile screen is displayed.

  23. Review the Profile screen that displays your choices for installation. You can change the installation profile if needed. The following example is of a final installation Profile screen.
    Profile
    +-------------------------------------------------------------------------- -+
    |The information shown below is your profile for installing Solaris software.|
    |It reflects the choices you've made on previous screens.                    |
    |                                                                            |
    |============================================================================|
    |                                                                            |
    |                Installation Option: Initial                                |
    |                        Boot Device: c0d0                                 |
    |              Root File System Type: ZFS                                    |
    |                    Client Services: None                                   |
    |                                                                            |
    |                            Regions: North America                          |
    |                      System Locale: C ( C )                                |
    |                                                                            |
    |                           Software: Solaris 10, Entire Distribution        |
    |                          Pool Name: rpool                                  |
    |              Boot Environment Name: szboot_0507                            |
    |                          Pool Size: 17270 MB                               |
    |                    Devices in Pool: c1t2d0                                 |
    |                                                                            |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+
  24. To install the Solaris software, press F2. Follow the instructions on the screen to install the Solaris software.

    When the Solaris interactive text program finishes installing the Solaris software, the system reboots automatically or prompts you to reboot manually.

    If you are installing additional products, you are prompted to insert the DVD or CD for those products. For installation procedures, refer to the appropriate installation documentation.

    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.

    The installation is complete. If you deselected automatic reboot previously in the installer screens, continue to Step 25.

  25. If you previously deselected automatic rebooting, choose one of the following two options:
    • If you do not want to disable Auto Registration, eject any installation media, then manually reboot the system as follows:
      # reboot
    • If you want to disable Auto Registration so that no configuration data is sent to Oracle on reboot, perform the following steps prior to manually rebooting the system.

      Caution

      Caution - To disable Auto Registration using the following procedure, you must have deselected automatic reboot earlier in the installation screens.

      If the system does automatically reboot, you cannot use the following steps to disable Auto Registration. Instead, after the automatic reboot, you can disable Auto Registration by using the regadm command. See Chapter 16, Working With the Oracle Solaris Auto Registration regadm Command (Tasks), in System Administration Guide: Basic Administration.


      1. When the installation is complete and before manually rebooting, press “!” to open a terminal window.
      2. At the command line, remove the /a/var/tmp/autoreg_config file.
      3. Save the file.
      4. Eject any installation media and manually reboot the system.
        # reboot

        After the system reboots, a GRUB menu lists the operating systems that are installed, including the newly installed Solaris OS.

  26. Select which operating system you want to boot.

    The default selection loads if you do not make another selection.

    The GRUB menu list is displayed.

    GNU GRUB version 0.95 (637K lower / 3144640K upper memory)
    +----------------------------------------------------------------------------+
    |szboot_0507                                                                 |
    |szboot_0507 Failsafe                                                        |
    |                                                                            |
    |+---------------------------------------------------------------------------+
    
         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.
  27. When the GRUB menu is displayed, press Enter to boot the default OS instance. The default is the newly installed root pool.

    In this example, the boot environment name is szboot_0507. If you do not select an entry within 10 seconds, the system automatically boots.

  28. When the installation is complete, review the resulting ZFS storage pool and file system information, as in the following example.

    The ZFS root pool is a special kind of pool that requires no administration. The sample zfs list output identifies the root pool components, such as the rpool/ROOT entries that are not accessible by default.

    # zpool status
      pool: rpool
     state: ONLINE
     scrub: none requested
    config:
    
            NAME        STATE     READ WRITE CKSUM
            rpool       ONLINE       0     0     0
            c1d0s0  ONLINE       0     0     0
    
    errors: No known data errors
    # zfs list
    NAME                     USED  AVAIL  REFER  MOUNTPOINT
    rpool                   6.83G  9.66G    62K  /rpool
    rpool/ROOT              5.82G  9.66G    18K  legacy
    rpool/ROOT/szboot_0507  5.82G  9.66G  5.82G  
    rpool/dump               512M  9.66G   512M  -
    rpool/swap               518M  9.66G   518M  -

    If you initially created your ZFS storage pool with one disk, you can convert the disk to a mirrored ZFS configuration after the installation. For more information about adding or attaching disks, see Managing Devices in ZFS Storage Pools in Oracle Solaris ZFS Administration Guide.

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 by Editing the GRUB Menu at Boot Time in System Administration Guide: Basic Administration.

Troubleshooting

If you encounter any problems during the installation, see Appendix A, Troubleshooting (Tasks), in Oracle Solaris 10 9/10 Installation Guide: Custom JumpStart and Advanced Installations.