Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
Applies to SUSE Linux Enterprise Micro 5.1

5 Description of raw images Edit source

SLE Micro raw images are delivered for the AMD64/Intel 64 architecture (an image with RT kernel is available), IBM Z ZSeries (an image of the KVM host, images to be used with FBA or DASD devices) and also AArch64. These images are intended to be configured on the first boot by using either Ignition or Combustion. The boot loader detects the first boot, see more in Section 5.2, “First boot detection”. Each image has default mounted subvolumes as described in Section 5.1, “Default partitioning”. The procedure of deploying these images is described in Chapter 6, Deploying raw images.

Important
Important: Do not use firewall along with Podman

Using firewall along with Podman may cause missing Podman related firewall rules after reloading the firewalld service. Therefore, it is recommended to keep the firewall disabled if you intend to use Podman.

5.1 Default partitioning Edit source

The raw images are delivered with a default partitioning scheme, which can be changed during the first boot by using Ignition or Combustion. For a procedure to repartition the system, refer to Section 7.2, “config.ign or Section 8.2, “The script configuration file”.

Important
Important: Btrfs is mandatory for the root file system

If you intend to perform any changes to the default partitioning scheme, the root file system must be btrfs.

Each image has the following subvolumes:

 /home
 /root
 /opt
 /srv 
 /usr/local
 /var

The images also have mounted subvolumes for booting by default. The specific subvolumes differ according to the architecture.

You can recognize the subvolumes mounted by default by the option x-initrd.mount in /etc/fstab. Other subvolumes or partitions must be configured either by Ignition or Combustion.

5.2 First boot detection Edit source

The configuration runs on the first boot only. To distinguish between the first and subsequent boots, the flag file —/boot/firstboot_happened is created after the first boot took place. If the file is not present in the file system, the attribute ignition.firstboot is passed to the kernel command line, which triggers the creation of initramfs in case of Ignition or running the dracut module in case of Combustion. After completing the first boot, the /boot/firstboot_happened flag file is created.

Note
Note: The flag file is always created

Even though the configuration may not be successful, due to improper or missing configuration files, the /boot/firstboot_happened flag file is created.

You may force the first boot configuration on subsequent boot by passing the ignition.firstboot attribute to the kernel command line or by deleting the /boot/firstboot_happened flag file.

Print this page