3 - make space - the last number is the space that macos will occupy
 
   5         diskutil apfs resizeContainer disk0s2 200GB
 
   7 - run the installer, do not forget step2.sh
 
   9         curl -L https://mrcn.st/alxsh | sh
 
  11         Use the newest version (12.0.1 at the time of this writing) as the stub
 
  14 - Once you run the install, boot into the 'Options' menu again and install u-boot:
 
  16         curl -LO https://tg.st/u/u-boot.macho
 
  17         kmutil configure-boot -c u-boot.macho -V /Volumes/Linux
 
  19 - Format a usb stick with a vfat partition on it, mount the partition and
 
  20   extract the following:
 
  23         curl -L https://tg.st/u/asahi-debian-live-2022-01-25.tar | tar -xf -
 
  25 - In u-boot interrupt the boot loop by pressing return when prompted to. Use
 
  26   the following command to boot from the usb-stick. Loading the 256 MB initrd
 
  31 - Login with username 'root'. There is no password.
 
  33 - If you have an ethernet card (mini or usb dongle), than get an IP:
 
  41 - Install any software you like, for example gnome:
 
  44         useradd -m -c 'user' user
 
  46         /etc/init.d/gdm3 start
 
  48 - You can also use the live system to install Debian on the m1, the rough outline is:
 
  50         - Create two paritions:
 
  55         - Use debootstrap to bootstrap debian
 
  61 The exact steps follow once I find a little bit of time.
 
  63 Kernel deb is here: https://tg.st/u/linux-image-5.16.0-asahi-next-20220118-gdcd14bb2ec40_5.16.0-asahi-next-20220118-gdcd14bb2ec40-1_arm64.deb