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
RUBY
cd ruby
- Install Bundler
gem install bundler
- Run the script
ruby efifix.rb
- Install Bundler
RUST
cd rust
- Compile script
rustc efifix.rs
- Just click on the compiled file to run the rust script.
- Compile script
JAVA
cd java
- Compile script
javac EFIFixer.java
- Run the script
java EFIFixer
- Compile script
LUA
cd lua
- You need to install requirements
- Install
Luarocks
first if you don't already have it installed - Use luarocks to install
lfs
luarocks install luafilesystem
- Run the script
lua efifix.lua
- Install
- You need to install requirements
PERL
cd perl
- Run the script
perl efifix.pl
- Run the script
JAVASCRIPT
cd nodejs
- install dependensies
npm install
- Run the Script
node efifix.js
- install dependensies