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.4

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 may 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. You can perform basic configuration even without the configuration medium. For a more complex configuration, you need to prepare the configuration medium.

The following procedure lists steps to deploy a raw image to your system:

Procedure 6.1: Deploying a raw image
  1. Prepare the raw image as described in Procedure 6.2, “Preparing the raw disk image”.

  2. If needed, prepare the configuration medium as described in Procedure 6.3, “Preparing the configuration device”

  3. If you did not use the configuration medium, proceed as described in Section 6.3, “Minimal initial configuration”.

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

  5. SLE Micro has extensions available. To use some of these extensions, you need to add the extension to your subscription from the installed system. For details, refer to Section 10.2, “Managing extensions”.

6.1 Preparing the raw image

To prepare the raw image, proceed as follows:

Procedure 6.2: 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

6.2 Preparing the configuration device

The following procedure describes how to prepare the configuration device (usually a USB flash disk). Bear in mind that the configuration device needs to be connected to your host running SLE Micro during its first boot.

Procedure 6.3: 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/


    > 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.

6.3 Minimal initial configuration

If you do not attach any configuration device when booting the raw image for the first time, jeos-firstboot enables you to perform minimal configuration of your system as follows:

Procedure 6.4: Configuring the system using jeos-firstboot
  1. Confirm the configuration.

    jeos first boot
  2. Select your keyboard layout and confirm your selection.

    jeos keyboard selection
  3. Read the license agreement and accept it.

    jeos EULA
  4. Select your time zone.

    jeos time zone selection
  5. Enter a password for root.

    root password
  6. Confirm the root password.

    root password confirmation
  7. Accept the statement about SLE Micro registration.

    root password