JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 10 8/11 Installation Guide: Basic Installations     Oracle Solaris 10 8/11 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)

What's New in the Oracle Solaris 10 8/11 Release

What's New in the Solaris 10 10/09 Release

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: To Install With the Oracle Solaris Interactive Text Installer With GRUB for ZFS

Index

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

This procedure describes how to install a standalone SPARC based system from CD or DVD media.

SPARC: How to Install a ZFS Root Pool

Before You Begin

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

Ensure that you have the necessary media.

If you want to preserve any existing data or applications, back up the system.

  1. Insert the Oracle Solaris Operating System for SPARC Platforms DVD or Oracle Solaris Software for SPARC Platforms - 1 CD.
  2. Boot the system.
    • If the system is new, just removed from its packaging, turn on the system.
    • If you want to install a system that is currently running, shut down the system.

    The ok prompt is displayed.

  3. Start the Oracle Solaris interactive text installer. You cannot run the installation GUI to install a ZFS root pool. To boot from the local DVD or CD and start the text installer in a desktop session, type the following command:
    ok boot cdrom - text
    text

    Specifies to run the text installer in a desktop session. Use this option to override the default GUI installer.

    If the operating system cannot locate a self-identifying keyboard, the next screen displays keyboard layout selections.


    Note - PS/2 keyboards are not self-identifying. You will be asked to select the keyboard layout during the installation.


  4. (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. A list of language choices might be displayed. If this screen is not displayed, skip to Step 6.

  5. (Optional) You might see a screen to select a language. 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                                               |
    +---------------------------------------------------------------------------+
  6. Press F2 to display the Oracle Solaris Installation screen.

    Answer any configuration prompts that appear.

    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_Standard    F4_Flash    F5_Exit     F6_Help                          |
    +----------------------------------------------------------------------------+

    To install a ZFS Flash archive, press F4. For step-by-step instructions on installing a ZFS Flash archive, see the Oracle Solaris ZFS Administration Guide.

    To perform an initial installation of a ZFS root file system, press F2.

  7. Decide whether you want to reboot the system automatically and whether you want to automatically eject the disc. Press F2.

    Important: If you want to disable Auto Registration, a feature of Oracle Solaris, after the installation and prior to rebooting, 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.

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

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

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

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

    The Choose a Filesystem Type screen is displayed.

  11. To create a ZFS root pool, select the ZFS option and press F2.
    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.

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

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

    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 set up 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     F5_Exit    F6_Help            |
    +---------------------------------------------------------------------------+

    The Preserve Data screen is displayed.

  14. (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 has 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.

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

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

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

      Note - For information about using the auto_reg keyword, see auto_reg Keyword in Oracle Solaris 10 8/11 Installation Guide: Network-Based Installations.


    • 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-1 Text Auto Registration Screen

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

        In this 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-2 Text Auto Registration Data Entry Screen

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

        In this screen, 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.

  19. 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              |
    +------------------------------------------------------------------------- --+
  20. To install the Oracle Solaris software, press F2. Follow the instructions on the screen to install the Oracle Solaris software.

    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 rebooting after installation, continue to Step 21.

  21. 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 17, 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

        Your system boots to the ZFS root pool that you installed.

        You can display a list of available boot environments by using the boot command with the -L option. For more information about SPARC based booting, see Booting From a Specified ZFS Root File System on a SPARC Based System in System Administration Guide: Basic Administration.

  22. (Optional) You can review the resulting ZFS storage pool and file system information, as in the following 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 have 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.

Troubleshooting

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