]> git.zerfleddert.de Git - m1-debian/blob - files/quickstart.txt
using jmr2 way to install grub which is saner
[m1-debian] / files / quickstart.txt
1 # Ethernet
2 ip l s
3 dhclient <device>
4
5 # Wifi
6 rmmod brcmfmac
7 rmmod brcmutil
8 mount /dev/sda1 /mnt
9 tar -C /lib/firmware/ -xf /mnt/linux-firmware.tar
10 umount /mnt
11 modprobe brcmfmac
12 vim /etc/wpa_supplicant/wpa_supplicant.conf
13 wpa_supplicant -i <interface> -c /etc/wpa_supplicant/wpa_supplicant.conf
14 dhclient wlan0
15
16 # Time
17 ntpdate pool.ntp.org
18 date --set 2022-01-25
19 date --set 14:21
20
21 # Configure timezone
22 dpkg-reconfigure tzdata
23
24 # Fix grub
25 # We deinstall grub-efi-arm64-signed- because it creates a file fbaa64.efi
26 # which makes u-boot hang.
27 apt-get install grub-efi grub-efi-arm64-signed-
28 grub-install --target=arm64-efi --efi-directory=/boot/efi --removable
29 update-grub
30 See also: https://github.com/AsahiLinux/docs/wiki/U-Boot
31
32 # xorg
33 (air) [~] cat /etc/X11/xorg.conf.d/00-keyboard.conf
34 Section "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"
41 EndSection
42 (air) [~] cat /etc/X11/xorg.conf.d/30-input.conf
43 Section "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"
60 EndSection
61
62 # Create a user
63 useradd -m -c 'user' user
64 passwd user
65
66 # Install gnome
67 apt-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
71 wget https://tg.st/u/k.deb
72 dpkg -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