mirror of
https://git.valherun.com/valherun/pxe_boot_alma.git
synced 2026-10-14 18:22:03 -04:00
Document UEFI PXE grub handoff details
This commit is contained in:
1 parent
104deef9cf
commit
1cb1e79199
2 files changed
+19
No files matched your search
@@ -158,6 +158,8 @@ UEFI:
|
||||
```bash
|
||||
sudo cp boot/grub2/grub.cfg /var/lib/tftpboot/grub.cfg
|
||||
sudo cp boot/grub2/grub.cfg /var/lib/tftpboot/EFI/BOOT/grub.cfg
|
||||
sudo cp /boot/efi/EFI/almalinux/grubx64.efi /var/lib/tftpboot/grubx64.efi
|
||||
sudo chmod 644 /var/lib/tftpboot/EFI/BOOT/BOOTX64.EFI /var/lib/tftpboot/EFI/BOOT/grubx64.efi /var/lib/tftpboot/grubx64.efi
|
||||
```
|
||||
|
||||
Some UEFI layouts expect the config under:
|
||||
@@ -167,6 +169,13 @@ Some UEFI layouts expect the config under:
|
||||
|
||||
Use the location expected by your GRUB EFI binary.
|
||||
|
||||
In the current AlmaLinux 10 UEFI lab, shim fetched `EFI/BOOT/BOOTX64.EFI` and then looked for:
|
||||
|
||||
- `/grubx64.efi`
|
||||
- `/EFI/BOOT/grub.cfg`
|
||||
|
||||
So the root-level `grubx64.efi` copy above was required for successful UEFI PXE handoff.
|
||||
|
||||
## 8. Make Sure HTTP Is Serving The Tree
|
||||
|
||||
Verify from another host:
|
||||
|
||||
@@ -123,11 +123,21 @@ sudo cp /usr/share/syslinux/ldlinux.c32 /var/lib/tftpboot/
|
||||
|
||||
sudo cp /boot/efi/EFI/BOOT/BOOTX64.EFI /var/lib/tftpboot/EFI/BOOT/
|
||||
sudo cp /boot/efi/EFI/almalinux/grubx64.efi /var/lib/tftpboot/EFI/BOOT/
|
||||
sudo cp /boot/efi/EFI/almalinux/grubx64.efi /var/lib/tftpboot/grubx64.efi
|
||||
sudo cp /opt/pxe_boot_alma/boot/grub2/grub.cfg /var/lib/tftpboot/grub.cfg
|
||||
sudo cp /opt/pxe_boot_alma/boot/grub2/grub.cfg /var/lib/tftpboot/EFI/BOOT/grub.cfg
|
||||
sudo cp /opt/pxe_boot_alma/boot/pxelinux.cfg/default /var/lib/tftpboot/pxelinux.cfg/default
|
||||
sudo chmod 644 /var/lib/tftpboot/EFI/BOOT/BOOTX64.EFI /var/lib/tftpboot/EFI/BOOT/grubx64.efi /var/lib/tftpboot/grubx64.efi
|
||||
```
|
||||
|
||||
UEFI-specific note:
|
||||
|
||||
- shim requested `/EFI/BOOT/BOOTX64.EFI`
|
||||
- then requested `/grubx64.efi`
|
||||
- then loaded `/EFI/BOOT/grub.cfg`
|
||||
|
||||
Without the root-level `grubx64.efi` copy, UEFI PXE did not progress past shim.
|
||||
|
||||
## 8. Publish Kickstart And Post-Install Bootstrap
|
||||
|
||||
Run on `server1`:
|
||||
|
||||
Reference in new issue
Block a user