mkinitcpio hooks that print the word "Welcome" in big letters and draw a box for inputting an encryption password and catching the fsck output during early userspace. See blog post for a video: https://mcol.xyz/2020/06/ricing-early-userspace.html
git clone https://github.com/m-col/mkinitcpio-welcome
Files | Refs | Readme

Commit ffa2e5dbbb09f1fe76fec040bc3aa4a07049d1bf
Parent: aeeffb4d09488ebaa183d533f1cfce3ea1742426
Author: mcol <mcol@posteo.net>
Date: 2020-06-29 21:14:02 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2020-06-29 21:14:02 +0100

add readme

readme.rst Added

@@ -0,0 +1,31 @@
+mkinitcpio-welcome
+==================
+
+Two hooks for mkinitcpio_ that draw out the word "Welcome" in big letters early
+during the boot process. A box is drawn underneath for inputting the password
+during the 'encrypt' hook and printing the output of the 'fsck' hook.
+
+Please email me with any issues, questions or comments @ mcol at posteo.net
+
+Usage
+-----
+
+1. Copy the contents of `hooks` into `/etc/initcpio/hooks`
+#. Copy the contents of `install` into `/etc/initcpio/install`
+#. Add the `welcome` hook to `/etc/mkinitcpio.conf` before the `encrypt` hook
+#. Add the `poscursor` hook to `/etc/mkinitcpio.conf` after the `encrypt` hook
+   but before the `fsck` hook
+#. Optionally configure the colours to use in `/etc/vconsole.conf`:
+
+.. code-block:: sh
+
+   WELCOME_BG=0    # background
+   WELCOME_FG=5    # foreground ("Welcome")
+   WELCOME_IN=6    # input box
+
+where the number is 0-15 corresponding to the 16 defined console colours.
+
+Works very well with Evan Purkhiser's `mkinitcpio-colors`_.
+
+.. _mkinitcpio: https://wiki.archlinux.org/index.php/mkinitcpio
+.. _mkinitcpio-colors: https://github.com/EvanPurkhiser/mkinitcpio-colors