Last active
July 30, 2019 17:33
-
-
Save jasonrm/f3229f38fa22fd83f239b1c2040309a3 to your computer and use it in GitHub Desktop.
MacPro 1,1 boot 64-bit kernel from 32-bit UEFI
This file contains 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
set default=0 | |
set timeout=1 | |
# insmod efi_uga | |
insmod all_video | |
insmod font | |
if loadfont ${prefix}/unicode.pf2 | |
then | |
insmod gfxterm | |
set gfxmode=auto | |
set gfxpayload=keep | |
terminal_output gfxterm | |
fi | |
menuentry 'Arch Linux' { | |
insmod gzio | |
echo 'Loading Linux linux ...' | |
# add_efi_memmap might do nothing, still need to test | |
linux /vmlinuz-linux root=rpool/ROOT/arch rw noefi add_efi_memmap nomodeset | |
echo 'Loading initial ramdisk ...' | |
initrd /initramfs-linux.img | |
echo 'booting ...' | |
boot | |
} | |
menuentry "System restart" { | |
echo "System rebooting..." | |
reboot | |
} | |
menuentry "System shutdown" { | |
echo "System shutting down..." | |
halt | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment