Created
March 22, 2026 19:58
-
-
Save crzsotona/8eff38cd09fad3a4990047263849b04f to your computer and use it in GitHub Desktop.
Bypass RedHat/Centos Anaconda Mac Mini 2012 EFI installation guardrails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Anaconda should be restarted to pull the changes (systemctl restart anaconda) | |
| # Makes is_mactel() never trigger, falls through to standard EFI() class | |
| sed -i 's/if arch.is_mactel():/if False: # arch.is_mactel() — disabled to bypass Apple EFI check/' \ | |
| /usr/lib64/python3.9/site-packages/pyanaconda/modules/storage/platform.py | |
| # Also patch PLATFORM_FORMAT_TYPES to accept efi instead of macefi | |
| sed -i 's/PLATFORM_FORMAT_TYPES: \["macefi"\]/PLATFORM_FORMAT_TYPES: ["efi"]/' \ | |
| /usr/lib64/python3.9/site-packages/pyanaconda/modules/storage/platform.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment