JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Booting and Shutting Down Oracle Solaris on x86 Platforms     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

About This Book

1.  Booting and Shutting Down an x86 Based System (Overview)

2.  Booting an x86 Based System to a Specified State (Tasks)

3.  Shutting Down a System (Tasks)

4.  Rebooting an x86 Based System (Tasks)

5.  Booting an x86 Based System From the Network (Tasks)

6.  Modifying Boot Parameters on an x86 Based System (Tasks)

7.  Creating, Administering, and Booting From ZFS Boot Environments on x86 Platforms (Tasks)

Creating, Administering, and Booting From ZFS Boot Environments (Task Map)

Creating and Administering Boot Environments

How to Create a New Boot Environment

How to Create a Snapshot of a Boot Environment

How to Create a Boot Environment From an Existing Snapshot

How to Activate a Newly Created Boot Environment

How to Display a List of Available Boot Environments, Snapshots, and Datasets

How to Destroy a Boot Environment

Booting From a ZFS Boot Environment or Root File System on x86 Platforms

8.  Keeping an x86 Based System Bootable (Tasks)

9.  Troubleshooting Booting an x86 Based System (Tasks)

Index

Booting From a ZFS Boot Environment or Root File System on x86 Platforms

The following entries are added to the /pool-name/boot/grub/menu.lst file during the installation process or during the beadm activate operation to boot ZFS automatically:

title 2010-12-10-be-s
findroot (pool_rpool,0,a)
bootfs rpool/ROOT/2010-12-10-be_152
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS -s
module$ /platform/i86pc/$ISADIR/boot_archive

If the device that is identified by GRUB as the boot device contains a ZFS storage pool, the menu.lst file is used to create the GRUB menu. On an x86 based system with multiple ZFS boot environments, you can select a boot environment from the GRUB menu during boot time. If the root file system that corresponds to this menu entry is a ZFS dataset, the following option is added:

-B $ZFS-BOOTFS

The $ZFS-BOOTFS keyword enables you to boot from an Oracle Solaris ZFS root file system on an x86 based system. This option identifies which boot environment or 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, contains this information by default.

Example 7-3 Booting From a ZFS boot environment, Dataset, or File System

When booting from a ZFS file system, the root device is specified by the -B $ZFS-BOOTFS boot parameter on the kernel$ line in the GRUB menu. This value, similar to all parameters specified by the -B option, is passed from GRUB to the kernel. For example:

title Oracle Solaris 11 Express snv_152
findroot (pool_rpool,0,a)
bootfs rpool/ROOT/solaris
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive