2.7. Upgrading from an existing rpm-ostree installation to image mode for RHEL 10.0


You can upgrade an existing RHEL for Edge system based on RHEL 9.6 to use image mode for RHEL 10.0 by following these steps:

You can upgrade an existing RHEL for Edge 9.6 system to RHEL 10.0 by using image mode for RHEL.

Prerequisites

  • An existing 9.6 RHEL for Edge system.

Procedure

  1. Update your image. See Updating RHEL for Edge images.

    $ sudo rpm-ostree upgrade
    $ sudo systemctl reboot
  2. Build a bootc image that uses RHEL 10.0. For example:

    $ cat Containerfile
    FROM registry.redhat.io/rhel10/rhel-bootc:10.0
    RUN dnf install -y  \
        clevis  \
        clevis-dracut  \
        clevis-luks  \
        fdo-client  \
        fdo-owner-cli
  3. Build the <image> image by using Containerfile in the current directory:

    $ podman build -t quay.io/<namespace>/<image>:<tag> .
  4. Push the image to a registry

    $ podman push quay.io/<namespace>/<image>:_<tag>_
  5. Run bootc switch on the device.

    $ bootc switch quay.io/<namespace>/<image>:_<tag>_
    1. Reboot the system.

      $ sudo systemctl reboot

Verification

  • Connect to your RHEL for Edge system and use bootc status:

    # bootc status
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2026 Red Hat
返回顶部