descriptionScripts to bootstrap Debian on Apple m1 machines.
ownerThomas Glanzmann
last changeThu, 22 Sep 2022 19:49:00 +0000 (21:49 +0200)
readme

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

Tripwires

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 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".

Artefacts

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

Asahi installer

Video Recording

Livesystem

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 https://tg.st/u/asahi-debian-live.tar | tar -xf -

FAQ

Yes, long answer below.

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

    curl -sL https://tg.st/u/ksh | 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.

shortlog
9 days ago Thomas Glanzmann+= CONFIG_SND_SOC_CS42L83 for new WIP master
13 days ago Thomas Glanzmannbump to newest fixes
13 days ago Thomas Glanzmannfix kernel config
13 days ago Thomas Glanzmannworking on kernel config
13 days ago Thomas Glanzmannmore config options
13 days ago Thomas Glanzmannswitch to 16k; drop 4k patch; bump kernel version
13 days ago Thomas Glanzmann+= new kernel options
2022-09-04 Thomas GlanzmannUpdate Link from Thomas Renard
2022-09-03 Thomas Glanzmannadd Thomas Renard howto
2022-09-02 Thomas Glanzmannset password for root in chroot install example
2022-09-02 Thomas Glanzmanntypos, tutorial += firmware-linux, live system += crypt...
2022-08-31 Thomas Glanzmannremove the also
2022-08-26 Thomas Glanzmann+= jannaus keyboard patch
2022-08-17 Thomas GlanzmannRevert "sync config options with asahi default config"
2022-08-17 Thomas Glanzmannremove the exit
2022-08-17 Thomas Glanzmannno more shallow clones
...
heads
9 days ago master
Impressum, Datenschutz