summaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-09-09 23:04:13 +0200
committerMarius Bakke <marius@gnu.org>2022-09-09 23:04:13 +0200
commit9ef33dce949214d018774a4ff82f069b1a5e1f0f (patch)
tree232590cdca27fc7c0a047d1903db7dbd0a6b1f40 /doc/guix.texi
parent5fcbbe37c08dbe913d62523695a19357a08e2701 (diff)
parent8fbd8c82455e6f1bbbe623965b2452f8f8a01242 (diff)
Merge branch 'staging' into core-updates
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 5c249ebbf6..32414b6316 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -37529,6 +37529,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