Winston Hoy revisou este gist 2 years ago. Ir para a revisão
1 file changed, 2 insertions
main.sh
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | 3 | # 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 | |
| 4 | 4 | ||
| 5 | + | sudo su | |
| 6 | + | ||
| 5 | 7 | # With Pop! installed and running as root | |
| 6 | 8 | # disable AMD gpu drivers | |
| 7 | 9 | cat << EOF > /etc/modprobe.d/blacklist-amd-dgpu.conf | |
Winston Hoy revisou este gist 3 years ago. Ir para a revisão
1 file changed, 25 insertions
main.sh(arquivo criado)
| @@ -0,0 +1,25 @@ | |||
| 1 | + | #! /usr/bin/env bash | |
| 2 | + | ||
| 3 | + | # 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 | |
| 4 | + | ||
| 5 | + | # With Pop! installed and running as root | |
| 6 | + | # disable AMD gpu drivers | |
| 7 | + | cat << EOF > /etc/modprobe.d/blacklist-amd-dgpu.conf | |
| 8 | + | blacklist radeon | |
| 9 | + | blacklist amdgpu | |
| 10 | + | EOF | |
| 11 | + | ||
| 12 | + | # install package updates | |
| 13 | + | apt update | |
| 14 | + | apt upgrade | |
| 15 | + | ||
| 16 | + | # install Wi-Fi drivers | |
| 17 | + | apt install firmware-b43-installer | |
| 18 | + | ||
| 19 | + | # install fan controls to keep them from running max speed | |
| 20 | + | apt install mbpfan | |
| 21 | + | ||
| 22 | + | # if kernel ramdisk wasn't updated, update that now | |
| 23 | + | update-initramfs -c -k all | |
| 24 | + | ||
| 25 | + | # if you need to reinstall the SATA disk, do that and boot up. | |