]> git.zerfleddert.de Git - m1-debian/blame_incremental - files/quickstart.txt
using jmr2 way to install grub which is saner
[m1-debian] / files / quickstart.txt
... / ...
CommitLineData
1# Ethernet
2ip l s
3dhclient <device>
4
5# Wifi
6rmmod brcmfmac
7rmmod brcmutil
8mount /dev/sda1 /mnt
9tar -C /lib/firmware/ -xf /mnt/linux-firmware.tar
10umount /mnt
11modprobe brcmfmac
12vim /etc/wpa_supplicant/wpa_supplicant.conf
13wpa_supplicant -i <interface> -c /etc/wpa_supplicant/wpa_supplicant.conf
14dhclient wlan0
15
16# Time
17ntpdate pool.ntp.org
18date --set 2022-01-25
19date --set 14:21
20
21# Configure timezone
22dpkg-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.
27apt-get install grub-efi grub-efi-arm64-signed-
28grub-install --target=arm64-efi --efi-directory=/boot/efi --removable
29update-grub
30See also: https://github.com/AsahiLinux/docs/wiki/U-Boot
31
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
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