Last active
January 2, 2023 07:06
-
-
Save xdqi/11b543e1289249b7061286afd1572fd7 to your computer and use it in GitHub Desktop.
Compile GRUB mount on macOS
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
#!/bin/bash -x | |
# install macfuse from osxfuse.github.io | |
# brew install autoconf automake objconv | |
git clone https://git.savannah.gnu.org/git/grub.git | |
cd grub | |
./bootstrap | |
./configure --disable-nls --disable-werror | |
make || make grub-mount grub-fstest | |
otool -L grub-mount grub-fstest | |
# Compiled grub-mount and grub-fstest has dependency of only libSystem and FUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment