summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarius Bakke <[email protected]>2022-09-09 23:01:57 +0200
committerMarius Bakke <[email protected]>2022-09-09 23:01:57 +0200
commit8fbd8c82455e6f1bbbe623965b2452f8f8a01242 (patch)
tree1f908bb10267283a5c16bc44379519ac559d14a1 /doc
parentfa894b3f4db835bd0bb52b32c7ec412e72b7e03a (diff)
parentb15c0e75f9195ff3f7d0b4da1230939374ef2e34 (diff)
Merge branch 'master' into staging
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index db72e75a69..c21235f28d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -37553,6 +37553,24 @@ The list of commands for loading Multiboot modules. For example:
@dots{}))
@end lisp
+@item @code{chain-loader} (default: @code{#f})
+A string that can be accepted by @code{grub}'s @code{chainloader}
+directive. This has no effect if either @code{linux} or
+@code{multiboot-kernel} fields are specified. The following is an
+example of chainloading a different GNU/Linux system.
+
+@lisp
+(bootloader
+ (bootloader-configuration
+ ;; @dots{}
+ (menu-entries
+ (list
+ (menu-entry
+ (label "GNU/Linux")
+ (device (uuid "1C31-A17C" 'fat))
+ (chain-loader "/EFI/GNULinux/grubx64.efi"))))))
+@end lisp
+
@end table
@end deftp