From: Thomas Glanzmann Date: Tue, 25 Jan 2022 20:36:45 +0000 (+0100) Subject: more todo X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/5d44edeb07831ae0c15a308a58dc30baf1c297ab?hp=8d82f6b0c98ac7743d731065e624cac4aaacd441 more todo --- diff --git a/bootstrap.sh b/bootstrap.sh index 6667f06..ddf7646 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -116,9 +116,9 @@ build_fs() mkdir -p build cd build -build_m1n1 -build_uboot -build_linux -build_rootfs +# build_m1n1 +# build_uboot +# build_linux +# build_rootfs build_stick build_fs diff --git a/m1debian.txt b/m1debian.txt new file mode 100644 index 0000000..3ce2985 --- /dev/null +++ b/m1debian.txt @@ -0,0 +1,38 @@ +curl -LO https://github.com/AsahiLinux/asahi-installer/archive/refs/heads/main.zip +unzip main.zip +cd asahi-installer/src +# 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 + +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/ + +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