# init 0
Select environment to boot: [1 - 2]:
To boot the selected entry, invoke: boot [<root-device>] -Z rpool/ROOT/boot-environment
ok boot -Z rpool/ROOT/boot-environment
예를 들어, 다음과 같습니다.
# boot -Z rpool/ROOT/zfs2BE
# prtconf -vp | grep whoami
# prtconf -vp | grep bootpath
# df -lk
이 예에서는 boot –Z 명령을 사용하여 SPARC 기반 시스템의 대체 부트 환경에서 부트하는 방법을 보여 줍니다.
# init 0
root@system-28:~# svc.startd: The system is coming down. Please wait.
svc.startd: 126 system services are now being stopped.
Jul 3 22:11:33 system-28 syslogd: going down on signal 15
svc.startd: Killing user processes.
umount: /home busy
Jul 3 22:11:50 The system is down. Shutdown took 23 seconds.
syncing file systems... done
Program terminated
{1c} ok boot -L
SC Alert: Host System has Reset
Sun Fire T200, No Keyboard
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.30.4.d, 16256 MB memory available, Serial #74139288.
Ethernet address 0:14:4f:6b:46:98, Host ID: 846b4698.
Boot device: /pci@780/pci@0/pci@9/scsi@0/disk@0,0:a File and args: -L
1 Oracle Solaris 11.2 SPARC
2 s11u2_backup
3 s11u2_backup2
Select environment to boot: [ 1 - 3 ]: 3
To boot the selected entry, invoke:
boot [<root-device>] -Z rpool/ROOT/s11u2_backup2
Program terminated
{0} ok boot -Z rpool/ROOT/s11u2_backup2
SC Alert: Host System has Reset
Sun Fire T200, No Keyboard
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.30.4.d, 16256 MB memory available, Serial #74139288.
Ethernet address 0:14:4f:6b:46:98, Host ID: 846b4698.
Boot device: /pci@780/pci@0/pci@9/scsi@0/disk@0,0:a \
File and args: -Z rpool/ROOT/s11u2_backup2
SunOS Release 5.11 Version 11.2 64-bit
Copyright (c) 1983, 2014, Oracle and/or its affiliates. All rights reserved.
WARNING: consconfig: cannot find driver for
screen device /pci@780/pci@0/pci@8/pci@0/TSI,mko@0
Loading smf(5) service descriptions: Loading smf(5)
service descriptions: Hostname: system-28
.
system-28 console login: Jul 3 22:39:05 system-28