debian
2012 Mac Mini Debian 13
Backup server for gamehenge
ZFS Storage
20251229 Debian t2 install on 2018 Mac mini
Use whole disk partitioning
xfce DE SSH server
adduser phil sudo
su - phil
sudo apt update
sudo apt install -y curl gnupg
# Add the T2 Linux apt repository
CODENAME=trixie
curl -s --compressed "https://adityagarg8.github.io/t2-ubuntu-repo/KEY.gpg" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/t2-ubuntu-repo.gpg >/dev/null
sudo curl -s --compressed -o /etc/apt/sources.list.d/t2.list "https://adityagarg8.github.io/t2-ubuntu-repo/t2.list"
echo "deb [signed-by=/etc/apt/trusted.gpg.d/t2-ubuntu-repo.gpg] https://github.com/AdityaGarg8/t2-ubuntu-repo/releases/download/${CODENAME} ./" | sudo tee -a /etc/apt/sources.list.d/t2.list
sudo apt update
sudo apt install linux-t2-lts
sudo apt install apple-bce apple-t2-audio-config
# zfs install
# Add ‘contrib’ to end of each deb line in /etc/apt/sources.list
sudo apt install zfsutils-linux
# will not install on 6.18 kernel (12/30/25)
# accidentally installed linux-t2 instead of linux-t2-lts for zfs. Uninstalled the package but not the kernel. This results in dkms builds for zfs on 6.18.x. Ugh. Fine but hate seeing the errors.
sudo rm -rf /lib/modules/6.18.2-1-t2-trixie
sudo apt remove linux-image-6.18.2-1-t2-trixie
sudo dpkg --configure zfs-dkms
sudo apt autoremove
sudo update-grub
# WiFi enable for t2 after install
# brcm files were copied to usb stick from previous install
sudo mkdir -p /lib/firmware/brcm
sudo rsync -avP /mnt/stick/t2-firmware/brcm/ /lib/firmware/brcm/
# Reload the driver
sudo modprobe -r brcmfmac # Remove it
sudo modprobe brcmfmac # Load it again
# Check if it found the firmware
sudo dmesg | grep brcm
# This returned some errors but I think that’s normal.
# WiFi works now even though I don’t need it.
# TO DO
# export & import zpool from 2012 backup
# update syncoid/sanoid on proxmox host