-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storage: no need in HFS+ on Apple Macs #4865
Conversation
/packit build |
/kickstart-test --testtype smoke |
We don't have Mac for testing so I would go with just smoke testing in this case. |
So a few notes to this: it seems that this code is here for a long time. It was originally named hfs+ and introduced here: 383a190 in RHEL-5. So there is low chance we will find more about it :D About the PR, please remove all the occurrences of the class - see the tests. |
Doesn't this effectively mean we stop supporting the intel macs as an installation target? |
It does not, because Intel Macs understand FAT16 and FAT32, and macOS there itself makes a FAT UEFI partition, but cannot create an HFS+ UEFI partition. This will allow to reuse the EFI with macos. |
Both variants work:
|
We tested with macbooks from 2009, 2010 and probably from 2008 and a bit later ones. Is is possible to create a Fedora LiveCD with Anaconda with this patch so that I would test Fedora on them with this change? We tested ROSA. |
Another user tested it (https://abf.io/platforms/rosa2021.1/products/316/product_build_lists/47297) on Macbook Air 13 from 2016 and reported that Anaconda works correctly there. |
This PR is stale because it has been open 60 days with no activity. |
This PR was closed because it has been stalled for 30 days with no activity. |
This was closed by accident. The team wants to merge it. |
Hello @mikhailnov! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2023-12-08 14:25:22 UTC |
Tests have shown that: * HFS-specific code in grub-install utility contains silly mistakes (https://abf.io/import/grub2/blob/1145a32d77/0001-grub-install-fix-creating-mach_kernel-on-x86-mac.patch) * even whith that patch, that code is broken and registers an incorrect bootloader entry via efibootmgr in UEFI (we in ROSA patch Anaconda to call grub2-install directly instead of calling efibootmgr inside Anaconda for unification) * macOS installer does not allow to create an HFS+ partition for EFI and creates a FAT partition by default It is not clear what for the removed code existed. This patch fixes installation on x86 macs. Did not test on ARM-based macbooks (I think they should also simply follow the UEFI specification and do not require removed hacks). Co-authored-by: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
Clean up after the 708a8f9 commit.
544902a
to
eff83af
Compare
/kickstart-test --testtype smoke |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Great, thanks! 😊 |
Tests have shown that:
It is not clear what for the removed code existed. This patch fixes installation on x86 macs.
Did not test on ARM-based macbooks (I think they should also simply follow the UEFI specification and do not require removed hacks).
Co-authored with @temaps