SPARC: How to Select the Boot Environment for Booting
Example 6-12 Booting From a Specific ZFS Boot Environment
If you have multiple ZFS BEs in a ZFS storage pool on your system's boot device, use the beadm activate
command to specify a default BE.
In this example, the beadm
lists following available ZFS BEs:
$ beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
solaris NR / 3.80G static 2012-07-20 10:25
solaris-2 - - 7.68M static 2012-07-19 13:44
To select a specific BE, you would use the boot -L
command. For example:
ok boot -L Boot device: /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk@0,0:a File and args: -L 1 release-version SPARC 2 solaris Select environment to boot: [ 1 - 2 ]: 1 To boot the selected entry, invoke: boot [<root-device>] -Z rpool/ROOT/solaris-2 Program terminated ok boot -Z rpool/ROOT/solaris-2
To boot automatically from the selected BE, activate that BE.