diff --git a/README.adoc b/README.adoc index 207230e..9b36d5a 100644 --- a/README.adoc +++ b/README.adoc @@ -3935,6 +3935,22 @@ See also: * https://github.com/mirror/busybox/blob/1_28_3/examples/inittab#L60 * http://web.archive.org/web/20180117124612/http://nairobi-embedded.org/qemu_serial_port_system_console.html +===== Start a getty from outside of init + +TODO: https://unix.stackexchange.com/questions/196704/getty-start-from-command-line + +If I try the exact same command that the `inittab` is doing from a regular shell: + +.... +/sbin/getty 0 tty1 +.... + +it fails with: + +.... +getty: setsid: Operation not permitted +.... + ===== console kernel boot parameter Take the command described at <> and try adding the following: