Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
documentation.suse.com / SUSE Linux Enterprise Micro Documentation / Deployment Guide / Pre-built image deployment / Deploying raw images
Applies to SUSE Linux Enterprise Micro 5.2

6 Deploying raw images

SUSE Linux Enterprise Micro provides raw images that can be directly deployed to your device storage: a memory card, USB flash drive, or a hard disk. The options for which type of device you can deploy the image to depend on your particular hardware—follow the guidance in your vendor documentation.

To prepare the setup, you need two separate devices. One for the raw disk image, where SLE Micro runs, and another one that serves as a configuration medium, for example a USB disk.

To prepare the configuration device, proceed as described in Procedure 6.2, “Preparing the configuration device.”. The configuration device needs to be connected to your host running SLE Micro during its first boot.

To prepare the raw image, proceed as follows:

Procedure 6.1: Preparing the raw disk image
  1. Download the raw image and decompress it:

    > xz -d DOWNLOADED_IMAGE.raw.xz
  2. Copy the decompressed image to the device where SLE Micro will run:

    > dd if=DOWNLOADED_IMAGE.raw of=/dev/sdX

The following procedure describes how to prepare the configuration device (usually a USB flash disk).

Procedure 6.2: Preparing the configuration device.
  1. Format the disk to any file system supported by SLE Micro: Ext3, Ext4, etc.:

    > sudo mkfs.ext4 /dev/sdY
  2. Set the device label to either ignition (when either Ignition or Combustion is used) or combustion (when only Combustion is used). If needed, you can use uppercase letters for the labels, too. To label the device, run:

    > sudo e2label /dev/sdY ignition

    You can use any type of configuration storage media that your virtualization system or your hardware supports: ISO image, a USB flash disk, etc.

  3. Mount the device:

    > sudo mount /dev/sdY /mnt
  4. Create the directory structure as mentioned in Chapter 8, Configuring with Ignition or Chapter 9, Configuring with Combustion, depending on the configuration tool used:

    > sudo mkdir -p /mnt/ignition/

    or:

    > sudo mkdir -p /mnt/combustion/
  5. Prior to booting for the first time, prepare all elements of the configuration that will be used by Ignition or Combustion. To log in to your system, you need to provide a password for root or set up passwordless authentication, otherwise the system will not be accessible after the first boot.

After the first boot, you can register your SUSE Linux Enterprise Micro instance by using the transactional-update command. For details, refer to Section 10.1, “Registration”.

SLE Micro has an available extension for live patching. To use this extension, you need to add the extension to your subscription from the installed system. For details, refer to Section 10.2, “Managing extensions”.