I don’t know if this helps but I built a system to generate customized UEFI boot menus for standalone DVDs. It’s not all pretty or anything. The menu ends up being black/white vs the boot menus for BIOS.

 

I start with a generic OS DVD from the distro and extract it to a folder.

 

1)      You need a partition under boot for the server you’re building and it needs to be vfat..this is a section of my UEFI kickstart file..200MBs seems fine:

part /boot/efi --asprimary --fstype=vfat --label EFI  --size=200

part /boot --asprimary --fstype ext4 --size=1024

 

2)      In my case of a standalone DVD, I have a script edit the EFI/BOOT/BOOTX64.conf on the DVD:

1st to make it so the menu displays and to disable the timeout:

sed -i -e 's/^timeout .*$/# timeout 5/' EFI/BOOT/BOOTX64.conf

sed -i -e 's/^hiddenmenu/# hiddenmenu/' EFI/BOOT/BOOTX64.conf

 

I append sections like this for each menu choice:

 

title Install my application

  kernel /images/pxeboot/vmlinuz ks=cdrom:/HPM/kickstart/hpmss_efi.ks

  initrd /images/pxeboot/initrd.img

 

 

3)      Finally I regenerate the DVD(this was edited for UEFI):

 

mkisofs -quiet -m RCS -joliet-long -o ${NEWDVD_LOC}/${ISO_NAME_FINAL} -V "mlsk${BUILD_DATE}" -A "${ISO_NAME_FINAL}"  -p "$USER@$(hostname)" -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -R -T -J -U -m TRANS.TBL ${NEWDVD_LOC_SRC} >/dev/null 2>&1

ISO_RC=$?

 

What I end up with is a bootable ISO that boots in either legacy/bios and UEFI and loads the OS properly. The UEFI menu is pretty stark but it works.

 

Thanks!

Jim Cole

Technical Subject Matter Expert, Implementation Services

Strategic Intelligence
McKesson Connected Care Analytics

jim.cole@mckesson.com

Office:  (515) 978-1770

 

 

 

 

From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Jochen Demmer
Sent: Wednesday, May 06, 2015 4:04 AM
To: cobbler@lists.fedorahosted.org
Subject: Re: [cobbler] Enable UEFI Red Hat support on Cobbler (2.6.7) - HOW?

 

Hi,

it's funny that you ask because I tried to set it up with cobbler 2.6.7, spacewalk 2.2 and UEFI for some days now.
At some point I gave up because google couldn't spit me out enough usable information to get this running.

I got the system to load grub, but no menu was displayed to select the corresponding kickstart entry...

I would be very much interested in further information on this topic, too.

Jochen


Am 06.05.2015 um 10:22 schrieb Daniel Kertby:

Anyone have got UEFI support to work in Cobbler? 

The support seems to be there in form of boot files etc... but it is completely integrated?

BR,

Daniel

 

On Tue, May 5, 2015 at 1:15 PM, Daniel Kertby <kertby@gmail.com> wrote:

 

Hi,

I have tried to find info how to enable UEFI boot in Cobbler but without success.

If I understand it correctly, dhcpd.template needs to be updated to support
option arch = 00:07 (UEFI 64-bit)
(https://access.redhat.com/discussions/1168563)

Is there any document describing how to do this?

Cobbler complained on 'cobbler sync' after adding the if statement for adding option arch into dhcpd.template.

All help is appreciated,

Daniel

 

 




_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

 

--

Jochen Demmer
Administrator
T: +49-(0)241-4131146-29
jochen.demmer@peakwork.de