]> git.zerfleddert.de Git - m1-debian/blobdiff - README.md
typos
[m1-debian] / README.md
index 87f1a6ec67daf60e4f4663ea561b09d9bb0740e3..e1ac5c247f58c934e0bfe12872189d546915ce58 100644 (file)
--- a/README.md
+++ b/README.md
@@ -18,9 +18,9 @@ If you don't want to use the prebuild artefacts, you can build them yourself usi
 
 * In the boot picker, choose Options. Once loaded, open a Terminal under Utilities > Terminal
 
-* Run the asahi installer and select Debian (1):
+* Run the asahi installer and select Debian:
 
-        curl -sL tg.st/d | sh
+        curl -sL https://tg.st/d | sh
 
 * Follow the installer instructions.
 
@@ -53,67 +53,18 @@ If you don't want to use the prebuild artefacts, you can build them yourself usi
         apt update
         apt install -y openssh-server
 
-# Debian Installer
-[Video Recording](https://tg.st/u/m1-d-i.mp4)
-
-**Do not use. It is broken at the moment.**
-
-* Prerequisites
-
-    * USB Stick. this is what this guide assumes, but it is also possible to run the Debian installer from another PC using m1n1 chainloading. But if you know how to do that, you probably don't need this guide.
-    * If possible use an Ethernet Dongle, less typing.
-
-* Poweroff your Mac. Hold and press the power button until you see a wheel chain and Options written below. Approx 20 seconds.
-
-* In the boot picker, choose Options. Once loaded, open a Terminal under Utilities > Terminal
-
-* Run the asahi installer and select m1n1+UEFI:
-        curl -sL tg.st/d | sh
-
-* Follow the installer instructions.
-
-* Create USB Stick with a single vfat partition on it and untar the modified Debian installer on it. On Linux you would use the following:
-
-        # Identify the usb stick device
-        lsblk
-        DEVICE=/dev/sdX
-        parted -a optimal $DEVICE mklabel msdos
-        parted -a optimal $DEVICE mkpart primary fat32 2048s 100%
-        mkfs.vfat ${DEVICE}1
-
-        mount /dev/sdX1 /mnt
-        cd /mnt
-        curl -sL https://tg.st/u/m1-d-i.tar | tar -xf -
-        umount /mnt
-
-* Reboot with the USB stick connected, the Debian installer should automatically start, if it doesn't load the kernel and initrd manually, you can use tab. For x try 0,1,2,...
-
-        linux (hdX,msdos1)/vmlinuz expert net.ifnames=0
-        initrd (hdx,msdos1)/initrd.gz
-
-* If you need wifi, on the first installer page press **Fn + Option + F2** to change to the second terminal, press **return** to activate the console, and issue the following commands to configure wifi
-
-        ./wifi.sh
-
-* Switch back to the primary console by pressing **Fn + Option + F1**.
-
-* Follow the installer along until you end up in the partitioning menu
-
-    * Create one 256M EFI system partition. 512M and 1G partitions fail with an error about wrong clustersize.
-    * Create another partition for root
-
-* When you get an error about grub failing, switch to the third console by pressing **Fn + Option + F2**, press **return** to active the console unless already activated, and issue the following commands:
-
-        ./boot.sh
-
-* Switch back to the installer console by pressing **Fn + Option + F1** and continue the installer besides errors. The system will reboot into the newly installed system.
+* Consult the **[/root/quickstart.txt](https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/files/quickstart.txt)** file to find out how to do other interesting things.
 
 # Livesystem
+
 [Video Recording](https://tg.st/u/live.mp4)
+
 * Prerequisites
 
-    * USB Stick. this is what this guide assumes, but it is also possible to run the Debian installer from another PC using m1n1 chainloading. But if you know how to do that, you probably don't need this guide.
-    * If possible use an Ethernet Dongle, less typing.
+        - USB Stick. this is what this guide assumes, but it is also possible
+          to run the Debian installer from another PC using m1n1 chainloading.
+          But if you know how to do that, you probably don't need this guide.
+        - If possible use an Ethernet Dongle, less typing.
 
 * Create USB Stick with a single vfat partition on it and untar the modified Debian installer on it. Instructions for Linux:
 
@@ -156,3 +107,26 @@ Than open a terminal, and run the following commands:
 * Log in as **root** without password.
 
 * Consult the **[/root/quickstart.txt](https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/files/quickstart.txt)** file to find out how to get the networking up, etc.
+
+# FAQ
+
+*  If I install Debian, will it still be relatively easy to update the Asahi work as it develops?
+
+Yes, long answer below.
+
+To update the kernel to the lastest "stable" asahi branch you need to run
+as root:
+
+        curl -sL https://tg.st/u/ksh | bash
+
+Later it might be necessary to upgrade the stub parition in order to
+support the GPU code. As soon as that happens, I'll add the
+instructions and a video in order to do so, but short version is:
+
+        - Backup /boot/efi/EFI
+        - Delete the old stub and efi/esp partition
+        - Rerun the asahi installer with m1n1+u-boot option
+        - Put the /boot/efi/EFI back
+
+So, you never need to reinstall Debian. Kernel updates are easy, stub
+updates are a little bit more cumbersome but also seldom.
Impressum, Datenschutz