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

Document Information

Preface

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

2.  Transitioning to an Oracle Solaris 11 Installation Method

3.  Managing Devices

4.  Managing Storage Features

5.  Managing File Systems

6.  Managing Software

7.  Managing Network Configuration

8.  Managing System Configuration

Comparing Oracle Solaris 10 and Oracle Solaris 11 System Configuration Tools

System Configuration Changes and Migration of System Configuration to SMF

SMF Administrative Changes

System Process Changes

System Console, Terminal Services, and Power Management Changes

Power Management Configuration

System Configuration Tools Changes

System Registration Changes

System Boot, Recovery, and Platform Changes

Booting for System Recovery Changes

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.  User Account Management and User Environment Changes

12.  Using Oracle Solaris Desktop Features

A.  Transitioning From Previous Oracle Solaris 11 Releases to Oracle Solaris 11

System Boot, Recovery, and Platform Changes

The system boots from a ZFS root file system in Oracle Solaris 11. The ZFS root file system is contained within a ZFS root pool, named rpool, by default. 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:

Booting for System Recovery Changes

As in previous Oracle Solaris releases, you might need to boot the system for recovery purposes. The following error and recovery scenarios are similar to previous releases:

How to Boot the System For Recovery Purposes

  1. Select the appropriate boot method:
    • 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 – Booting from an install server on the network requires 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 the boot recovery problem:
    • Resolve a bad root shell by booting the system to single-user mode and correcting the shell entry in the /etc/passwd file.

      On an x86 based system, edit the selected boot entry in the GRUB menu, then add the -s option to the $kernel line.

      For example, on a SPARC system, shut down the system and boot to single-mode. After you log in as root, edit the /etc/passwd file, and fix the root shell entry.

      # 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.0 64-bit
      Copyright (c) 1983, 2011, 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
      
      Jan 24 13:23:54 su: 'su root' succeeded for root on /dev/console
      Oracle Corporation SunOS 5.11 11.0 November 2011
      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.
    • Resolve a problem with a menu.lst boot entry.

      First, you must boot from media or the network by using one of the boot methods listed in Step 1. Then, import the root pool and fix the menu.lst entry.

      x86# zpool import -f rpool
      x86# cd /rpool/boot/grub
      x86# vi menu.lst
      x86# exit
              1  Install Oracle Solaris
              2  Install Additional Drivers
              3  Shell
              4  Terminal type (currently sun-color)
              5  Reboot
      
      Please enter a number [1]: 5

      Confirm that the system boots successfully.

    • Resolve an unknown root password that prevents you from logging into the system.

      First, you must boot from media or the network by using one of the boot methods that are listed in Step 1. 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.

      # zpool import -f rpool
      # beadm list
      be_find_current_be: failed to find current BE name
      be_find_current_be: failed to find current BE name
      BE                 Active Mountpoint Space  Policy Created          
      --                 ------ ---------- -----  ------ -------          
      solaris            -      -          11.45M static 2011-10-22 00:30 
      solaris-2          R      -          12.69G static 2011-10-21 21:04 
      # mkdir /a
      # beadm mount solaris-2 /a
      # TERM=vt100
      # export TERM
      # cd /a/etc
      # vi shadow 
      <Carefully remove the unknown password>
      # cd /
      # beadm umount solaris-2
      # halt

      Go to the next step to set the root password.

  3. Set the root password by booting to single-user mode and setting the password.

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

    On an x86 based system, edit the selected boot entry in the GRUB menu, then add the -s option to the $kernel line.

    On a SPARC system, 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.0 64-bit
    Copyright (c) 1983, 2011, 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
    
    Jan 24 13:23:54 su: 'su root' succeeded for root on /dev/console
    Oracle Corporation SunOS 5.11 11.0 November 2011
    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: