Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PXE boot of the OEM image failed on a UEFI enabled system. #2670

Open
Bala-Yeruva opened this issue Oct 22, 2024 · 0 comments
Open

PXE boot of the OEM image failed on a UEFI enabled system. #2670

Bala-Yeruva opened this issue Oct 22, 2024 · 0 comments

Comments

@Bala-Yeruva
Copy link

Bala-Yeruva commented Oct 22, 2024

Problem description

I setup the PXE server as per kiwi specification and was able to perform a pxe installation when the client server was in legacy boot mode. However, when the client server is enabled with UEFI it fails to load the PXE image .

Could please let us know if I need to enable any additional properties in the config.xml or if something needs to be adjusted on the PXE server to make OEM image work with UEFI enabled systems

Expected behaviour

The OEM image should be able to perform the PXE installation on UEFI enabled systems.

Steps to reproduce the behaviour

Image was build with following property.

image

Steps followed in the kiwi document(Network Deployment) : https://osinside.github.io/kiwi/building_images/build_expandable_disk.html

PXE server configuration details:

cat /etc/dnsmasq.conf

root@dnd-pxe-server:/var/lib/tftpboot# cat /etc/dnsmasq.conf
interface=ens33
dhcp-range=172.28.1.207,172.28.1.209,12h
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/var/lib/tftpboot

bogus-priv
expand-hosts
no-resolv
server=172.28.1.253

dhcp-boot=pxelinux.0,,172.28.1.47
dhcp-no-override
pxe-prompt="Booting FOG Client", 30
#pxe-service=X86PC, "Boot to FOG", pxelinux.0

pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe
pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe

dhcp-boot=boot/grub2/i386-pc/core.0,,172.28.1.47

cat pxelinux.cfg/default

path hv-oem-image
include menu.c32
default menu.c32
LABEL HVVV ubuntu22.04.server PXE Boot
        MENU LABEL HVV ubuntu22.04.server
        KERNEL hv-oem-image/linux
        INITRD hv-oem-image/initrd
        append initrd=hv-oem-image/initrd rd.kiwi.install.pxe rd.kiwi.install.image=tftp://172.28.1.47/hv-oem-image/image/HV-BASE-UBUNTU2204-1.0.0.0-20241014-6600.x86_64-22.04-iso.xz
prompt 0
timeout 0

OEM Image folder structure .
image

Note: No Error messages in the dnsmasq logs.

image

image

OS and Software information

  • KIWI version: kiwi-9.23
  • Operating system host version: Ubuntu
  • Operating system target version: Ubuntu 22.04
  • Open Build Service version (N/A if not using OBS):
  • Koji version (N/A if not using Koji):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant