1 |
commit: 3c86ab829d04a3c7637f63091f3416b5015acd6d |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 6 21:52:11 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 7 15:03:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=3c86ab82 |
7 |
|
8 |
manpage: Add documentation about initramfs.mounts file |
9 |
|
10 |
Bug: https://bugs.gentoo.org/560710 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
doc/genkernel.8.txt | 14 ++++++++++++++ |
14 |
1 file changed, 14 insertions(+) |
15 |
|
16 |
diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt |
17 |
index 3ebd320..82da1e1 100644 |
18 |
--- a/doc/genkernel.8.txt |
19 |
+++ b/doc/genkernel.8.txt |
20 |
@@ -877,6 +877,18 @@ make sure that this mountpoint is accessible, see *initramfs.mounts*. |
21 |
Loop-mount an ISO file from the boot device to get the filesystem image. |
22 |
Useful with chain-loading environments and USB keys. |
23 |
|
24 |
+initramfs.mounts |
25 |
+---------------- |
26 |
+By default, genkernel's initramfs will only mount *root* device. But |
27 |
+sometimes additional mounts are required before initramfs can switch to |
28 |
+real root (for example on systems with a seperate '/usr' mount). |
29 |
+ |
30 |
+Therefore genkernel package contains '/etc/initramfs.mounts' file which |
31 |
+will allow you to specify additional mounts which should be mounted before |
32 |
+initramfs will switch to real root. |
33 |
+ |
34 |
+NOTE: This file will not be included in initramfs. Instead, booted initramfs |
35 |
+will check for this file on specified *root* device. |
36 |
|
37 |
NETBOOTING |
38 |
---------- |
39 |
@@ -930,6 +942,8 @@ AUTHORS |
40 |
|
41 |
SEE ALSO |
42 |
-------- |
43 |
+'/etc/initramfs.mounts' - additional required mounts before switching to real root |
44 |
+ |
45 |
'/etc/genkernel.conf' - genkernel configuration file |
46 |
|
47 |
// vim: ft=asciidoc et tw=72 sts=4 ts=4 : |