JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Transitioning From Oracle Solaris 10 to Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Transitioning From Oracle Solaris 10 to an Oracle Solaris 11 Release (Overview)

2.  Transitioning to an Oracle Solaris 11 Installation Method

3.  Managing Devices

4.  Managing Storage Features

5.  Managing File Systems

6.  Managing Software and Boot Environments

7.  Managing Network Configuration

8.  Managing System Configuration

Comparing Oracle Solaris 10 System Configuration to Oracle Solaris 11 System Configuration

System Configuration Changes and Migration of System Configuration to SMF

SMF Administrative Changes

SMF Manifest Creation Tool

System Process Summary

System Console, Terminal Services, and Power Management Changes

System Console and Terminal Services Changes

Power Management Configuration Changes

System Configuration Tools Changes

System Registration and System Support Changes

System Boot, Recovery, and Platform Changes

GRUB, Firmware, and Disk Labeling Changes

Booting for System Recovery

How to Boot From a Backup BE for Recovery Purposes

How to Boot the System For Recovery Purposes

Boot, Platform, and Hardware Changes

Printer Configuration and Management Changes

Removal of the LP Print Service

How to Set Up Your Printing Environment After Installing Oracle Solaris 11

Internationalization and Localization Changes

Locale and Time Zone Configuration Changes

9.  Managing Security

10.  Managing Oracle Solaris Releases in a Virtual Environment

11.  Managing User Accounts and User Environments

12.  Managing Desktop Features

A.  SPARC Automated Installation Scenario

System Boot, Recovery, and Platform Changes

The system boots from a ZFS root file system in Oracle Solaris 11. By default, the ZFS root file system is contained within a ZFS root pool, named rpool. Creating a UFS file system is still supported, but you cannot boot from a UFS or a Solaris Volume Manager root file system in this release.

Review the following information that impacts the way the system is booted for recovery purposes:

GRUB, Firmware, and Disk Labeling Changes

Starting with Oracle Solaris 11.1, the following changes are introduced:

If you are running a release that supports GRUB Legacy and are moving to a release that supports GRUB 2, see Upgrading Your GRUB Legacy System to a Release That Supports GRUB 2 in Booting and Shutting Down Oracle Solaris 11.1 Systems.

Booting for System Recovery

The following error and recovery scenarios are similar to previous releases:

How to Boot From a Backup BE for Recovery Purposes

Booting the failsafe archive is no longer supported on SPARC and x86 platforms. Whenever possible, use up-to-date backup BEs for recovery purposes. BEs are bootable instances of the Oracle Solaris image, plus any other application software packages that are installed into that image. Multiple BEs reduce risk when updating software because the backup BE preserves the original BE.

You can create a new BE based on an active or an inactive boot environment. Or, you can create a new BE based on a clone of your original BE. A clone copies the root dataset and everything hierarchically under the main root dataset of the original BE. See Creating and Administering Oracle Solaris 11.1 Boot Environments.

If the system does not boot from the active BE, select a backup BE from which to boot.

