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

Document Information

Preface

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

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

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

ZFS Root Pool Installation (Planning)

Performing Initial Installation With the Oracle Solaris Interactive Text Installer for ZFS

SPARC: How to Install a ZFS Root Pool

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

x86: How to Install With the Oracle Solaris Interactive Text Installer With GRUB for ZFS

4.  Installing the Oracle Solaris 10 OS on an iSCSI Target Disk

Index

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

You can perform an initial installation the Oracle Solaris OS by using the Oracle 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 Oracle Solaris OS from DVD or CD media.

x86: How to Install With the Oracle Solaris Interactive Text Installer With GRUB for ZFS

The Oracle Solaris installation program for x86 based systems uses the GRUB boot loader. This procedure describes how to install a stand-alone 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 Oracle Solaris Administration: 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 Oracle Solaris Operating System DVD or the Oracle 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)
    +-------------------------------------------------------------------------+
    | Oracle Solaris                                                          |
    | Oracle Solaris Serial Console ttya                                      |
    | Oracle 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 Oracle 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 the interactive text installer in a desktop session by typing 3, then press Enter.

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

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

  6. (Optional) If a screen appears listing keyboard layouts, select the desired keyboard layout and press F2 to continue.

    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. If the following screen is displayed, press Enter.
    Starting Oracle 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: |
    |                                                            |
    |      Oracle Solaris Interactive Text (Console session)     |
    -------------------------------------------------------------+

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

  8. 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. If language choices are displayed, 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.

    The Oracle Solaris Installation screen is displayed.

  11. Provide system configuration information if prompted.
  12. If prompted, indicate whether you want to enable network services for use by remote clients.

    For further information about these options, see Planning Network Security in Oracle Solaris 10 1/13 Installation Guide: Planning for Installation and Upgrade.

    After you answer the configuration questions and set the root password, the Oracle 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 installed 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       F4-Flash       F5-Exit      F6_Help                   |
    +----------------------------------------------------------------------------+
  13. Choose the installation method.
    • To install a ZFS flash archive, press F4.

      For step-by-step instructions on installing a ZFS flash archive, see Oracle Solaris ZFS Administration Guide.

    • To perform an initial installation of a ZFS root file system, press F2.
  14. Indicate whether you want to reboot the system automatically and whether you want to automatically eject the disc. Press F2.

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

    Press F2 to continue when you see the message that you already have ZFS storage pools on the system.

    The License screen appears.

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

  16. To perform a ZFS installation press F4 for an initial installation.

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

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

    The Choose a Filesystem Type is displayed.

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

  19. 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 ......8575.00 MB                |
    |  [X] Entire Distribution........................8529.00 MB                |
    |  [ ] Developer System Support...................8336.00 MB                |
    |  [ ] End User System Support....................7074.00 MB                |
    |  [ ] Core System Support........................3093.00 MB                |
    |  [ ] Reduced Networking Core System Support.....3035.00 MB                |
    |                                                                           |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    The Select Disks screen is displayed.

    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 Oracle 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.
  20. Select the disk or disks to be used for your ZFS root pool.

    Note the following information:

    • 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: ** denotes the current boot disk                                   |
    |                                                                           |
    |Disk Device                                        Available Space         |
    |========================================================================== |
    |                                                                           |
    |[X]** c0t0d0                                        69994 MB (F4 to edit)  |
    |[X]   c0t1d0                                            69994 MB           |
    |[-]   c0t2d0                                                0 MB           |
    |[-]   c0t3d0                                                0 MB           |
    |                                                                           |
    |                                 Maximum Root Size: 69994 MB               |
    |                                 Suggested Minimum: 8529 MB                |
    |                                                                           |
    |    F2_Continue      F3_Go Back      F4_Edit      F6_Help                  |
    +---------------------------------------------------------------------------+

    The Preserve Data screen is displayed.

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

  22. (Optional) Select the data to save.

    To manage a ZFS root to file system, provide the size of the entire disk in a slice. For example, provide the size in slice 0. Sharing different root file systems on the same disk can be hard to manage.

    To copy data off the disk to be installed as the root file system, exit the installer and back up the data that you want to preserve on this disk, and then restart the installer.

    # install-solaris

    The screen for configuring ZFS settings is displayed.

  23. You can accept the default values or modify them.

    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: s10ZfsBE                                       |
    |          ZFS Pool Size in (MB): 69995                                      |
    |          Size of swap area in (MB): 2048                                   |
    |          Size of dump area in (MB): 1024                                   |
    |        (Pool size must be between 6481 MB and 69995 MB)                    |
    |                                                                            |
    |                         [X] Keep / and /var combined                       |
    |                         [ ] Put /var on a separate dataset                 |
    |                                                                            |
    |    F2_Continue     F3_Go Back     F5_Exit      F6_Help                     |
    +------------------------------------------------------------------------- --+

    The screen for mounting a remote file system is displayed.

  24. Indicate whether 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                                                |
    +------------------------------------------------------------------------- --+
  25. If you are prompted, provide Auto Registration information.
    • 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. Select the option to register using your support credentials or deselect the option to have data sent anonymously.
        image:This text screen enables you to select either anonymous use or registered use of Auto Registration.

        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 Esc–2 key to continue.

      2. Provide the requested proxy and credential information.

        If you chose to register with your support information, 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 to register anonymously, this screen asks only for the proxy information.


        Figure 3-1 Text Auto Registration Data Entry Screen

        image: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 Esc–2 key to continue.

        The Profile screen is displayed.

  26. 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: c0t0d0                                 |
    |              Root File System Type: ZFS                                    |
    |                    Client Services: None                                   |
    |                      System Locale: C ( C )                                |
    |                                                                            |
    |                           Software: Solaris 10, Entire Distribution        |
    |                          Pool Name: rpool                                  |
    |              Boot Environment Name: s10ZfsBE                               |
    |                          Pool Size: 69995 MB                               |
    |                    Devices in Pool: c0t0d0                                 |
    |                                     c0t1d0                                 |
    |                                                                            |
    |    F2_Begin Installation    F4_Change    F5_Exit              F6_Help      |
    +------------------------------------------------------------------------- --+
  27. To install the Oracle Solaris software, press F2 and follow the instructions.

    When the Oracle Solaris interactive text program finishes installing the Oracle 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 28.

  28. 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 - 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 Oracle Configuration Manager (OCM). See Chapter 17, Working With Oracle Configuration Manager, in Oracle Solaris Administration: 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.
        # rm /a/var/tmp/autoreg_config
      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 Oracle Solaris OS.

  29. 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)
    +----------------------------------------------------------------------------+
    |Oracle Solaris 10 8/11 s10zfsBE                                             |
    |Solaris 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.
  30. 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.

  31. When the installation is complete, review the resulting ZFS storage pool and file system information.

    In this example, the sample zpool status and zfs list output identify the root pool components.

    # zpool status
      pool: rpool
     state: ONLINE
     scan: none requested
    config:
    
            NAME        STATE     READ WRITE CKSUM
            rpool       ONLINE       0     0     0
             mirror-0  ONLINE        0     0     0
              c0t0d0s0 ONLINE        0     0     0
              c0t1d0s0 ONLINE        0     0     0
    
    errors: No known data errors
    # zfs list
    NAME                     USED  AVAIL  REFER  MOUNTPOINT
    rpool                   7.15G  59.4G    106K  /rpool
    rpool/ROOT              4.45G  59.4G     31K  legacy
    rpool/ROOT/s10zfsBE     4.45G  59.4G   4.45G  /
    rpool/dump              1.00G  59.4G   1.00G  -
    rpool/export              63K  59.4G     32K  /export
    rpool/export/home         31K  59.4G     31K  /export/home
    rpool/swap              2.06G  61.5G     16K  -

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