Simple script for Hackintosh users. Automatic optimization of the EFI partition to resolves issues such as "broken EFI partition" and "EFI not enough disk space." Whatever programming language you choose, troubleshooting EFI problems will be easy and effective.
- Clone This Repository
git clone https://github.com/cmalf/efi-magic-fix.git
- Go to Folder
cd efi-magic-fix - Select the language
RUBYcd ruby- Install Bundler
gem install bundler
- Run the script
ruby efifix.rb
- Install Bundler
RUSTcd rust- Compile script
rustc efifix.rs
- Just click on the compiled file to run the rust script.
- Compile script
JAVAcd java- Compile script
javac EFIFixer.java
- Run the script
java EFIFixer
- Compile script
LUAcd lua- You need to install requirements
- Install
Luarocksfirst if you don't already have it installed - Use luarocks to install
lfsluarocks install luafilesystem
- Run the script
lua efifix.lua
- Install
- You need to install requirements
PERLcd perl- Run the script
perl efifix.pl
- Run the script
JAVASCRIPTcd nodejs- install dependensies
npm install
- Run the Script
node efifix.js
- install dependensies