1. Skip to Menu
  2. Skip to Content
  3. Skip to Footer>
Saturday Dec 21st     4:05 AM PST                                  

Installing Solaris 10 U11 1/13 from cdrom using ZFS

PDF Print E-mail

Written by Greg King Saturday, 24 January 2015 14:30

DISCLAIMER: This document is nothing more than the musings of the author as he attempts to perform the stated tasks. Conclusions and approaches might very well be incorrect, inefficient or outside of professionally accepted best practices. Use this documentation at your own risk.

In this documentation, screen outputs will be presented in green. Where keyboard input is required, the prompt will be as follows: # means you should enter this from the super user prompt, $ means you should be as a non-super user. command is the command you should type at the prompt.

#ls -al

means you should type ls -al at the super user prompt.

This document shows how to install a Solaris 10 U11 1/13 image with ZFS from CDrom.  In our example, we are installing onto a T5220 with multiple hard drives.

Boot and install from CD

Insert CD  / DVD and boot system.

If it boots to an operating system, type # init 0

We want an {OK} prompt so if you get that when booting, your good.  The # init 0 should put you at an ok prompt as well.

The next command is somewhat obvious.  We wish to boot from cdrom and install the operating system.  We want to do it with 'nowin' meaning a text install.  This is important because we want to install the Zetabtyte File System (zfs) which is not an option with the graphical installer.

{OK} boot cdrom - install nowin

After some boot info, it will finally ask you for a language

Select a Language

0. English
1. Brazilian Portuguese
2. French
3. German
4. Italian
5. Japanese
6. Korean
7. Simplified Chinese
8. Spanish
9. Swedish
10. Traditional Chinese

Please make a choice (0 - 10), or press h or ? for help:

enter 0

What type of terminal are you using?
1) ANSI Standard CRT
2) DEC VT52
3) DEC VT100
4) Heathkit 19
5) Lear Siegler ADM31
6) PC Console
7) Sun Command Tool
8) Sun Workstation
9) Televideo 910
10) Televideo 925
11) Wyse Model 50
12) X Terminal Emulator (xterms)
13) CDE Terminal Emulator (dtterm)
14) Other
Type the number of your choice and press Return:

i've found the option 3 is the best, but you may not agree.

========

It will then notify you about navigation issues and prompt you for an F2 to continue.  Hit F2

========

It the tells you a little about the next section which is identifying the system and prompts you for an F2

========

Networked
─────────
[X] Yes
[    ] No

hit F2 assuming you are networking the system

========

─ Configure Multiple Network Interfaces    ────────────────────────────────────────

Multiple network interfaces have been    detected on this system.  Specify all
of the network interfaces you    want to    configure.

Note:    You must choose    at least one interface to configure.

Network interfaces
──────────────────
[X] e1000g0
[    ] e1000g1
[    ] e1000g2
[    ] e1000g3

────────────────────────────────────────────────────────────────────────────────
F2_Continue       F6_Help

I have multiple Network interfaces, so it is asking me which I want to be the primary.  I chose the e1000g0 interface and hit F2

===============
─ DHCP for e1000g0 ─────────────────────────────────────────────────────────────

Specify whether or not this network interface    should use DHCP    to configure
itself.  Choose Yes if DHCP is to be used, or    No if the network interface is
to be    configured manually.

NOTE:    DHCP support will not be enabled, if selected, until after the system
reboots.

Use DHCP for e1000g0
────────────────────
[    ] Yes
[X] No

────────────────────────────────────────────────────────────────────────────────
F2_Continue       F6_Help

We don't want dhcp on this interface (we will assign it an ip address manually)
hit F2

==============

─ Host Name for    e1000g0    ────────────────────────────────────────────────────────

Enter    the host name which identifies this system on the network.  The    name
must be unique within    your domain; creating a    duplicate host name will cause
problems on the network after    you install Solaris.

A host name must have    at least one character;    it can contain letters,
digits, and minus signs (-).


A host name must be between 1 and 255 characters.

enter a hostname for the interface.  I'm calling this one saturn
enter a hostname and hit f2

============

─ IP Address for e1000g0 ───────────────────────────────────────────────────────

Enter    the Internet Protocol (IP) address for this network interface.    It
must be unique and follow your site's    address    conventions, or    a
system/network failure could result.

IP addresses contain four sets of numbers separated by periods (for example
129.200.9.1).


IP address for e1000g0

────────────────────────────────────────────────────────────────────────────────
F2_Continue       F6_Help

give your interface an ip address.  I'm using 192.168.3.106

hit f2 to continue

==============\

it is part of a subnet and the subnet mask is 255.255.255.0

==============

we don't want ipv6
==============

Confirmation

─ Confirm Information for e1000g0 ──────────────────────────────────────────────

> Confirm the    following information.    If it is correct, press    F2;
to change any information, press F4.


Networked: Yes
Use DHCP: No
Host name: saturn
IP address: 192.168.3.106
System part    of a subnet: Yes
Netmask: 255.255.255.0
Enable IPv6: No

────────────────────────────────────────────────────────────────────────────────
F2_Continue    F4_Change    F6_Help

