Solaris 10 10/08 Installation Guide: Custom JumpStart and Advanced Installations

bootenv Profile Keyword (UFS and ZFS)

Note –

The bootenv keyword can be used for either a UFS file system or a ZFS root pool installation. The usage is different for a ZFS installation.

bootenv createbe bename new_BE_name filesystem mountpoint:device:fs_options 

bootenv createbe keyword enables you to quickly create an empty-and-inactive boot environment at the same time you are installing the Solaris OS. At the least, you must create the root (/) file system. The slices are reserved for the file systems specified, but no file systems are copied. The boot environment is named, but not actually created until installed with a Solaris Flash archive. When the empty boot environment is installed with an archive, file systems are installed on the reserved slices. The following lists the values for bename and filesystem.

bename new_BE_name

bename specifies the name of the new boot environment to be created. new_BE_name can be no longer than 30 characters, can contain only alphanumeric characters, and can contain no multibyte characters. The name must be unique on the system.

filesystem mountpoint:device:fs_options

filesystem determines the type and number of file systems that are to be created in the new boot environment. At least one slice that contains the root (/) file system must be defined. File systems can be on the same disk or spread across multiple disks.

  • mountpoint can be any valid mount point or – (hyphen), indicating a swap slice.

  • device must be available when the operating system that is being installed is first booted. The device has no relation to JumpStart special storage devices such as free. The device cannot be a Solaris Volume Manager volume or Veritas Volume Manager volume. device is the name of a disk device, of the form /dev/dsk/cwtxdysz.

  • fs_options can be one of the following:

    • ufs, which indicates a UFS file system.

    • swap, which indicates a swap file system. The swap mount point must be a (hyphen).

For a profile example and background about using this keyword, see the following references:

For an example of a profile 

Example 3–11

For background about using Solaris Live Upgrade that creates, upgrades, and activates inactive boot environments 

Chapter 2, Solaris Live Upgrade (Overview), in Solaris 10 10/08 Installation Guide: Solaris Live Upgrade and Upgrade Planning

For background about using a Solaris Flash archive 

Chapter 1, Solaris Flash (Overview), in Solaris 10 10/08 Installation Guide: Solaris Flash Archives (Creation and Installation)