Closed rmkraus closed 4 years ago
UEFI PXE Booting:
yum install grub2-efi-x64.x86_64
mkdir /var/lib/tftpboot/uefi/
chmod 0755 /var/lib/tftpboot/uefi
cp /boot/efi/EFI/BOOT/BOOTX64.EFI /var/lib/tftpboot/uefi/
cp /boot/efi/EFI/redhat/grubx64.efi /var/lib/tftpboot/uefi/
chmod 0644 /var/lib/tftpboot/*
- [x] configure dhcpd.conf
default-lease-time 600; max-lease-time 7200; authoritative; ddns-update-style none;
option space pxelinux; option pxelinux.magic code 208 = string; option pxelinux.configfile code 209 = text; option pxelinux.pathprefix code 210 = text; option pxelinux.reboottime code 211 = unsigned integer 32; option architecture-type code 93 = unsigned integer 16;
include "/etc/dhcp/dhcpd.custom.conf";
subnet 192.168.8.0 netmask 255.255.255.0 { option routers 192.168.8.1; option subnet-mask 255.255.255.0; option domain-name "beacon01.faros.site"; option domain-name-servers 192.168.8.1; option ntp-servers 192.168.8.1;
pool {
range 192.168.8.129 192.168.8.254;
}
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 192.168.8.1;
if option architecture-type = 00:07 {
filename "uefi/BOOTX64.efi";
} else {
filename "pxelinux.0";
}
}
}
include "/etc/dhcp/dhcpd.static.conf";
- [x] configure grub.cfg-01-94-40-c9-23-29-0d
set timeout=5 menuentry 'RHCOS Control Plane Install' { linux /rhcos/kernel ip=dhcp rd.neednet=1 rd.net.timeout.carrier=10 initrd=rhcos/initramfs.img nomodeset coreos.inst=yes coreos.inst.install_dev=sda coreos.inst.image_url=http://192.168.8.1:8081/image.raw.gz coreos.inst.ignition_url=http://192.168.8.1:8081/master.ign initrd /rhcos/initramfs.img }
References:
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/performing_an_advanced_rhel_installation/preparing-for-a-network-install_installing-rhel-as-an-experienced-user#configuring-a-tftp-server-for-uefi-based-clients_preparing-for-a-network-install
- https://docs.openshift.com/container-platform/4.1/installing/installing_bare_metal/installing-bare-metal.html#installation-user-infra-machines-pxe_installing-bare-metal
fixed in 0.5.4
Enable UEFI for PXE booting and RHCOS.... I guess 😢