ref: 54a51da524aebc3748e0f7fd73e6dd5e5fa2d7e0
parent: aa6a77e0213a4af33a21b96ffe89aa89001da855
author: sl <sl@9front>
date: Tue Aug 5 21:25:35 EDT 2025
fqa7.ms: 7.2.5: document mk install.9fat and mk install.esp (thanks, orib)
--- a/fqa7.ms
+++ b/fqa7.ms
@@ -378,7 +378,6 @@
.P1
9fs 9fat
rm /n/9fat/9bootfat
-cp /386/9bootfat /n/9fat/
chmod +al /n/9fat/9bootfat # defrag magic
.P2
@@ -386,12 +385,31 @@
For 386:
.P1
-cp /386/9pc /n/9fat/
+# old kernel is copied to /n/9fat/o9pc, new kernel is copied to /n/9fat/9pc
+cd /sys/src/9/pc
+mk install.9fat
.P2
For amd64:
.P1
-cp /amd64/9pc64 /n/9fat/
+# old kernel is copied to /n/9fat/o9pc64, new kernel is copied to /n/9fat/9pc64
+cd /sys/src/9/pc64
+mk install.9fat
+.P2
+
+and on systems that have esp partitions instead of 9fat:
+
+For 386:
+# old kernel is copied to /n/esp/o9pc, new kernel is copied to /n/esp/9pc
+cd /sys/src/9/pc
+mk install.esp
+.P2
+
+For amd64:
+.P1
+# old kernel is copied to /n/esp/o9pc64, new kernel is copied to /n/esp/9pc64
+cd /sys/src/9/pc64
+mk install.esp
.P2
Finally, if a different kernel is being installed than the one currently running, edit
--
⑨