hit F2 unless you want to change something

============

We don't want Kerberos Security

hit F2 twice
============

─ Name Service ─────────────────────────────────────────────────────────────────

On this screen you must provide name service information.  Select the    name
service that will be used by this system, or None if your system will    either
not use a name service at all, or if it will use a name service not listed
here.

> To make a selection, use the arrow keys to highlight the option
and    press Return to    mark it    [X].


Name service
────────────
[ ] NIS+
[ ] NIS
[ ] DNS
[ ] LDAP
[X] None
────────────────────────────────────────────────────────────────────────────────
F2_Continue       F6_Help

We don't want to use the built in name service functions (later documents will install our custom LDAP.  Cursor down to NONE and hit space to select.
hit F2

Confirm by hitting F2, assuming the choice is what you wanted (we want NONE).

─ NFSv4    Domain Name ────────────────────────────────────────────────────────────

NFS version 4    uses a domain name that    is automatically derived from the
system's naming services. The    derived    domain name is sufficient for most
configurations. In a few cases, mounts that cross domain boundaries might
cause    files to appear    to be owned by "nobody"    due to the lack    of a common
domain name.

The current NFSv4 default domain is: ""


NFSv4 Domain Configuration
──────────────────────────────────────────────
[X] Use the NFSv4 domain derived by the system
[    ] Specify a different NFSv4 domain
────────────────────────────────────────────────────────────────────────────────
F2_Continue       F6_Help

We want the default option, so hit F2.  It will ask to confirm, hit F2 again.

=============

─ Time Zone ────────────────────────────────────────────────────────────────────

On this screen you must specify your default time zone.  You can specify a
time zone in three ways:  select one of the continents or oceans from    the
list,    select other - offset from GMT,    or other - specify time    zone file.

> To make a selection, use the arrow keys to highlight the option and
press Return to mark it [X].


Continents and Oceans
──────────────────────────────────
-   [ ] Africa
│   [    ] Americas
│   [    ] Antarctica
│   [    ] Arctic Ocean
│   [    ] Asia
│   [    ] Atlantic Ocean
│   [    ] Australia
│   [    ] Europe
v   [    ] Indian Ocean

────────────────────────────────────────────────────────────────────────────────
F2_Continue       F6_Help

cursor down to

[ ] other - offset from GMT

and select it

─ Offset From GMT ──────────────────────────────────────────────────────────────

Specify the number of    hours of difference between Greenwich Mean Time    (also
called Coordinated Universal Time) and your time zone.  If you are west of
Greenwich, England, enter a positive number 12 through 1; if you are east of
Greenwich, England enter a negative number -1    through    -13.

────────────────────────────────────────────────────────────────────────────────
F2_Continue       F5_Cancel    F6_Help

enter 0

which provides us GMT , hit F2

===================

You are asked to confirm time and date, don't worry about it... we will set the NTP server up later.  Hit F2
===================

Confirm date / time with F2

===================

─ Provide Oracle Configuration Manager Registration Information    ────────────────

To improve products and services, Oracle Solaris communicates    configuration
data to Oracle after rebooting.

You can register your    version    of Oracle Solaris to capture this data for
your use, or the data    is sent    anonymously.

For information about    what configuration data    is communicated    and how    to
control this facility, see the Release Notes or
www.oracle.com/goto/solarisautoreg

> Use    the arrow keys to select the option and    press Return to
mark it [X].

─────────────────────────────────────────────────────────────────
[ ] I would like to register using My Oracle Support information.

────────────────────────────────────────────────────────────────────────────────
F2_Continue       F6_Help

You can't register, and even if you say you don't want to, it ignores it.  Uncheck the box and hit F2 twice.

System Identification is Complete!

You will now get some errors about  not finding matching rules in the rules.ok file.  This is normal.

Press the return key for an interactive Solaris install program...
hit enter

─ 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 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 upgradable.
- "Flash" installs your system from one or more Flash Archives.

────────────────────────────────────────────────────────────────────────────────
F2_Standard    F4_Flash    F5_Exit       F6_Help

we want Standard.  Hit F2

─ iSCSI    Installation ───────────────────────────────────────────────────────────

Do you want to install Oracle    Solaris    10 on an iSCSI target?

NOTE:    You must have created the iSCSI    target before beginning    the OS
installation and the target system should be running Oracle Solaris 11 or
Solaris 10 U5    or greater.

If you choose    to install the OS on a non-iSCSI target, you will be taken
directly to the Oracle Solaris 10 installation screens.

[X] Install on non-iSCSI target
[ ] Install on iSCSI target

────────────────────────────────────────────────────────────────────────────────
F2_Continue    F3_Go Back    F5_Exit

we want the default, hit F2

Automatically eject CD is ok, Hit F2

Automatically Reboot is ok, Hit F2

─ Choose Media ─────────────────────────────────────────────────────────────────

Please specify the media from    which you will install the Solaris Operating
System.
Media:
[ X ]  CD/DVD
[    ]  Network File System
────────────────────────────────────────────────────────────────────────────────
F2_Continue    F3_Go Back      F5_Exit

