]> gitweb.fluxo.info Git - hydra.git/commitdiff
TODO: booting issues
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 24 Feb 2024 22:21:01 +0000 (19:21 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 24 Feb 2024 22:21:01 +0000 (19:21 -0300)
docs/ideas.md
docs/todo.md [new file with mode: 0644]
docs/tpc.md
mkdocs.yml

index 7c9630100c08dd310d51564bce4c9c38739c94a5..dfd549bbf5c43db90714c277274204f5c35ceff6 100644 (file)
@@ -1,5 +1,7 @@
 # Ideas
 
+## Misc
+
 * `hydractl`:
   * `mount-kvmx-supervised`: open encrypted volumes from supervised [kvmx][] guests.
 * `hydra`:
diff --git a/docs/todo.md b/docs/todo.md
new file mode 100644 (file)
index 0000000..b01437e
--- /dev/null
@@ -0,0 +1,6 @@
+# TODO
+
+## hydractl
+
+* [ ] Provision:
+    * [ ] Fix booting issues detailed [here](tpc.md#booting).
index 12f83baeb253552bf5a02f9ed6bc87b3db492764..96140a95b30f8af6ce23d45a1f34d35f6a8f47d8 100644 (file)
@@ -186,6 +186,35 @@ From another system, and with the cartridge mounted:
 
     hydractl umount-media $VOLNAME
 
+## Booting
+
+The current provisioning procedure (as of 2024-02) may yield into
+a partially bootable system, and may need some additional manual
+steps right after installation:
+
+    hydractl mount-media $VOLNAME
+    sudo chroot $DEST
+    update-initramfs -v -u
+    hydractl umount-media $VOLNAME
+
+During boot, at the `(initramfs)` prompt, type this to successfully
+unlock the encrypted volumes:
+
+    cryptsetup luksOpen /dev/mapper/volumename-root root
+    cryptsetup luksOpen /dev/mapper/volumename-swap swap
+    ^Ctrl-D
+
+Where `volumename` is `$VOLNAME`.
+
+Then, in the running system, do:
+
+    sudo update-initramfs -v -u
+
+With these steps, the system's boot procedure was fixed.
+
+But there are fixes be done at `hydractl provision` to produce fully working
+installations.
+
 ## Deploy
 
 Now it's time to boot the new system, log in with your user and deploy the complete
index 9929a0400e91a2debf1e7fcb4966ef2e781222ac..e62b5f0a977bb6bd420b09547868429c0e2da6c9 100644 (file)
@@ -12,3 +12,4 @@ nav:
   - tpc.md
   - backups.md
   - ideas.md
+  - todo.md