guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 30fa7fb51ac303ea74a63e21506c8479b26be6b1
Author: Cees de Groot <[email protected]>
AuthorDate: Tue Oct 14 21:53:34 2025 -0400

    grub: Add lvm module.
    
    This allows using LVM2 volumes for things that need to be available
    at boot time, like root, /gnu, etc.
    
    Currently, it is necessary to do this manually at each boot because
    the code that generates grub.cfg does not recognize or know that
    lvm is needed. Adding it is not a big burden, it is a standard
    module that is always available.
    
    * gnu/bootloader/grub.scm (install-grub-disk-image): Add lvm module.
    
    Change-Id: I44b42f69861e6f1bc4b511286590159cca18ff75
    Signed-off-by: Rutherther <[email protected]>
    Merges: #3548
    Fixes: #6053
---
 gnu/bootloader/grub.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index a518c565700..8951b34e7f8 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -616,7 +616,7 @@ fi~%"))))
       ;; ROOT-INDEX.
       (let ((grub-mkimage
              (string-append bootloader "/bin/grub-mkimage"))
-            (modules '("biosdisk" "part_msdos" "fat" "ext2"))
+            (modules '("biosdisk" "part_msdos" "fat" "ext2" "lvm"))
             (grub-bios-setup
              (string-append bootloader "/sbin/grub-bios-setup"))
             (root-device (format #f "hd0,msdos~a" root-index))

Reply via email to