Last active
February 27, 2023 15:34
-
-
Save curiousercreative/51c25d007dd7bbd156e4205f7d4768e6 to your computer and use it in GitHub Desktop.
Make a 2011 MacBook Pro with failing AMD dGPU run Pop!_OS 22.04
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
#! /usr/bin/env bash | |
# If the Pop! installer won't boot due to dGPU failure, remove the SATA SSD/HDD from the MacBook and install Pop! to it using a computer that will boot the installer | |
sudo su | |
# With Pop! installed and running as root | |
# disable AMD gpu drivers | |
cat << EOF > /etc/modprobe.d/blacklist-amd-dgpu.conf | |
blacklist radeon | |
blacklist amdgpu | |
EOF | |
# install package updates | |
apt update | |
apt upgrade | |
# install Wi-Fi drivers | |
apt install firmware-b43-installer | |
# install fan controls to keep them from running max speed | |
apt install mbpfan | |
# if kernel ramdisk wasn't updated, update that now | |
update-initramfs -c -k all | |
# if you need to reinstall the SATA disk, do that and boot up. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment