summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@iohq.net>2016-05-22 23:10:02 -0600
committerAaron Ball <nullspoon@iohq.net>2016-05-22 23:10:02 -0600
commit5e5165543da857122c1fedf9f329a0ad28bbb80d (patch)
tree9ae054c1f2beb79a560a80855ead69885f46e900
parent5f5d8849581d9e6c6478274a701f1b7dc5cb2899 (diff)
parentff4e08a9acc3344c04ffcd7b7c92c02c4db48c96 (diff)
downloadmkinitramfs-1.1-rc2.tar.gz
mkinitramfs-1.1-rc2.tar.xz
Merge branch 'readme'v1.1-rc2
-rw-r--r--README65
1 files changed, 65 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..59daa39
--- /dev/null
+++ b/README
@@ -0,0 +1,65 @@
+README
+======
+
+Description
+-----------
+
+Mkinitramfs is a shell script that will generate a cpio init ram filesystem.
+
+The script itself simply checks for minimum required kernel capabilities,
+recursively copies in useful applications and their library dependencies
+(using ldd), and uses cpio to generate an init ram filesystem.
+
+Note that this also includes an init script used for booting from the initrd
+image, into the actual system. It includes support for dm-crypt encrypted root
+volumes, as well as providing simple debugging capabilities.
+
+
+Usage
+-----
+
+The script, mkinitramfs, creates a new init ram filesystem.
+
+To use it, simply execute it, with the version of the kernel specified, and it
+will create the initrd file, written to /boot/initrd-${version}. A
+corresponding /boot/vmlinuz-${version} and /boot/System.map-${version} is
+required. This version format is recognized by grub, so grub-mkconfig will
+detect these files.
+
+NOTE: This will overwrite the /boot/initrd-${version} file if it exists. If
+you have something there that you want to keep, be sure to back it up before
+running mkinitramfs.
+
+
+Init Arguments
+--------------
+
+root
+~~~~
+*values*:
+- root=/dev/sda3
+- root=UUID=92b74fd7-6e4f-4a52-ad40-fac874410ca3
+- root=LABEL=system
+
+Path to the root device. Supports a dev path, LABEL, and UUID values.
+
+
+initdebug
+~~~~~~~~~
+*values*: NA
+
+Enables step-by-step boot mode. Each step requires the user to hit the return
+key. Note that enabling this will probably make the boot process go very
+slowly as it requires a user response for every step.
+
+
+interractive
+~~~~~~~~~~~~
+
+Drops the user into an interractive shell, but before performing the first
+mount operation, which is where most problems start to occur. This can be
+useful for implementing new features in the init script, debugging problems,
+checking the environment, etc.
+
+
+// vim: set syntax=asciidoc:

Generated by cgit