T2 MacBook
CachyOS provides out-of-the-box support for T2 MacBooks, including necessary kernel patches in all provided kernels. However, there are crucial steps required to ensure a successful setup.
Pre-Installation
Section titled “Pre-Installation”Creating a bootable macOS installer is optional but recommended if you plan to modify partitions or remove macOS. It can be useful for firmware updates, troubleshooting, or system restoration. For detailed instructions, refer to Apple’s guide.
Perform these steps below within macOS before booting the CachyOS installer.
Prepare CachyOS Bootable USB
Section titled “Prepare CachyOS Bootable USB”Download the CachyOS ISO and follow the instructions in Creating a Bootable CachyOS USB Drive to create the installation media.
(Optional) Extract Wi-Fi Firmware
Section titled “(Optional) Extract Wi-Fi Firmware”While still in macOS, open Terminal and run the following command. This copies the necessary Wi-Fi firmware files to your EFI partition, making them accessible later during the CachyOS installation.
curl -sL https://wiki.t2linux.org/tools/firmware.sh | bash -s copy_to_efiPrepare Your Disk
Section titled “Prepare Your Disk”If you plan to dual-boot with macOS (recommended), you need to create space for CachyOS. Use the Disk Utility application in macOS to resize your existing macOS partition:
- Open Disk Utility.
- In the Disk Utility sidebar, select the volume you want to resize (usually named “Macintosh HD” or similar).
- Click the “Partition” button in the toolbar.
- Click the ”+” (plus) button below the pie chart representing your disk usage.
- Crucially, when prompted, choose “Add Partition”, not “Add Volume”. You need to create a separate partition for Linux.
- Name: Enter a descriptive name for the new partition (e.g., “CachyOS” or “Linux”).
- Format: Select any available format (like APFS or Mac OS Extended). The CachyOS installer will reformat this partition later, so the initial choice doesn’t matter.
- Size: Allocate the desired amount of storage space for CachyOS. Be aware that resizing partitions later can be difficult or impossible, so choose a size that meets your needs.
- Click “Apply” to create the new partition. Disk Utility will resize your macOS partition and create the new empty space.
Disable Secure Boot
Section titled “Disable Secure Boot”- Reboot your Mac and hold
Command (⌘) + Rimmediately after powering on to enter Recovery Mode. - Go to Utilities > Startup Security Utility.
- Select “No Security” under Secure Boot and “Allow booting from external or removable media” under Allowed Boot Media.
Refer to Apple’s guide on Startup Security Utility for more details.
For an additional overview of preparing a T2 Mac for Linux, consult the t2linux Preinstall guide.
Installation Process
Section titled “Installation Process”- Boot from CachyOS USB:
- Restart your Mac and hold the
Option (⌥)key immediately after powering on. - Select the CachyOS USB drive (usually labeled as “EFI Boot”).
- Restart your Mac and hold the
- (Optional) Enable Wi-Fi in the Live Environment:
- If you need Wi-Fi during installation and don’t have Ethernet/tethering, open the terminal once the CachyOS live environment loads.
- Run these commands to copy the firmware from the EFI partition (created in Extract Wi-Fi Firmware) and configure the NetworkManager:
Terminal window # Mount the EFI partition (usually nvme0n1p1 on T2 Macs)sudo mkdir -p /tmp/apple-wifi-efisudo mount /dev/nvme0n1p1 /tmp/apple-wifi-efi# Copy firmware from EFI to the live environmentbash /tmp/apple-wifi-efi/firmware.sh get_from_efisudo umount /tmp/apple-wifi-efi# Configure NetworkManager to use iwd backendcat <<EOF | sudo tee /etc/NetworkManager/conf.d/wifi_backend.conf[device]wifi.backend=iwdEOFsudo systemctl restart NetworkManager - You should now be able to connect to Wi-Fi networks using the network applet in the system tray.
- Run the CachyOS Installer:
- Launch the CachyOS installer from the desktop or application menu.
- Follow the standard installation procedure, referring to the Installation on Root guide.
- When partitioning, select the free space created earlier. Let the installer handle formatting.
- CachyOS Hardware Detection (chwd) should automatically apply necessary T2-specific boot parameters and configurations during installation.
Post-Installation Steps
Section titled “Post-Installation Steps”After the installation is complete and you have rebooted into your new CachyOS system, you may need to perform a few additional steps to ensure everything works smoothly.
Install Wi-Fi Firmware Permanently
Section titled “Install Wi-Fi Firmware Permanently”If you have followed the optional Enable Wi-Fi in the Live Environment step to get firmware in the live ISO, you can simply follow it again to enable Wi-Fi. Otherwise connect to the internet (e.g., Ethernet, USB tethering) and follow the steps below:
- Open a terminal and download the firmware package from the Arch Linux T2 mirror:
Terminal window curl https://mirror.funami.tech/arch-mact2/os/x86_64/apple-bcm-firmware-14.0-1-any.pkg.tar.zst -o apple-bcm-firmware-14.0-1-any.pkg.tar.zst - Install the downloaded package:
Terminal window sudo pacman -U apple-bcm-firmware-14.0-1-any.pkg.tar.zst - Reload the Wi-Fi kernel modules:
Terminal window sudo modprobe -r brcmfmac_wccsudo modprobe -r brcmfmacsudo modprobe brcmfmac
Wi-Fi should now work reliably after reboots. You can remove the downloaded .pkg.tar.zst file.
Further Configuration
Section titled “Further Configuration”For configuring other hardware components like audio, webcam, Touch Bar, etc., refer to the various guides on the t2linux Wiki.