Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Basic Administration Oracle Solaris 11 Express 11/10 |
1. Managing User Accounts and Groups (Overview)
2. Managing User Accounts and Groups (Tasks)
3. Introduction to Shutting Down and Booting a System
4. Shutting Down and Booting a System (Overview)
5. Shutting Down a System (Tasks)
6. Modifying Oracle Solaris Boot Behavior (Tasks)
7. Booting an Oracle Solaris System (Tasks)
Booting a SPARC Based System (Task Map)
SPARC: How to Boot a System to Run Level 3 (Multiuser Level)
SPARC: How to Boot a System to Run Level S (Single-User Level)
SPARC: How to Boot a System Interactively
SPARC: How to Boot a Kernel Other Than the Default Kernel
SPARC: Booting From a Specified ZFS Root File System
SPARC: How to List Available Bootable Datasets Within a ZFS Root Pool
SPARC: How to Boot From a Specified ZFS Root File System
Booting a SPARC Based System From the Network
SPARC: How to Boot a System From the Network
Booting an x86 Based System (Task Map)
x86: How to Boot a System to Run Level 3 (Multiuser)
x86: How to Boot a System to Run Level S (Single-User Level)
x86: How to Boot a System Interactively
x86: Booting From a Specified ZFS Root File System
x86: How to Display a List of the Available ZFS Boot Environments
How to Initiate a Fast Reboot of a SPARC Based System
How to Initiate a Fast Reboot of an x86 Based System
x86: How to Fast Reboot a System to the nth Entry in the GRUB menu.lst File
x86: Initiating a Fast Reboot of a System by Specifying an Alternate Boot Environment
Performing a Slow Reboot of a System
Managing the Boot Configuration Service
x86: Debugging Early Panics That Might Occur
x86: Troubleshooting Conditions That Might Prevent Fast Reboot From Working
Booting an x86 Based System from the Network
x86: How to Perform a GRUB Based Boot From the Network
8. Troubleshooting Booting an Oracle Solaris System (Tasks)
9. Managing the Oracle Solaris Boot Archives (Tasks)
10. x86: GRUB Based Booting (Reference)
The $ZFS-BOOTFS keyword enables you to boot from an Oracle Solaris ZFS root file system on the x86 platform. If a root device contains a ZFS pool, this keyword is assigned a value, which is then passed to the kernel with the -B option. This option identifies which dataset to boot. If you install an Oracle Solaris release that supports a ZFS boot loader, the GRUB menu.lst file, as well as the GRUB boot menu, contain this information by default.
For more information, see How to Obtain Administrative Rights in System Administration Guide: Security Services.
# bootadm list-menu
Example 7-7 x86: Displaying a List of Available ZFS Bootable Datasets by Using the bootadm Command
In this example, the output of the bootadm list-menu command lists all of the available bootable datasets (or boot entries) that are on an x86 based system. The default boot environment is listed first.
# bootadm list-menu the location for the active GRUB menu is: /rpool/boot/grub/menu.lst default 0 timeout 30 0 Oracle Solaris 10 9/10 1 Oracle Solaris 11 Express 2 zfsbe2 3 BE3
This procedure describes how to boot from a ZFS root file system on an x86 system that supports a ZFS boot loader.
Note that if you install or upgrade your system to an Oracle Solaris release that supports a ZFS boot loader, the GRUB menu entry contains the -B $ZFS-BOOTFS boot argument by default, so the system boots from ZFS without requiring any additional boot arguments.
# reboot
If the system displays the Press any key to reboot prompt, press any key to reboot the system.
You can also use the Reset button at this prompt. If the system is shut down, turn the system on with the power switch.
When the boot sequence begins, the GRUB main menu is displayed. If the default boot entry is a ZFS file system menu is similar to the following:
findroot (pool_rpool,0,a) bootfs rpool/ROOT/nwambe-1 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics module$ /platform/i86pc/$ISADIR/boot_archive
If you do not choose an entry within 10 seconds, the system automatically boots to run level 3.
If you type e to edit the entry, the default menu for booting a system with a ZFS root would look similar to the following output:
findroot (BE_be10,0,a) kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS module$ /platform/i86pc/$ISADIR/boot-archive
For more information about GRUB menu entries at boot time, seex86: How to Modify Boot Behavior by Editing the GRUB Menu at Boot Time.