Bug 1474861

Summary: 32 bit UEFI Support
Product: [Fedora] Fedora Reporter: Jan Kurik <jkurik>
Component: Changes TrackingAssignee: Peter Jones <pjones>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: 8ru2u4gz, klember, mikhail.v.gavrilov, mirh, pjones, randy, rfarmer84, rharwood, samuel-rhbugs
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ChangeAcceptedF27, SystemWideChange
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-24 14:10:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Kurik 2017-07-25 14:03:22 UTC
This is a tracking bug for Change: 32 bit UEFI Support
For more details, see: https://fedoraproject.org//wiki/Changes/32BitUefiSupport

Some x86 systems ship with a 64 bit CPU, but 32 bit UEFI firmware. It is possible to use a 32 bit UEFI grub build to boot a 64 bit kernel and distribution on these systems. So far this setup has not been supported in Fedora. This feature is about adding support for installing and booting Fedora on this hardware.

Comment 1 Jan Kurik 2017-08-10 06:17:53 UTC
On 2017-Aug-01, we have reached the Fedora 27 Change Checkpoint: Completion deadline (testable).

At this point, all accepted changes should be substantially complete, and testable. Additionally, if a change is to be enabled by default, it must be enabled at Change Completion deadline as well.

Change tracking bug should be set to the MODIFIED state to indicate it achieved completeness.

Incomplete and non testable Changes will be reported to FESCo for 2017-Aug-11 meeting.

Please set this bug to the MODIFIED state to indicate it is already in the testable state, or provide an update describing the current state of implementation for this Change.

Thank you,
Jan

Comment 2 Jan Kurik 2017-08-14 14:39:07 UTC
Deferring. Please resubmit the Change proposal for review to Change wrangler once this is ready.

For more info check https://pagure.io/fesco/issue/1760#comment-457211

Comment 3 Peter Jones 2017-08-18 15:28:29 UTC
This is testable on non-secure-boot machines with this copr: https://copr.fedorainfracloud.org/coprs/pjones/efi32cpu64/builds/

And I'll be able to merge it as soon as https://bugzilla.redhat.com/show_bug.cgi?id=1483014 is done.

Comment 4 Kalev Lember 2017-08-19 06:21:10 UTC
We discussed it in the FESCo meeting yesterday and agreed to allow this as a late exception:

  * AGREED: Include 32bit UEFI Support in F27 (+1:5, 0:0, -1:0)  (kalev,
    16:19:16)

https://meetbot.fedoraproject.org/fedora-meeting/2017-08-18/fesco.2017-08-18-16.00.log.html

Comment 5 Peter Jones 2017-08-25 15:26:49 UTC
This is mostly done:

gnu-efi is done
shim-unsigned-x64 is done
shim-unsigned-aarch64 is done (wish I had named this aa64 but oh well)
lorax is done
anaconda is done
shim-signed is in the works - right now it has the shim-0.8 /boot/efi/EFI/fedora/shimx64.efi that's signed by MS, and I'll swap out the new one once signing happens.  At that point I'm also going to deadpkg this package and move it into the "shim" package, fixing our ages old naming goof.

Comment 6 Jan Kurik 2017-09-06 13:38:10 UTC
On 2017-Sep-05 we reached the "Change Checkpoint: 100% Code Complete Deadline" milestone for Fedora 27 release. At this point all the Changes not at least in "ON_QA" state should be brought to FESCo for review. Please update the state of this bug to "ON_QA" if it is already 100% completed. Please let me know in case you have any trouble with the implementation and the Change needs any help or review.

Thanks, Jan

Comment 7 Ryan Farmer 2017-09-14 04:29:18 UTC
(In reply to Peter Jones from comment #5)
> This is mostly done:
> 
> gnu-efi is done
> shim-unsigned-x64 is done
> shim-unsigned-aarch64 is done (wish I had named this aa64 but oh well)
> lorax is done
> anaconda is done
> shim-signed is in the works - right now it has the shim-0.8
> /boot/efi/EFI/fedora/shimx64.efi that's signed by MS, and I'll swap out the
> new one once signing happens.  At that point I'm also going to deadpkg this
> package and move it into the "shim" package, fixing our ages old naming goof.

Just to be clear, is this the reason why in Fedora 27, I have two entries that say "Fedora", and I end up getting this when I ask efibootmgr what's going on?

$ efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,2001,2002,2003
Boot0000* Fedora	HD(1,GPT,7f5ff969-0902-4306-8441-cc26c5282b55,0x800,0x64000)/File(\EFI\fedora\shim.efi)RC
Boot0001* Fedora	HD(1,GPT,7f5ff969-0902-4306-8441-cc26c5282b55,0x800,0x64000)/File(\EFI\fedora\shimx64.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

I thought I was losing my mind or that my firmware was doing something bogus.

Thanks!

Comment 8 Peter Jones 2017-09-15 15:39:12 UTC
(In reply to Ryan Farmer from comment #7)
> (In reply to Peter Jones from comment #5)
> > This is mostly done:
> > 
> > gnu-efi is done
> > shim-unsigned-x64 is done
> > shim-unsigned-aarch64 is done (wish I had named this aa64 but oh well)
> > lorax is done
> > anaconda is done
> > shim-signed is in the works - right now it has the shim-0.8
> > /boot/efi/EFI/fedora/shimx64.efi that's signed by MS, and I'll swap out the
> > new one once signing happens.  At that point I'm also going to deadpkg this
> > package and move it into the "shim" package, fixing our ages old naming goof.
> 
> Just to be clear, is this the reason why in Fedora 27, I have two entries
> that say "Fedora", and I end up getting this when I ask efibootmgr what's
> going on?

Yes, though this aspect should be fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2017-249267e56b (shim-signed-13-0.5).

Everything is done here except signing; that'll be shim-signed-13-1 , which should happen within the next week or so.  If there's any delay in that, we can ship as-is for f27 and issue the new version as an update, and all that will mean is that the install image still doesn't work on ia32.

Comment 9 Fedora End Of Life 2018-02-20 15:32:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 10 mirh 2018-05-06 21:02:24 UTC
I see signed ia32 shim finally was released in 15.2

And for as much not being in F28, I see latest rawhide has it. 
Can the issue be closed then?

Comment 11 `{third: "Beedell", first: "Roke"}`{.JSON5} 2022-01-10 16:27:24 UTC
Is this operational currently?

Comment 12 Jan Kurik 2022-01-10 16:36:47 UTC
Forwarding the needinfo request to author of the Change.

Comment 13 `{third: "Beedell", first: "Roke"}`{.JSON5} 2023-07-17 12:50:58 UTC
I never got a response, so I've just asked at https://discussion.fedoraproject.org/t/how-to-install-onto-32-bit-efi/85941 instead.

Comment 14 Red Hat Bugzilla 2023-11-15 04:25:04 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days