If your system has more than one OS installed on the system or more than one root boot environment in a ZFS root pool, you can boot from these boot environments for both SPARC and x86 platforms. The boot environments available for booting include boot environments created by Solaris Live Upgrade.
Starting with the Solaris 10 10/08 release for a SPARC based system, you can boot a ZFS root file system in a ZFS pool. For ZFS root pools, you can list the available boot environments with the boot command with the -L option. You can then choose a boot environment and use the OBP boot command with the -Z option to boot that boot environment. The -Z option is an alternative for the luactivate command that is also used to boot a new boot environment for a ZFS root pool. The luactivate command is the preferred method of switching boot environments. For a UFS file system, you continue to use the OpenBootTM PROM OBP as the primary administrative interface, with boot options selected by using OBP commands.
Starting with the Solaris 10 1/06 release for x86 based systems, a GRUB boot menu provides the interface for booting between different boot environments. Starting with the Solaris 10 10/08 release, this menu lists ZFS boot environments that are available for booting. If the default boot environment is a ZFS file system and the GRUB menu is displayed, you can let the default boot environment boot or choose another boot environment to boot. The GRUB menu is an alternative to using the luactivate command that is also used to boot a new boot environment for a ZFS root pool. The 88luactivate is the preferred method of switching boot environments.
On both SPARC and x86 based systems, each ZFS root pool has a dataset designated as the default root file system. If for SPARC, you type the boot command or for x86, you take the default from the GRUB menu, then this default root file system is booted.
Table 7–1 Where to Find Information on Booting
Description |
Information |
---|---|
For a high-level overview of booting features | |
For more detailed overview of booting features | |
x86: For information about modifying boot behavior such as editing the menu.lst file and locating the menu.lst file | |
For procedures for booting a ZFS file system |
Chapter 12, Booting a Solaris System (Tasks), in System Administration Guide: Basic Administration |
For procedures for managing a boot archive, such as locating the GRUB menu.lst file and using the bootadm command |