[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#55231] [PATCH v3 2/2] doc: ‘initrd-modules’ will search ‘kernel-loa

From: Brian Cully
Subject: [bug#55231] [PATCH v3 2/2] doc: ‘initrd-modules’ will search ‘kernel-loadable-modules’.
Date: Sat, 18 Jun 2022 15:11:18 -0400

 doc/guix.texi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index eda0956260..d97909695f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -36461,6 +36461,19 @@ Initial RAM Disk
   (initrd-modules (cons "megaraid_sas" %base-initrd-modules)))
 @end lisp
+If a module listed in @code{initrd-modules} is not included in the
+Linux-libre kernel, then the location to it must be added to the
+@code{kernel-loadable-modules} list.  For example, if your root file
+system exists on a ZFS pool, then your configuration might look like the
+  ;; @dots{}
+  (initrd-modules (cons "zfs" %base-initrd-modules))
+  (kernel-loadable-modules (list (list zfs "module"))))
+@end lisp
 @defvr {Scheme Variable} %base-initrd-modules
 This is the list of kernel modules included in the initrd by default.
 @end defvr

reply via email to

[Prev in Thread] Current Thread [Next in Thread]