descriptionScripts to bootstrap Debian on Apple m1 machines.
ownerThomas Glanzmann
last changeThu, 9 Jun 2022 04:56:59 +0000 (06:56 +0200)

This pages explains how to install Debian on Apple Silicon machines.


The USB-A Port on the Mac Mini will not work in u-boot and grub. The two additional USB-3 ports on the iMac 4 port model also don't work in u-boot, grub and Linux. In order to install Linux on a FileVault-enabled Mac run the installer from Recovery open Disk Utility > Expanding "Macintosh HD" > Selecting locked volume > click "Mount".


If you don't want to use the prebuild artefacts, you can build them yourself using the script.

Asahi installer

Video Recording


Video Recording

In order to format the usb stick under Macos, open the disk utility, right-click on the usb stick (usually the lowest device in the list) and select erase. Choose the following options:

    Name: LIVE
    Format: MS-DOS (FAT)
    Scheme: Master Boot Record

Than open a terminal, and run the following commands:

    sudo su -
    cd /Volumes/LIVE
    curl -sL | tar -xf -


Yes, long answer below.

To update the kernel to the lastest "stable" asahi branch you need to run as root:

    curl -sL | bash

Later it might be necessary to upgrade the stub parition in order to support the GPU code. As soon as that happens, I'll add the instructions and a video in order to do so, but short version is:

    - Backup /boot/efi/EFI
    - Delete the old stub and efi/esp partition
    - Rerun the asahi installer with m1n1+u-boot option
    - Put the /boot/efi/EFI back

So, you never need to reinstall Debian. Kernel updates are easy, stub updates are a little bit more cumbersome but also seldom.

2022-06-09 Thomas Glanzmanntypo master
2022-06-07 Thomas Glanzmannhere we go,
2022-05-30 Thomas Glanzmannpublish artefactgs
2022-05-30 Thomas Glanzmannremove vinduvs patch for now because src/display.c...
2022-05-30 Thomas Glanzmannuse marcans branch for now
2022-05-28 Thomas Glanzmannadd notes from mps irc log
2022-05-05 Thomas Glanzmannthe patch made it upstream
2022-04-29 Thomas Glanzmannuse the branch recommended from jannau
2022-04-29 Thomas Glanzmannbuild the 4k
2022-04-29 Thomas Glanzmannuse jannaus m1n1 with VinDuvs patch
2022-04-29 Thomas Glanzmannmore instructions
2022-04-28 Thomas Glanzmannmore howtos
2022-04-27 Thomas Glanzmannmore notes
2022-04-27 Thomas Glanzmannmore information
2022-04-22 Thomas Glanzmannit is the livesystem, not the installer
2022-04-18 Thomas Glanzmannremove the asahi choosen efi system partition patch...
4 weeks ago master
Impressum, Datenschutz