How to Boot the System For Recovery Purposes

  1. Select the appropriate boot method.

    Note - On x86 platforms, use the reboot command with the -p option to initiate a standard reboot of the system, which enables you to view the GRUB menu or select an installation option. Otherwise, the system defaults to a fast reboot.


    • x86: Live Media – Boot from the installation media and use a GNOME terminal for the recovery procedure.

    • SPARC: Text installation – Boot from the install media or from the network, and select option 3 Shell from the text installation screen.

    • x86: Text installation – From the GRUB menu, select the Text Installer and command line boot entry, then select the option 3 Shell from the text installation screen.

    • SPARC: Automated installation – Use the following command to boot directly from an installation menu that allows you to exit to a shell.

      ok boot net:dhcp
    • x86: Automated installation – Boot from an install server on the network that supports a PXE boot. Select the Text Installer and command line entry from the GRUB menu. Then, select the option 3 Shell from the text installation screen.

    For example, after the system is booted, select option 3 Shell:

            1  Install Oracle Solaris
            2  Install Additional Drivers
            3  Shell
            4  Terminal type (currently xterm)
            5  Reboot
    
    Please enter a number [1]: 3
    To return to the main menu, exit the shell
    #
  2. Select from the following boot recovery problems:
    • Resolve a bad root shell by booting the system to single-user mode and correcting the shell entry in the /etc/passwd file.
      • On x86 based systems, boot the system in single-user mode by editing the selected boot entry in the GRUB menu. Add the -s option to end of the $multiboot line.
        $multiboot /ROOT/s11u1_24b/@/$kern $kern -B $zfs_bootfs -s
      • On SPARC based systems, shut down the system and boot in single-user mode. After you log in as root, edit the /etc/passwd file, and fix the root shell entry.
        # zpool import -f rpool
        # beadm list
        be_find_current_be: failed to find current BE name
        BE        Active Mountpoint Space Policy Created          
        --        ------ ---------- ----- ------ -------          
        solaris   -      -          7.74M static 2013-02-09 09:40 
        solaris-1 R      -          4.08G static 2013-02-13 07:24 
        # mkdir /a
        # beadm mount solaris-1 /a
        # TERM=vt100
        # export TERM
        # cd /a/etc
        # vi shadow 
        <Carefully remove the unknown password>
        # cd /
        # beadm umount solaris-1
        # halt
        # init 0
        ok boot -s
        
        Boot device: /pci@780/pci@0/pci@9/scsi@0/disk@0,0:a File and args: -s
        SunOS Release 5.11 Version 11.1 64-bit
        Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights
        reserved.
        Booting to milestone "milestone/single-user:default".
        Hostname: tardis.central
        Requesting System Maintenance Mode
        SINGLE USER MODE
        
        Enter user name for system maintenance (control-d to bypass): root
        Enter root password (control-d to bypass): xxxxxxx
        single-user privilege assigned to root on /dev/console.
        Entering System Maintenance Mode
        
        Feb 13 00:21:31 su: 'su root' succeeded for root on /dev/console
        Oracle Corporation SunOS 5.11 11.1 September 2012
        su: No shell /usr/bin/mybash.  Trying fallback shell /sbin/sh.
        root@tardis.central:~# TERM=vt100; export TERM
        root@tardis.central:~# vi /etc/passwd
        root@tardis.central:~# <Press control-d> 
        logout
        svc.startd: Returning to milestone all.
    • x86: Resolve a corrupt boot loader problem by reinstalling it, as follows:
      1. Follow the directions in Step 1 to boot the system from media or from the network, then import the root pool.
        # zpool import -f rpool
      2. Reinstall the boot loader.
        # bootadm install-bootloader -f  -P pool-name

        where -f forces the installation of the boot loader and bypasses any versioning checks for not downgrading the version of the boot loader on the system. The -p option is used to specify the root pool.


        Note - Do not used the -f option unless you are sure that you want to overwrite the boot loader with the version that is on the media. See Installing GRUB 2 by Using the bootadm install-bootloader Command in Booting and Shutting Down Oracle Solaris 11.1 Systems.


      3. Export the root pool.
        # zpool export pool-name
      4. Reboot the system.
    • Resolve an unknown root password problem that prevents you from logging into the system.
      1. Follow the instructions in Step 1 to boot from media or from the network, then import the root pool (rpool) and mount the BE to remove the root password entry.

        This process is identical on SPARC and x86 platforms.

      2. Set the root password by booting in single-user mode and setting the password.

        This step assumes that you have removed an unknown root password in the previous step.

        • On x86 based systems, edit the selected boot entry in the GRUB menu, adding the -s option at the end of the $multiboot line.
          $multiboot /ROOT/s11u1_24b/@/$kern $kern -B $zfs_bootfs -s
        • On SPARC based systems, boot the system to single-user mode, log in as root, and set the root password. For example:
          ok boot -s
          
          Boot device: /pci@780/pci@0/pci@9/scsi@0/disk@0,0:a File and args: -s
          SunOS Release 5.11 Version 11.1 64-bit
          Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
          Booting to milestone "milestone/single-user:default".
          Hostname: tardis.central
          Requesting System Maintenance Mode
          SINGLE USER MODE
          
          Enter user name for system maintenance (control-d to bypass): root
          Enter root password (control-d to bypass): <Press return>
          single-user privilege assigned to root on /dev/console.
          Entering System Maintenance Mode
          
          Feb 13 00:58:42 su: 'su root' succeeded for root on /dev/console
          Oracle Corporation      SunOS 5.11      11.1    September 2012
          root@tardis.central:~# passwd -r files root
          New Password: xxxxxx
          Re-enter new Password: xxxxxx
          passwd: password successfully changed for root
          root@tardis.central:~# <Press control-d> 
          logout
          svc.startd: Returning to milestone all.

Boot, Platform, and Hardware Changes

Note the following boot, platform, and hardware feature changes in Oracle Solaris 11: