第 7 章 Creating a boot ISO installer image with RHEL image builder


You can use RHEL image builder to create bootable ISO Installer images. These images consist of a .tar file that has a root file system. You can use the bootable ISO image to install the file system to a bare-metal server.

RHEL image builder builds a manifest that creates a boot ISO that contains a root file system. To create the ISO image, select the image type image-installer. RHEL image builder builds a .tar file with the following content:

  • A standard Anaconda installer ISO
  • An embedded RHEL system tar file
  • A default Kickstart file that installs the commit with minimal default requirements

The created installer ISO image includes a pre-configured system image that you can install directly to a bare-metal server.

You can create a customized boot ISO installer image by using the RHEL image builder command-line interface. The resulting image is an .iso file that contains a .tar file, which you can install on your operating system.

The .iso file is set up to boot Anaconda and install the .tar file for setting up the system. You can use the created ISO image file on a hard disk or to boot in a virtual machine, such as an HTTP Boot or a USB installation.

警告

The installation (.iso) image type does not accept partition customization. If you try to manually configure the filesystem customization, it is not applied to any system built by the (.iso) image. Mounting an ISO image built with RHEL image builder file system customizations causes an error in the Kickstart, and the installation does not reboot automatically. For more information, see Automate a RHEL ISO installation generated by image builder.

Prerequisites

  • You have created a blueprint for the image and customized it with a user included and pushed it back into RHEL image builder. See Supported image customizations.

Procedure

  1. Create the ISO image:

    # image-builder build iso --blueprint <blueprint_name>
    • <blueprint_name> with the name of the blueprint you created
    • <image_installer> is the image type

      The compose process starts and might take some minutes complete.

      RHEL image builder builds an .iso file that contains a .tar file. The .tar file is the image that will be installed for the Operating system. The .iso is set up to boot Anaconda and install the .tar file to set up the system.

Next steps

In the directory where you downloaded the image file.

  1. Locate the .iso image that you builded.
  2. Mount the ISO image.

    $ mount -o ro <path_to_iso> /mnt

    You can find the .tar file at the /mnt/liveimg.tar.gz directory.

  3. List the .tar file content:

    $ tar ztvf /mnt/liveimg.tar.gz
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部