Skip Navigation Links | |
Exit Print View | |
Oracle Solaris 10 1/13 Installation Guide: Basic Installations Oracle Solaris 10 1/13 Information Library |
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)
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
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.
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.
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 DVD-ROM or CD-ROM drive that is attached to another machine. For detailed instructions, refer to Appendix B, Installing or Upgrading Remotely (Tasks), in Oracle Solaris 10 1/13 Installation Guide: Network-Based Installations.
Ensure that you have the necessary media.
If you are installing from a DVD, use the Oracle Solaris Operating System for x86 Platforms DVD.
If you are installing from CD media:
You need the following media.
Oracle Solaris Software CDs.
Oracle Solaris Languages for x86 Platforms CDs – The installation program prompts you for these CDs if necessary to support languages for specific geographic regions.
Note - Starting with the Oracle Solaris 10 8/11 release, only a DVD is provided. Oracle Solaris Software CDs are no longer provided.
Check your system BIOS to ensure you can boot from CD or DVD media.
If you are installing the Oracle Solaris OS on a system that is not produced by Oracle Corporation, check the Oracle Solaris Hardware Compatibility List at http://www.oracle.com/webfolder/technetwork/hcl/index.html before you begin to install.
(Optional) Back up your system.
If you want to preserve any existing data or applications, back up the system. For backing up a ZFS root pool, see Recovering the ZFS Root Pool or Root Pool Snapshots in Oracle Solaris ZFS Administration Guide.
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.
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.
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.
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.
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.
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.
+------------------------------------------------------------+ |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.
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 | +---------------------------------------------------------------------------+
The Oracle Solaris Installation screen is displayed.
See Chapter 2, Preconfiguring System Configuration Information (Tasks), in Oracle Solaris 10 1/13 Installation Guide: Network-Based Installations for more information.
Use the Checklist for Installation to help you answer the configuration questions.
If desired, you can enable network services after installation by using the netservices open command or by enabling individual services by using SMF commands. See Revising Security Settings After Installation in Oracle Solaris 10 1/13 Installation Guide: Planning for Installation and Upgrade.
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 | +----------------------------------------------------------------------------+
For step-by-step instructions on installing a ZFS flash archive, see Oracle Solaris ZFS Administration Guide.
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.
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.
Screens for choosing geographic regions, locales, and additional products are displayed.
The Choose a Filesystem Type is displayed.
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.
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.
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.
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.
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.
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.
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 | +------------------------------------------------------------------------- --+
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.
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.
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
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.
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 | +------------------------------------------------------------------------- --+
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.
# reboot
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 |
# rm /a/var/tmp/autoreg_config
# reboot
After the system reboots, a GRUB menu lists the operating systems that are installed, including the newly installed Oracle Solaris OS.
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.
In this example, the boot environment name is szboot_0507. If you do not select an entry within 10 seconds, the system automatically boots.
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.
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.