bkeadle Absent Member.
Absent Member.
975 views

PXE Legacy mirror to EFI

I have a good, working legacy PXE boot and menu...how do I replicate it to a UEFI boot? Seems like there must be a way to effectively clone my PXE boot menu to the EFI PXE boot menu?
Labels (1)
0 Likes
4 Replies
bkeadle Absent Member.
Absent Member.

Re: PXE Legacy mirror to EFI

I thought I could simply copy %zenworks_home%\share\tftp\pxemenu.txt (etc) to %zenworks_home%\share\tftp\efi\x86_64\*...but that is apparently too logical
grrrrrrr......
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: PXE Legacy mirror to EFI

bkeadle;2495053 wrote:
I thought I could simply copy %zenworks_home%\share\tftp\pxemenu.txt (etc) to %zenworks_home%\share\tftp\efi\x86_64\*...but that is apparently too logical
grrrrrrr......


See if this thread helps....

https://forums.novell.com/showthread.php/506904-Adding-a-new-Boot-Service-Menu-Item?highlight=menu

The UEFI boot will be using a different CFG file than your BIOS boot.....Make sure to update that to point to your Menu.
0 Likes
bkeadle Absent Member.
Absent Member.

Re: PXE Legacy mirror to EFI

No, that thread isn't helpful.

I have a working menu. pxemenu.txt in the ..\tftp folder. I get this menu

I copied that to ..\tftp\efi\x86_64, and I get this menu: I get this menu
0 Likes
bkeadle Absent Member.
Absent Member.

Re: PXE Legacy mirror to EFI

Breakthrough. I see the syntax of the pxemenu.txt is different for the environments. Here's a snippet of my .\tftp\pxemenu.txt:

[INDENT]
[Imaging]
MenuTitle = Zenworks Imaging
option = execute ; "Manual" ; "Manual Imaging (z_maint.cfg)" ;
pxelinux.0 ; z_maint.cfg
option = execute ; "Active Backup Restore" ; "Synology Active Backup Bare-Metal restore (synoresc_iso.cfg)" ;
pxelinux.0 ; synoresc_iso.cfg
option = execute ; "HTTP Options" ; "" ;
lpxelinux.0 ; default
[/INDENT]


and this is the syntax in .\tftp\efi\x86_64\pxemenu.txt:

option = "execute;Manual;Manual Imaging;efi/x86_64/bootx64.efi;efi/x86_64/z_maint.conf"
option = "execute;Active Backup Restore;Synology Active Backup Bare-Metal restore (synoresc_iso.cfg);efi/x86_64/bootx64.efi;efi/x86_64/synoresc_iso.conf"
option = "execute;HTTP Options;HTTP ISO Boot;efi/x86_64/bootx64.efi;efi/x86_64/lpxelinux.conf""


Now to figure out how to get the 2nd, 3rd options to boot.

These work under legacy PXE:

The 2nd option is using memdisk to load an ISO (via TFTP)

[INDENT]
DEFAULT iso
LABEL iso
kernel boot/memdisk
append iso initrd=iso/synoresc.iso raw
[/INDENT]


The 3rd option is using lpxelinux.0 to loan an ISO (via HTTP)


[INDENT]
DEFAULT iso
LABEL iso
kernel http://172.16.0.17/zenworks-downloads/pxe/boot/memdisk raw
initrd http://172.16.0.17/zenworks-downloads/pxe/iso/synoresc.iso
append iso raw
[/INDENT]


Any idea what those conf files would look like?
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.