---
title: macbook air 灌 Linux
---
# macbook air 灌 Linux
## 背景
- 我有一台 2019 年的 macbook air ,這台具備 T2 安全晶片,但 macos 跑在這台很卡,不適合做開發。
## 步驟
- 準備 ubuntu install usd
- 解鎖 T2 晶片及設定可使用外部開機
- 安裝 ubuntu
:::info
剛開始可能鍵盤、WIFI 會無法運作,所以要自備鍵盤滑鼠
:::
- 加入 外部 apt gpg key - [參考](https://github.com/t2linux/T2-Debian-and-Ubuntu-Kernel)
- `sudo apt update`
- 這裡應該有些基本的 driver
- 安裝 wifi driver [安裝 script](https://wiki.t2linux.org/tools/firmware.sh),按照 [步驟](https://wiki.t2linux.org/guides/wifi-bluetooth/) 做
## 灌失敗處理
- 找另一台 mac 下載 Apple Configurator [重置 DFU](https://support.apple.com/zh-tw/108900)
- 關機,然後按下 command R 將安全開機及允許外部儲存設備打勾
- 重開
- option , 選擇 UEFI 開機就會開進去了
## ref
- https://t2linux.org/