Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1458937

Summary: [RFE] Add example kickstarts for 32bit UEFI support to livemedia-creator
Product: Red Hat Enterprise Linux 7 Reporter: Brian Lane <bcl>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact: Petr Bokoc <pbokoc>
Priority: medium    
Version: 7.4CC: bcl, jstodola, lmiksik, pasik, pbokoc, pholica, pjones, pkotvan, salmy, sbueno
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lorax-19.6.95-1.el7 Doc Type: Enhancement
Doc Text:
The *livemedia-creator* utility now provides a sample Kickstart file for UEFI systems The example Kickstart files provided with the _livemedia-creator_ packages have been updated to support 32 and 64-bit UEFI systems. The files are located in the `/usr/share/lorax-version/` directory. Note that *livemedia-creator* must be run on a UEFI system or virtual machine to build bootable UEFI disk images.
Story Points: ---
Clone Of:
: 1488429 (view as bug list) Environment:
Last Closed: 2018-04-10 17:38:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1523688    
Bug Blocks: 1392968, 1478303    
Attachments:
Description Flags
Example kickstart for 32/64 bit UEFI on x86
none
patch_to_add_package none

Description Brian Lane 2017-06-05 21:32:21 UTC
32bit UEFI booting needs different packages on each arch, we need to add and test new examples for UEFI64/32 on x86_64, aarch64, and ppc64

Comment 2 Brian Lane 2017-06-05 21:35:40 UTC
Created attachment 1285163 [details]
Example kickstart for 32/64 bit UEFI on x86

Comment 3 Brian Lane 2017-06-05 21:42:15 UTC
I've tested this kickstart with x86_64 and qemu UEFI and it works fine. I don't have any way to test 32bit booting.

I added the following for x86:

grub2-tools-efi
shim-x64
grub2-efi-x64-cdboot
efibootmgr
shim-ia32
grub2-efi-ia32-cdboot


aarch64 should, I think, add:

efibootmgr
grub2-efi-aa64-cdboot
grubby
shim-aa64


ppc64 should be:

grub2-tools
grub2-tools-minimal
grub2-tools-extra
grub2-ppc64

ppc64le should be:

grub2-tools
grub2-tools-minimal
grub2-tools-extra
grub2-ppc64le

Comment 5 Brian Lane 2017-06-13 16:15:45 UTC
*** Bug 1460499 has been marked as a duplicate of this bug. ***

Comment 8 Brian Lane 2017-06-15 17:29:06 UTC
Changes are smaller than I expected:

https://github.com/rhinstaller/lorax/pull/216

Comment 11 Marek Hruscak 2017-06-26 14:46:46 UTC
Example kickstart is missing package grub2-efi-ia32 . System is unable to boot without it. Tested with no-virt option both make-disk with rhel7-minimal.ks and make-iso with rhel7-livemedia.ks .
Adding mentioned package manually makes both .iso and .img bootable.
Legacy grub2-efi in %packages is provided by grub2-efi-x64 , but not with grub2-efi-ia32 , which is not installed.
I have tested both output from make-iso and make-disk .img on both x64(KVM VM) and ia32(Minnowboard Turbot) firmwares. With added package grub2-efi-ia32 it works fine.
Patch in attachment.

Comment 12 Marek Hruscak 2017-06-26 14:48:00 UTC
Created attachment 1292006 [details]
patch_to_add_package

Comment 20 Marek Hruscak 2018-02-06 10:05:09 UTC
Verified on RHEL-7.5-20180201.2 with lorax-19.6.104-1 .

Lorax now contains rhel7-livemedia/minimal.ks with correct packageset
Live .iso is able to boot without problem on 32bit UEFI firmware. All needed packages are installed.

Comment 23 errata-xmlrpc 2018-04-10 17:38:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0947