UEFI Boot to provision new HP gen 10

Hi All,

I am having issue to provision ne HP Gen10 box using UEFI mode, all the box with Legacy Bios is provisioned fine but having issue with UEFI boot

I am using PXELINUX template for that.

Foreman UI Version 1.9.3
SmartProxy running on 1.9.3

Any suggestion would be appreciated !!

Thanks,

T

Hello Tarak and welcome to the community.

Yes, we will help you. If you provide more information and context. Error message, snippets from logs, what you have found so far.

By default Foreman installer does not install pxelinux.efi file, so if you want to PXE-boot EFI systems you need to select Grub2 UEFI PXE Loader from the dropdown. Installer does deploy grub2 automatically.

If you prefer using PXELinux, you just need to download pxelinux.efi from somewhere (Red Hat systems does not have it in RPM packages tho) and put it into /var/lib/tftproot (this path is for RH, on Debian it’s slightly different I think /srv/tftpboot not sure).

Hi Lzap,

Thanks for your prompt response our server’s are running on foreman 1.9.3
along with smart proxy.

I am getting below error on smproxy host which configured as TFTP and DHCP
as well. On the host side it was black screen

----------snip----------

[root@smproxy]# tail -f /var/log/messages | grep 10.21.113.218
Jul 9 03:48:38 smproxy1 dhcpd: DHCPOFFER on 10.21.113.218 to
d0:67:26:c7:b3:20 via 10.21.113.2
Jul 9 03:48:41 smproxy1 dhcpd: DHCPOFFER on 10.21.113.218 to
d0:67:26:c7:b3:20 via 10.21.113.2
Jul 9 03:48:49 smproxy1 dhcpd: DHCPOFFER on 10.21.113.218 to
d0:67:26:c7:b3:20 via 10.21.113.2
Jul 9 03:49:05 smproxy1 dhcpd: DHCPOFFER on 10.21.113.218 to
d0:67:26:c7:b3:20 via 10.21.113.2
Jul 9 03:49:39 smproxy1 dhcpd: DHCPOFFER on 10.21.113.218 to
d0:67:26:c7:b3:20 via 10.21.113.2
Jul 9 03:49:43 smproxy1 dhcpd: DHCPREQUEST for 10.21.113.218
(10.21.16.203) from d0:67:26:c7:b3:20 via 10.21.113.2
Jul 9 03:49:43 smproxy1 dhcpd: DHCPACK on 10.21.113.218 to
d0:67:26:c7:b3:20 via 10.21.113.2
Jul 9 03:49:43 smproxy1 xinetd[2461]: START: tftp pid=21264
from=10.21.113.218
Jul 9 03:49:43 smproxy1 in.tftpd[21265]: RRQ from 10.21.113.218 filename
pxelinux.0
Jul 9 03:49:43 smproxy1 in.tftpd[21266]: RRQ from 10.21.113.218 filename
pxelinux.0
Jul 9 03:49:43 smproxy1 in.tftpd[21266]: Client 10.21.113.218 finished
pxelinux.0

--------snip-----------
T

UEFI server cannot boot pxelinux.0 which is not in EFI binary format. You need to use Grub2 UEFI PXE Loader, change that for your host/hostgroup.

I have the same problem.

My Environment:
Satellite Server 6.5
external dhcp:
settings:
filename “pxelinux.0”;
next-server 192.168.250.27;

Virtual Guests on XenServer works fine with boot option PXELinux BIOS Template PXELinuxChainiPXE

Now i try to boot UEFI Hardware Systems.
I’ve allready choosen Grub2 UEFI. File would be downloaded but afterwards a black screen appears.

I also changed the bootfile name in dhcp to grub2/grubx64.efi, but it makes no difference.

tcpdump from dhcp:
root@dfltrt1:/etc/dhcp# tcpdump -i eth1 host 192.168.250.37 -vv
tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes
09:48:25.454220 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has xsatellite.wtz tell centostest.wtz, length 46
09:48:25.459789 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has dfltrt1 tell centostest.wtz, length 46
09:48:25.459820 ARP, Ethernet (len 6), IPv4 (len 4), Reply dfltrt1 is-at 90:b1:1c:54:80:67 (oui Unknown), length 28

tcpdump from satellite:
[root@xsatellite grub2]# tcpdump -i eth0 port 69 -vv
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
09:48:25.455136 IP (tos 0x0, ttl 64, id 7714, offset 0, flags [none], proto UDP (17), length 68)
centostest.wtz.linx > xsatellite.wtz.tftp: [udp sum ok] 40 RRQ “pxelinux.0” octet tsize 0 blksize 1468
09:48:25.460193 IP (tos 0x0, ttl 64, id 7716, offset 0, flags [none], proto UDP (17), length 60)
centostest.wtz.timeflies > xsatellite.wtz.tftp: [udp sum ok] 32 RRQ “pxelinux.0” octet blksize 1468

/var/log/messages
Oct 31 09:50:44 xsatellite in.tftpd[27116]: RRQ from 192.168.250.37 filename pxelinux.0
Oct 31 09:50:44 xsatellite in.tftpd[27116]: Error code 8: User aborted the transfer
Oct 31 09:50:44 xsatellite in.tftpd[27117]: RRQ from 192.168.250.37 filename pxelinux.0
Oct 31 09:50:44 xsatellite in.tftpd[27117]: Client 192.168.250.37 finished pxelinux.0

found the reason. There was another config file in dhcp where pxelinux.0 was configured. You can ignore. Is working now. THX.

1 Like