Skip Navigation Links | |
Exit Print View | |
Oracle Solaris 10 9/10 Installation Guide: Solaris Live Upgrade and Upgrade Planning |
Part I Upgrading With Solaris Live Upgrade
1. Where to Find Solaris Installation Planning Information
2. Solaris Live Upgrade (Overview)
3. Solaris Live Upgrade (Planning)
4. Using Solaris Live Upgrade to Create a Boot Environment (Tasks)
5. Upgrading With Solaris Live Upgrade (Tasks)
6. Failure Recovery: Falling Back to the Original Boot Environment (Tasks)
SPARC: Falling Back to the Original Boot Environment
SPARC: To Fall Back Despite Successful New Boot Environment Activation
SPARC: To Fall Back From a Failed Boot Environment Activation
SPARC: To Fall Back to the Original Boot Environment by Using a DVD, CD, or Net Installation Image
x86: Falling Back to the Original Boot Environment
x86: To Fall Back Despite Successful New Boot Environment Activation With the GRUB Menu
x86: To Fall Back From a Failed Boot Environment Activation With the GRUB Menu
x86: To Fall Back From a Failed Boot Environment Activation With the GRUB Menu and the DVD or CD
7. Maintaining Solaris Live Upgrade Boot Environments (Tasks)
8. Upgrading the Solaris OS on a System With Non-Global Zones Installed
9. Solaris Live Upgrade (Examples)
10. Solaris Live Upgrade (Command Reference)
Part II Upgrading and Migrating With Solaris Live Upgrade to a ZFS Root Pool
11. Solaris Live Upgrade and ZFS (Overview)
12. Solaris Live Upgrade for ZFS (Planning)
13. Creating a Boot Environment for ZFS Root Pools
14. Solaris Live Upgrade For ZFS With Non-Global Zones Installed
B. Additional SVR4 Packaging Requirements (Reference)
You can fallback to the original boot environment by using three methods:
SPARC: To Fall Back Despite Successful New Boot Environment Activation
SPARC: To Fall Back From a Failed Boot Environment Activation
SPARC: To Fall Back to the Original Boot Environment by Using a DVD, CD, or Net Installation Image
Use this procedure when you have successfully activated your new boot environment, but are unhappy with the results.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
# /sbin/luactivate BE_name
Specifies the name of the boot environment to be activated
# init 6
The previous working boot environment becomes the active boot environment.
If you experience a failure while booting the new boot environment and can boot the original boot environment in single-user mode, use this procedure to fall back to the original boot environment.
If you need to boot from media or a net installation image, see SPARC: To Fall Back to the Original Boot Environment by Using a DVD, CD, or Net Installation Image.
OK boot device_name -s
Specifies the name of devices from where the system can boot, for example /dev/dsk/c0t0d0s0
# /sbin/luactivate BE_name
Specifies the name of the boot environment to be activated
If this command fails to display a prompt, proceed to SPARC: To Fall Back to the Original Boot Environment by Using a DVD, CD, or Net Installation Image.
If the prompt is displayed, continue.
Do you want to fallback to activate boot environment <disk name> (yes or no)? yes
A message displays that the fallback activation is successful.
# init 6
The previous working boot environment becomes the active boot environment.
Use this procedure to boot from a DVD, CD, a net installation image or another disk that can be booted. You need to mount the root (/) slice from the last-active boot environment. Then run the luactivate command, which makes the switch. When you reboot, the last-active boot environment is up and running again.
OK boot cdrom -s
or
OK boot net -s
or
OK boot device_name -s
Specifies the name of the disk and the slice where a copy of the operating system resides, for example /dev/dsk/c0t0d0s0
# fsck device_name
Specifies the location of the root (/) file system on the disk device of the boot environment you want to fall back to. The device name is entered in the form of /dev/dsk/cwtxdysz.
# mount device_name /mnt
Specifies the location of the root (/) file system on the disk device of the boot environment you want to fall back to. The device name is entered in the form of /dev/dsk/cwtxdysz.
# /mnt/sbin/luactivate
luactivate activates the previous working boot environment and indicates the result.
# umount /mnt
# init 6
The previous working boot environment becomes the active boot environment.