]>
Commit | Line | Data |
---|---|---|
e044018e TG |
1 | Video: https://tg.st/u/m1debian.mp4 |
2 | # Boot into macos | |
3 | diskutil apfs resizeContainer disk0s2 200GB | |
4 | ||
5 | curl -L https://mrcn.st/alxsh | sh | |
6 | ||
5d44edeb TG |
7 | curl -LO https://github.com/AsahiLinux/asahi-installer/archive/refs/heads/main.zip |
8 | unzip main.zip | |
e044018e TG |
9 | cd asahi-installer-main/src |
10 | cd /tmp/asahi-install | |
5d44edeb | 11 | # set paths |
e044018e TG |
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 | |
5d44edeb TG |
15 | |
16 | curl -LO https://tg.st/u/u-boot.macho | |
17 | kmutil configure-boot -c u-boot.macho -v /Volumes/Linux | |
18 | ||
19 | diskutl list | |
20 | diskutil addPartition <identifier before free space> %EFI% LB 512MB | |
21 | diskutl list | |
22 | newfs_msdos /dev/<identifier of efi> | |
23 | mkdir -p /Volumes/efi | |
24 | mount -t msdos /dev/<identifier of efi> /Volumes/efi | |
25 | cd /Volumes/efi | |
26 | mkdir -p /Volumes/efi/efi/boot | |
27 | curl -Lo /Volumes/efi/efi/boot/bootaa64.efi https://tg.st/u/grubaa64.efi | |
28 | cp /Volumes/Linux/linux-firmware.tar /Volumes/Linux | |
29 | ||
30 | diskutl list | |
31 | diskutil addPartition <identifier before free space> %Linux% %noformat% <size> | |
32 | diskutl list | |
33 | curl -L https://tg.st/u/m1.tgz | tar -xOz | dd of=/dev/<identifier of Linux Filesystem> | |
34 | ||
e044018e TG |
35 | vi /etc/fstab |
36 | ||
37 | grub-install --removable /dev/nvme0n1p4 | |
38 | dpkg-reconfigure grub-efi-arm64 | |
39 | ||
5d44edeb TG |
40 | update-initramfs -k all -c |
41 | update-grub | |
42 | ||
43 | resize2fs <device of root filesystem> | |
44 | ||
45 | cd /etc/network/interfaces.d | |
46 | ip l s | |
47 | mv eth0 <interface> | |
48 | vim <interface> | |
49 | ifup <interface> | |
50 | ||
51 | vi /etc/passwd | |
52 | passwd root |