From 207fd08d38a1317913746cb0826946802745d4bf Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 22 Jul 2025 20:35:41 +0900 Subject: [PATCH] doc: Fix installation of grub/shim EFI images in CentOS Fix the package name for grub image (now we should use one of -ia32 and -x64). Also the image file paths are different in RHEL. Change-Id: Id3972c28bb781b97d8a0070edbbc00fc63734aa8 Signed-off-by: Takashi Kajinami --- doc/source/install/configure-pxe.rst | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/doc/source/install/configure-pxe.rst b/doc/source/install/configure-pxe.rst index 7c7bd775d6..01a01237a1 100644 --- a/doc/source/install/configure-pxe.rst +++ b/doc/source/install/configure-pxe.rst @@ -173,9 +173,9 @@ the PXE UEFI environment. sudo apt-get install grub-efi-amd64-signed shim-signed - RHEL8/CentOS8/Fedora:: + RHEL/CentOS/Fedora:: - sudo dnf install grub2-efi shim + sudo dnf install grub2-efi-x64 shim #. Copy grub and shim boot loader images to ``/tftpboot`` directory: @@ -190,11 +190,16 @@ the PXE UEFI environment. sudo cp /boot/efi/EFI/fedora/shim.efi /tftpboot/bootx64.efi sudo cp /boot/efi/EFI/fedora/grubx64.efi /tftpboot/grubx64.efi - RHEL8/CentOS8:: + CentOS:: sudo cp /boot/efi/EFI/centos/shim.efi /tftpboot/bootx64.efi sudo cp /boot/efi/EFI/centos/grubx64.efi /tftpboot/grubx64.efi + RHEL:: + + sudo cp /boot/efi/EFI/rhel/shim.efi /tftpboot/bootx64.efi + sudo cp /boot/efi/EFI/rhel/grubx64.efi /tftpboot/grubx64.efi + #. Update the bare metal node with ``boot_mode:uefi`` capability in node's properties field. See :ref:`boot_mode_support` for details. @@ -270,7 +275,7 @@ on the Bare Metal service node(s) where ``ironic-conductor`` is running. apt-get install ipxe - RHEL8/CentOS8/Fedora:: + RHEL/CentOS/Fedora:: dnf install ipxe-bootimgs @@ -288,7 +293,7 @@ on the Bare Metal service node(s) where ``ironic-conductor`` is running. cp /usr/lib/ipxe/{undionly.kpxe,ipxe.efi,snponly.efi} /tftpboot - Fedora/RHEL8/CentOS8:: + Fedora/RHEL/CentOS:: cp /usr/share/ipxe/{undionly.kpxe,ipxe-x86_64.efi,ipxe-snponly-x86_64.efi} /tftpboot