From: Thomas Glanzmann Date: Thu, 27 Jan 2022 22:13:16 +0000 (+0100) Subject: move documentation in its folder X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/1e836bf75017e579b4777867d091c7aae928b957 move documentation in its folder --- diff --git a/doc/m1debian.txt b/doc/m1debian.txt new file mode 100644 index 0000000..1696f4b --- /dev/null +++ b/doc/m1debian.txt @@ -0,0 +1,52 @@ +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-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.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 + +diskutl list +diskutil addPartition %EFI% LB 512MB +diskutl list +newfs_msdos /dev/ +mkdir -p /Volumes/efi +mount -t msdos /dev/ /Volumes/efi +cd /Volumes/efi +mkdir -p /Volumes/efi/efi/boot +curl -Lo /Volumes/efi/efi/boot/bootaa64.efi https://tg.st/u/grubaa64.efi +cp /Volumes/Linux/linux-firmware.tar /Volumes/Linux + +diskutl list +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 + +resize2fs + +cd /etc/network/interfaces.d +ip l s +mv eth0 +vim +ifup + +vi /etc/passwd +passwd root diff --git a/m1debian.txt b/m1debian.txt deleted file mode 100644 index 1696f4b..0000000 --- a/m1debian.txt +++ /dev/null @@ -1,52 +0,0 @@ -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-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.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 - -diskutl list -diskutil addPartition %EFI% LB 512MB -diskutl list -newfs_msdos /dev/ -mkdir -p /Volumes/efi -mount -t msdos /dev/ /Volumes/efi -cd /Volumes/efi -mkdir -p /Volumes/efi/efi/boot -curl -Lo /Volumes/efi/efi/boot/bootaa64.efi https://tg.st/u/grubaa64.efi -cp /Volumes/Linux/linux-firmware.tar /Volumes/Linux - -diskutl list -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 - -resize2fs - -cd /etc/network/interfaces.d -ip l s -mv eth0 -vim -ifup - -vi /etc/passwd -passwd root