From 0c1370b5f1b3e8abc934ea913a4377f05f32e4a9 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 7 Aug 2017 22:05:24 +0300 Subject: Initial static build --- docs/wiki/Inspecting-the-initramfs/index.html | 52 +++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 docs/wiki/Inspecting-the-initramfs/index.html (limited to 'docs/wiki/Inspecting-the-initramfs') diff --git a/docs/wiki/Inspecting-the-initramfs/index.html b/docs/wiki/Inspecting-the-initramfs/index.html new file mode 100644 index 0000000..45b2307 --- /dev/null +++ b/docs/wiki/Inspecting-the-initramfs/index.html @@ -0,0 +1,52 @@ + + +
+ + +
+ postmarketOS
+ This page explains how to connect to your device when it has booted to the [[initramfs|Initramfs-development]] by installing the so-called usb-shell hook. This is useful if you want to know more about the [[boot process]], simply inspect the initramfs or you want to debug why something doesn't work.
+NOTE: This is considered a security hole. Only use it for debugging, and uninstall the usb-shell hook afterwards
+By default, initramfs launchs a telnet daemon listening on :23 waiting for your partition password.
It is possible to enable a second telnet daemon on :24 that gives you a shell this way:
./pmbootstrap.py initfs hook_add usb-shell
+./pmbootstrap.py install
+
+
+After reflashing the kernel or booting with the new initramfs image, you should be able to connect to the new telnet instance.
+ +