最後活躍 2 days ago

修訂 cf017d3672ec82b14ce937cb207094d3baf28eda

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