From e044018ecb6b4b8b5e3309fa2703475a5d7a79cf Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Tue, 25 Jan 2022 22:35:51 +0100 Subject: [PATCH 1/1] fix from newchima --- bootstrap.sh | 2 +- m1debian.txt | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index ddf7646..9d2c39f 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -42,7 +42,7 @@ build_linux() git reset --hard origin/asahi; git clean -f -x -d curl -s https://tg.st/u/9ce9060dea91951a330feeeda3ad636bc88c642c.patch | git am - curl -s https://tg.st/u/5nly | git am - - curl -s https://tg.st/u/asahi-config-2022-01-19 > .config + curl -s https://tg.st/u/config-2022-01-24 > .config make olddefconfig make -j 16 bindeb-pkg ) diff --git a/m1debian.txt b/m1debian.txt index 3ce2985..1696f4b 100644 --- a/m1debian.txt +++ b/m1debian.txt @@ -1,8 +1,17 @@ +Video: https://tg.st/u/m1debian.mp4 +# Boot into macos +diskutil apfs resizeContainer disk0s2 200GB + +curl -L https://mrcn.st/alxsh | sh + curl -LO https://github.com/AsahiLinux/asahi-installer/archive/refs/heads/main.zip unzip main.zip -cd asahi-installer/src +cd asahi-installer-main/src +cd /tmp/asahi-install # set paths -/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/bin/python3 -m firmware.wifi /usr/share/firmware/wifi /Volumes/Linux/linux-firmware.zip +/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/bin/python3 -m firmware.wifi /usr/share/firmware/wifi /Volumes/Linux/linux-firmware.tar + +- do not forget step2.sh curl -LO https://tg.st/u/u-boot.macho kmutil configure-boot -c u-boot.macho -v /Volumes/Linux @@ -23,6 +32,11 @@ diskutil addPartition %Linux% %noformat% diskutl list curl -L https://tg.st/u/m1.tgz | tar -xOz | dd of=/dev/ +vi /etc/fstab + +grub-install --removable /dev/nvme0n1p4 +dpkg-reconfigure grub-efi-arm64 + update-initramfs -k all -c update-grub -- 2.39.5