Aprile 2026

How to install Debian 13 on a MacbookAir 9,1 (intel)

For T2 chip (touchpad, keyboard):

https://wiki.t2linux.org/guides/preinstall and follow steps, in details:

apt install   firmware-brcm80211   bluez-firmware  firmware-sof-signed   alsa-utils   pipewire   pipewire-pulse   wireplumber

apt-get install autoconf bc bison build-essential cpio curl debhelper dkms dwarves fakeroot flex gawk git kernel-wedge libcap-dev libelf-dev libiberty-dev libncurses-dev libpci-dev libssl-dev libudev-dev openssl python3 rsync wget xz-utils zstd

mkdir build && cd build

git clone --depth=1 https://github.com/t2linux/linux-t2-patches patches

pkgver=$(curl -sL https://github.com/t2linux/T2-Ubuntu-Kernel/releases/latest/ | grep "<title>Release" | awk -F " " '{print $2}' | cut -d "v" -f 2 | cut -d "-" -f 1)

_srcname=linux-${pkgver}

wget https://www.kernel.org/pub/linux/kernel/v${pkgver//.*}.x/linux-${pkgver}.tar.xz

tar xf $_srcname.tar.xz

cd $_srcname

for patch in ../patches/*.patch; do     patch -Np1 < $patch; done

cp /boot/config-$(uname -r) ./.config

make olddefconfig
   54  scripts/config --module CONFIG_BT_HCIBCM4377
   55  scripts/config --module CONFIG_HID_APPLETB_BL
   56  scripts/config --module CONFIG_HID_APPLETB_KBD
   57  scripts/config --module CONFIG_DRM_APPLETBDRM
   58  scripts/config --module CONFIG_APPLE_BCE
   59  scripts/config --module CONFIG_APFS_FS
   60  scripts/config --module CONFIG_BT_HCIBCM4377
make -j$(nproc)

export MAKEFLAGS=-j$(nproc)

nano /usr/src/broadcom-sta-6.30.223.271/dkms.conf  ---(AUTOINSTALL=NO)
make modules_install
make install

For wifi:

https://github.com/AdityaGarg8/Apple-Firmware/releases/download/debian/apple-firmware_14.7.6-1_all.deb