3 resize2fs /dev/nvme0n1pX
13 tar -C /lib/firmware/ -xf /mnt/linux-firmware.tar
16 vim /etc/wpa_supplicant/wpa_supplicant.conf
17 wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
26 dpkg-reconfigure tzdata
29 # We deinstall grub-efi-arm64-signed- because it creates a file fbaa64.efi
30 # which makes u-boot hang.
31 apt-get install grub-efi grub-efi-arm64-signed-
32 grub-install --target=arm64-efi --efi-directory=/boot/efi --removable
34 # Set removable media to yes and nvram to no to make later grub updates work
35 dpkg-reconfigure grub-efi-arm64
37 See also: https://github.com/AsahiLinux/docs/wiki/U-Boot
40 cat > /etc/X11/xorg.conf.d/00-keyboard.conf <<'EOF'
42 Identifier "system-keyboard"
44 Option "XkbLayout" "us"
45 Option "XkbModel" "pc105"
46 Option "XkbVariant" "de_se_fi"
47 Option "XkbOptions" "ctrl:nocaps"
51 cat > /etc/X11/xorg.conf.d/30-input.conf <<'EOF'
53 Identifier "libinput touchpad catchall"
55 MatchDevicePath "/dev/input/event*"
56 Option "Tapping" "False"
57 Option "TappingDrag" "False"
58 Option "DisableWhileTyping" "True"
59 Option "AccelProfile" "adaptive"
60 Option "AccelSpeed" "0.3"
61 Option "AccelerationNumerator" "2"
62 Option "AccelerationDenominator" "1"
63 Option "AccelerationThreshold" "4"
64 Option "AdaptiveDeceleration" "2"
65 Option "NaturalScrolling" "0"
66 Option "TappingButtonMap" "lmr"
67 Option "ClickMethod" "clickfinger"
73 useradd -m -c 'firstname lastname' -s /bin/bash username
77 apt-get install lightdm blackbox xterm firefox-esr
81 /etc/init.d/gdm3 start
83 # If you need to install the kernel on a bootstrapped system or one that needs recovery
84 wget https://tg.st/u/k.deb
87 - You can also use the live system to install Debian on the m1, the rough outline is:
89 - Create two paritions:
94 - Use debootstrap to bootstrap debian