最終更新 2 days ago

修正履歴 84f434efd04d844628412cf6741168ccd6420f05

main.sh Raw
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
5sudo su
6
7# With Pop! installed and running as root
8# disable AMD gpu drivers
9cat << EOF > /etc/modprobe.d/blacklist-amd-dgpu.conf
10blacklist radeon
11blacklist amdgpu
12EOF
13
14# install package updates
15apt update
16apt upgrade
17
18# install Wi-Fi drivers
19apt install firmware-b43-installer
20
21# install fan controls to keep them from running max speed
22apt install mbpfan
23
24# if kernel ramdisk wasn't updated, update that now
25update-initramfs -c -k all
26
27# if you need to reinstall the SATA disk, do that and boot up.