]> git.zerfleddert.de Git - m1-debian/blame_incremental - doc/m1debian.txt
remove rtc for now
[m1-debian] / doc / m1debian.txt
... / ...
CommitLineData
1Video: https://tg.st/u/m1debian.mp4
2# Boot into macos
3diskutil apfs resizeContainer disk0s2 200GB
4
5curl -L https://mrcn.st/alxsh | sh
6
7curl -LO https://github.com/AsahiLinux/asahi-installer/archive/refs/heads/main.zip
8unzip main.zip
9cd asahi-installer-main/src
10cd /tmp/asahi-install
11# set paths
12/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/bin/python3 -m firmware.wifi /usr/share/firmware/wifi /Volumes/Linux/linux-firmware.tar
13
14- do not forget step2.sh
15
16curl -LO https://tg.st/u/u-boot.macho
17kmutil configure-boot -c u-boot.macho -v /Volumes/Linux
18
19diskutl list
20diskutil addPartition <identifier before free space> %EFI% LB 512MB
21diskutl list
22newfs_msdos /dev/<identifier of efi>
23mkdir -p /Volumes/efi
24mount -t msdos /dev/<identifier of efi> /Volumes/efi
25cd /Volumes/efi
26mkdir -p /Volumes/efi/efi/boot
27curl -Lo /Volumes/efi/efi/boot/bootaa64.efi https://tg.st/u/grubaa64.efi
28cp /Volumes/Linux/linux-firmware.tar /Volumes/Linux
29
30diskutl list
31diskutil addPartition <identifier before free space> %Linux% %noformat% <size>
32diskutl list
33curl -L https://tg.st/u/m1.tgz | tar -xOz | dd of=/dev/<identifier of Linux Filesystem>
34
35vi /etc/fstab
36
37grub-install --removable /dev/nvme0n1p4
38dpkg-reconfigure grub-efi-arm64
39
40update-initramfs -k all -c
41update-grub
42
43resize2fs <device of root filesystem>
44
45cd /etc/network/interfaces.d
46ip l s
47mv eth0 <interface>
48vim <interface>
49ifup <interface>
50
51vi /etc/passwd
52passwd root
Impressum, Datenschutz