]> cvs.zerfleddert.de Git - m1-debian/blob - m1debian.txt
3ce2985fb3d2b040060194bd676a662bc32915aa
[m1-debian] / m1debian.txt
1 curl -LO https://github.com/AsahiLinux/asahi-installer/archive/refs/heads/main.zip
2 unzip main.zip
3 cd asahi-installer/src
4 # set paths
5 /tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/bin/python3 -m firmware.wifi /usr/share/firmware/wifi /Volumes/Linux/linux-firmware.zip
6
7 curl -LO https://tg.st/u/u-boot.macho
8 kmutil configure-boot -c u-boot.macho -v /Volumes/Linux
9
10 diskutl list
11 diskutil addPartition <identifier before free space> %EFI% LB 512MB
12 diskutl list
13 newfs_msdos /dev/<identifier of efi>
14 mkdir -p /Volumes/efi
15 mount -t msdos /dev/<identifier of efi> /Volumes/efi
16 cd /Volumes/efi
17 mkdir -p /Volumes/efi/efi/boot
18 curl -Lo /Volumes/efi/efi/boot/bootaa64.efi https://tg.st/u/grubaa64.efi
19 cp /Volumes/Linux/linux-firmware.tar /Volumes/Linux
20
21 diskutl list
22 diskutil addPartition <identifier before free space> %Linux% %noformat% <size>
23 diskutl list
24 curl -L https://tg.st/u/m1.tgz | tar -xOz | dd of=/dev/<identifier of Linux Filesystem>
25
26 update-initramfs -k all -c
27 update-grub
28
29 resize2fs <device of root filesystem>
30
31 cd /etc/network/interfaces.d
32 ip l s
33 mv eth0 <interface>
34 vim <interface>
35 ifup <interface>
36
37 vi /etc/passwd
38 passwd root
Impressum, Datenschutz