Skip to content

Instantly share code, notes, and snippets.

@namgk
Last active June 6, 2018 23:26
Show Gist options
  • Save namgk/6f8f1121356b7e4a527e9b67475d4edb to your computer and use it in GitHub Desktop.
Save namgk/6f8f1121356b7e4a527e9b67475d4edb to your computer and use it in GitHub Desktop.
2011 Macbook Gpu Fix
#!/bin/bash
EFIVARS=/sys/firmware/efi/efivars/
cd /
umount $EFIVARS
mount -t efivarfs rw $EFIVARS
cd $EFIVARS
GPUC=$(ls gpu-power-prefs*)
echo "Removing "$GPUC
chattr -i $GPUC
rm $GPUC
printf "\x07\x00\x00\x00\x01\x00\x00\x00" > $GPUC
chattr +i $GPUC
cd /
umount $EFIVARS
reboot
@namgk
Copy link
Author

namgk commented May 1, 2018

https://realmacmods.com/macbook-2011-radeon-gpu-disable/

Insert this CD/DVD/USB to Macbook Pro, hold Option key (alt) while booting.
Choose “EFI boot” (that is your bootable installation media).
When the menu shows, press “e” key to edit the GRUB options of the Arch Linux archiso x86_64 UEFI CD menu entry while it is selected at the main screen, add nomodeset to the end of this line and press Enter.
If everything is done correctly, you will find yourself at the Linux console! (It takes some time so be patient and wait for the prompt)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment