Go to main content

Using Unified Archives for System Recovery and Cloning in Oracle® Solaris 11.3

Exit Print View

Updated: October 2017

How to Deploy a System From a Unified Archive Using Bootable Media

When creating bootable media, the default file type that is created by the archiveadm create-media command is USB. If the image is larger than 4GB, the USB type is forced.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Create a media image.

    Create a media image from an existing archive.

    # archiveadm create-media archive-name
  3. Create bootable media.
    • ISO images – Burn the .iso file to a CD or DVD.
    • USB images – Use the usbcopy utility to copy the image to a USB flash drive.

      Note -  You can add this utility to your system by installing the pkg:/install/distribution-constructor package.
  4. Boot from the media.

    Boot the system from the device that contains the boot image. A “hands-free” installation is performed. After the installation completes and the system is rebooted, you will be ask asked to provide configuration information for the system. For example, to boot from a CD, use the following command:

    ok boot cdrom - install
Example 15  Creating an ISO Media Image

To create an ISO image, you must include the –f option as shown below.

# archiveadm create-media -f iso archive.uar
Example 16  Creating a Media Image Including a Specific Global Zone

By default the create-media subcommand will create media that includes all of the global zones that are included in the archive. To select a specific global zone, create the archive with the –g global-zone option. This command will create media from a specified zone. The resulting media image includes bootable media that contains the archive. This example will create an archive from the global global zone.

# archiveadm create-media -g global archive.uar