we want to install from CD / DVD, so cursor up and select it.  Hit F2

================
you may or may not get a warning about an existing ZFS installation, and not being able to install over it.  Hit F2

================

Hit F2 to accept license (or not)

================

─ Select Geographic Regions ────────────────────────────────────────────────────

Select the geographic    regions    for which support should be installed.

> [/] South America
> [/]    Central    America
> [ ]    Australasia
> [/]    Southern Europe
> [ ]    Eastern    Europe
> [ ]    Middle East
> [ ]    Northern Africa
> [ ]    Southern Africa
> [ ]    Asia
> [/]    Central    Europe
> [X] North America
> [/]    Western    Europe
> [ ]    Northern Europe

Region is selected.  Press Return to deselect
────────────────────────────────────────────────────────────────────────────────
F2_Continue    F3_Go Back    F5_Exit    F6_Help

select North America (as shown) and hit F2

─ Select System    Locale ─────────────────────────────────────────────────────────

Select the initial locale to be used after the system    has been installed.

[X]     POSIX C ( C )
North America
[ ]        Canada-English (ISO8859-1) ( en_CA.ISO8859-1 )
[ ]        Canada (English) (UTF-8) ( en_CA.UTF-8 )
[ ]        Canada-French (ISO8859-1) (    fr_CA.ISO8859-1    )
[ ]        Canada (French) (UTF-8) ( fr_CA.UTF-8 )
[ ]        Mexico (ISO8859-1) ( es_MX.ISO8859-1 )
[ ]        Spanish, Mexico (UTF-8) ( es_MX.UTF-8 )
[ ]        U.S.A. (UTF-8) ( en_US.UTF-8 )
[ ]        U.S.A. (en_US.ISO8859-15) (    en_US.ISO8859-15 )
[ ]        U.S.A. (en_US.ISO8859-1) ( en_US.ISO8859-1 )

────────────────────────────────────────────────────────────────────────────────
F2_Continue    F3_Go Back      F5_Exit    F6_Help

Select POSIX C (very important for graphical users!)
Hit F2

─ Additional Products ──────────────────────────────────────────────────────────

To scan for additional products, select the location you wish    to scan.
Products found at the    selected location that are in a    Web Start Ready
install form will be added to    the Products list.

Web Start Ready product scan location:

[X]  None
[    ]  CD/DVD
[    ]  Network File    System
────────────────────────────────────────────────────────────────────────────────
F2_Continue    F3_Go Back      F5_Exit

we have no additional products, hit F2

─ Choose Filesystem Type ───────────────────────────────────────────────────────

Select the filesystem    to use for your    Solaris    installation


[ ] UFS
[X] ZFS

────────────────────────────────────────────────────────────────────────────────
F2_Continue    F3_Go Back    F5_Exit    F6_Help

We WANT ZFS. Make Sure you you selected it and hit F2.

─ 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    .......    10779.00 MB
[X]  Entire Distribution ........................ 10738.00 MB
[    ]  Developer System Support ...................    10507.00 MB
[    ]  End User System Support ....................    9399.00    MB
[    ]  Core    System Support ........................    5150.00    MB
[    ]  Reduced Networking Core System Support .....    5094.00    MB
────────────────────────────────────────────────────────────────────────────────
F2_Continue    F3_Go Back      F4_Customize      F5_Exit    F6_Help\

we want the default, so hit F2

it will now ask what disks you wish to install on.  I have no idea what disks you have, so will not show my options else I confuse you.  It will show the disks you have available to install on.  If you are presented with multiple options of the same disk size, only chose one of them.  Mirroring the installation disks at this point will take a much longer time, so only install to one disk.  You can mirror the disks with a zpool command once you have booted.

==============

Assuming this is a fresh install, you don't need to preserve data, hit F2

==============

─ 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: s10s_u11wos_24a
ZFS Pool Size (in    MB): 139990
Size of Swap Area (in    MB): 4096
Size of Dump Area (in    MB): 2048
(Pool size must    be between 6642    MB and 139990 MB)

[X] Keep / and    /var combined
[ ] Put /var on a separate dataset

────────────────────────────────────────────────────────────────────────────────
F2_Continue    F3_Go Back      F5_Exit    F6_Help

Thre is an important choice to make here!  Do you wish /VAR to be on a separate dataset ?  I've had problems with flasharchive installs when making them separate.  I personally don't see the advantage in keeping them separate if you are an active sysadmin.  The choice is yours!  I'm keeping them combined in this example.

=================================

We are not mounting a remote file system, so hitting F2 is ok.

─ 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: c1t2d0
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: s10s_u11wos_24a
Pool Size: 139990 MB
Devices in Pool: c1t2d0
────────────────────────────────────────────────────────────────────────────────
F2_Begin Installation    F4_Change       F5_Exit    F6_Help

Here is a summary of your install choices.  Hit F2 to begin the install

When the install is complete, it will prompt you for a root password to apply to your system.


<end of document>
  Solaris Lab
eXTReMe Tracker
Content View Hits : 438587