]> git.zerfleddert.de Git - m1-debian/blame - files/quickstart.txt
added more instructions
[m1-debian] / files / quickstart.txt
CommitLineData
cd51dc6c
TG
1# Ethernet
2ip l s
3dhclient <device>
4
708a0d2b
TG
5# Wifi
6rmmod brcmfmac
7rmmod brcmutil
8mount /dev/sda1 /mnt
9tar -C /lib/firmware/ -xf /mnt/linux-firmware.tar
10umount /mnt
11modprobe brcmfmac
19fe2e56 12vim /etc/wpa_supplicant/wpa_supplicant.conf
7a54df2e 13wpa_supplicant -i <interface> -c /etc/wpa_supplicant/wpa_supplicant.conf
708a0d2b
TG
14dhclient wlan0
15
708a0d2b
TG
16# Time
17ntpdate pool.ntp.org
18date --set 2022-01-25
19date --set 14:21
7a54df2e
TG
20
21# Fix grub
22apt-get purge grub-efi grub-efi-arm64 grub-efi-arm64-bin grub-efi-arm64-signed
23apt-get install grub-efi-arm64
24grub-install --removable /dev/nvme0n1p4
25# Set removable media to yes and nvram to no
26dpkg-reconfigure dpkg-reconfigure grub-efi-arm64
27update-grub
28find /boot/efi -name fbaa64.efi | xargs rm
29
30See also: https://github.com/AsahiLinux/docs/wiki/U-Boot
31
7a54df2e
TG
32# xorg
33(air) [~] cat /etc/X11/xorg.conf.d/00-keyboard.conf
34Section "InputClass"
35 Identifier "system-keyboard"
36 MatchIsKeyboard "on"
37 Option "XkbLayout" "us"
38 Option "XkbModel" "pc105"
39 Option "XkbVariant" "de_se_fi"
40 Option "XkbOptions" "ctrl:nocaps"
41EndSection
42(air) [~] cat /etc/X11/xorg.conf.d/30-input.conf
43Section "InputClass"
44 Identifier "libinput touchpad catchall"
45 MatchIsTouchpad "on"
46 MatchDevicePath "/dev/input/event*"
47 Option "Tapping" "False"
48 Option "TappingDrag" "False"
49 Option "DisableWhileTyping" "True"
50 Option "AccelProfile" "adaptive"
51 Option "AccelSpeed" "0.3"
52 Option "AccelerationNumerator" "2"
53 Option "AccelerationDenominator" "1"
54 Option "AccelerationThreshold" "4"
55 Option "AdaptiveDeceleration" "2"
56 Option "NaturalScrolling" "0"
57 Option "TappingButtonMap" "lmr"
58 Option "ClickMethod" "clickfinger"
59 Driver "libinput"
60EndSection
cd51dc6c
TG
61
62# Create a user
63useradd -m -c 'user' user
64passwd user
65
66# Install gnome
67apt-get install gnome
68/etc/init.d/gdm3 start
69
70# If you need to install the kernel on a bootstrapped system or one that needs recovery
71wget https://tg.st/u/k.deb
72dpkg -i k.deb
73
74- You can also use the live system to install Debian on the m1, the rough outline is:
75
76 - Create two paritions:
77
78 - One 1 GB vfat
79 - Rest with ext4
80
81 - Use debootstrap to bootstrap debian
82
83 - Install grub
84
85 - reboot
Impressum, Datenschutz