Bug 2347153 - no longer uses mactel-boot
Summary: no longer uses mactel-boot
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: anaconda-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: https://discussion.fedoraproject.org/...
Depends On: 2353284
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-23 01:32 UTC by Chris Murphy
Modified: 2025-04-14 12:04 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-03-10 13:37:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
storage.state (20.00 KB, application/x-sqlite3)
2025-03-22 16:36 UTC, Chris Murphy
no flags Details
storage.log (236.51 KB, text/plain)
2025-03-22 16:36 UTC, Chris Murphy
no flags Details
program.log (2.25 KB, text/plain)
2025-03-22 16:37 UTC, Chris Murphy
no flags Details
anaconda.log (9.01 KB, text/plain)
2025-03-22 16:37 UTC, Chris Murphy
no flags Details

Description Chris Murphy 2025-02-23 01:32:33 UTC
The installer no longer uses mactel-boot.x86_64 package on Intel Macs. The result does work but there are pretty significant changes as a result:

a. The existing FAT32 EFI System partition is now used, instead of a new partition formatted HFS+ and dedicated for Fedora.

b. The user now sees an EFI boot volume in the firmware built-in boot manager, instead of a Fedora Linux volume.

c. The user no longer sees a Fedora Linux volume in the macOS Startup Disk panel.

d. Different results from Fedora variants that don't use webui.

I don't think any of this is untenable. It's just unexpected, and I'm uncertain if it's intentional. But we could note this in Common Bugs so it gets some visibility.

Tested with Fedora-Workstation-Live-42-20250215.n.0.x86_64.iso on MacBookPro9,2 (mid-2012)

Reproducible: Always

Comment 1 Neal Gompa 2025-02-26 03:00:07 UTC
I would rather we fixed this because it's a point of pride that we actually have that integration. It's very user-visible stuff.

Comment 2 Katerina Koukiou 2025-03-10 12:55:18 UTC
I believe this regressed with: https://github.com/rhinstaller/anaconda/commit/708a8f909bc385396189b241f6a4dd3bd79917f3

Comment 3 Katerina Koukiou 2025-03-10 12:55:46 UTC
This cannot be related to Web UI.Re-assigning to our backend component.

Comment 4 Katerina Koukiou 2025-03-10 12:59:08 UTC
@chris I see you tried to specify this as blocker for 42 though https://bugzilla.redhat.com/show_bug.cgi?id=2231339
This is not the proper way to propose blockers. Feel free to propose it as a blocker through the official fedora platform for this: https://qa.fedoraproject.org/blockerbugs/propose_bug

Comment 5 Vojtech Trefny 2025-03-10 13:04:58 UTC
Btw. mactel-boot package was orphaned and retired from Fedora: https://src.fedoraproject.org/rpms/mactel-boot/c/da1c3e396cfab2224d1fba24c17a46f4a87a9a0a?branch=rawhide

Comment 6 Katerina Koukiou 2025-03-10 13:37:41 UTC
Will not be able to support mactel-boot, see comment above.

Comment 7 Neal Gompa 2025-03-19 00:24:37 UTC
I'll revive the component. As an owner of Intel Macs, I'd rather we not regress on this.

Comment 8 Neal Gompa 2025-03-19 00:28:45 UTC
Package review request: https://bugzilla.redhat.com/show_bug.cgi?id=2353284

Comment 9 Jiri Konecny 2025-03-19 13:46:32 UTC
Removing this from a WebUI tracker, it is not at all related to Web UI.

Comment 10 Neal Gompa 2025-03-21 00:46:40 UTC
This now just needs karma to land: https://bodhi.fedoraproject.org/updates/FEDORA-2025-870a78179f

Comment 11 Chris Murphy 2025-03-22 16:36:19 UTC
1. Boot Fedora-Workstation-Live-42-20250319.n.0.x86_64.iso
2. rpm -iv mactel-boot-0.9-35.fc42.x86_64.rpm
3. Performed an installation using the default option (I'll call it preserve existing OS and install into free space, because I failed to take a screenshot)

It still uses the EFI System partition for shim and grub, a separate "HFS ESP" isn't created. Boots OK though.

I'll attached anaconda logs for this installation.

Comment 12 Chris Murphy 2025-03-22 16:36:46 UTC
Created attachment 2081367 [details]
storage.state

Comment 13 Chris Murphy 2025-03-22 16:36:57 UTC
Created attachment 2081368 [details]
storage.log

Comment 14 Chris Murphy 2025-03-22 16:37:08 UTC
Created attachment 2081369 [details]
program.log

Comment 15 Chris Murphy 2025-03-22 16:37:20 UTC
Created attachment 2081370 [details]
anaconda.log

Comment 16 Chris Murphy 2025-03-22 17:03:17 UTC
Clarification on comment 11, step 2 - this installs mactel-boot in volatile storage in the LiveOS environment. So it should be available to anaconda.

Comment 17 Neal Gompa 2025-03-23 01:17:32 UTC
Here's the comps PR to restore it: https://pagure.io/fedora-comps/pull-request/1104

Comment 18 Chris Murphy 2025-03-25 02:33:24 UTC
Fedora-Workstation-Live-42-20250324.n.0.x86_64 doesn't have mactel-boot still. Booted it anyway and installed mactel-boot-0.9-35.fc42.x86_64.rpm then ran the installer. Same result. It uses existing FAT32 ESP.

Unfortunately I'm losing access to this system for testing for the rest of this cycle. Is there a way to trick Anaconda into thinking a qemu-kvm is a Mac?

Comment 19 Chris Murphy 2025-03-25 02:40:10 UTC
Seems like the reason why this bug is still happening is bug 2354671. Anaconda thinks Windows is installed, therefore it doesn't do whatever mactel-boot tells it to do?

Comment 20 Martin Kolman 2025-04-01 13:14:04 UTC
(In reply to Chris Murphy from comment #19)
> Seems like the reason why this bug is still happening is bug 2354671.
> Anaconda thinks Windows is installed, therefore it doesn't do whatever
> mactel-boot tells it to do?

With bug 2354671 fixed I think you can check if this works now ? :)

Comment 21 Chris Murphy 2025-04-01 16:06:08 UTC
I've lost access to the hardware used for testing. If there's a way to get Anaconda to think a VM (qemu/kvm) is a Mac, I can retest.

Comment 22 Kamil Páral 2025-04-14 12:04:06 UTC
F42 Final image contains mactel-boot and bug 2354671 is resolved. Is there anyone who can confirm whether this is fixed?


Note You need to log in before you can comment on or make changes to this bug.