guix_mirror_bot pushed a commit to branch kernel-updates
in repository guix.

commit 77d0b4205cae9e2249dcbf2c24ca9305a4cf08a0
Author: Sergio Pastor PĂ©rez <[email protected]>
AuthorDate: Sun Nov 8 10:13:02 2026 +0100

    gnu: linux-debian: Adjust initrd modules so an installer image can boot.
    
    Since some of the kernel modules needed to boot an installer created through
    the 'make-installation-os' procedure where missing, the generated image 
could
    not boot.  This PR solves the problem for images generated through:
    
    guix system image -t iso9660 OPERATING-SYSTEM
    
    * gnu/packages/linux.scm (default-linux-debian-initrd-modules): Add missing
    kernel modules to default initrd list so ISO images can boot.
    
    Signed-off-by: Vagrant Cascadian <[email protected]>
---
 gnu/packages/linux.scm | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 7fece5ed7b3..ce3eb0d6be9 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1409,7 +1409,8 @@ Linux kernel.  It has been modified to remove all 
non-free binary blobs.")
 
 (define default-linux-debian-initrd-modules
   ;; Default set of modules that need to be available in the initrd when
-  ;; booting Linux-debian.
+  ;; booting Linux-debian.  A description of these modules can be found using:
+  ;; '$ modinfo MODULE'.
   (let* ((generic `("ahci"                                     ;for SATA 
controllers
                     "nvme"                                     ;for NVMe 
controllers
                     "ext4" "crc32c_generic"                    ;compiled as a 
module by 'CONFIG_EXT4_FS=m'.
@@ -1418,15 +1419,18 @@ Linux kernel.  It has been modified to remove all 
non-free binary blobs.")
                     "mmc_block"                                ;for MMC block 
device driver
                     "dm-crypt" "xts" "serpent_generic" "wp512" ;for encrypted 
root partitions
                     "nls_iso8859-1"                            ;for 
`mkfs.fat`, et.al
+                    "sd_mod"                                   ;SCSI disk (sd) 
driver
+                    "sr_mod"                                   ;SCSI cdrom 
(sr) driver
                     ,@virtio-modules))
-         (_86 (cons*
-               "hid-apple"
-               "pata_atiixp" ;for ATA controllers
-               "isci"
-               generic))
          (others (cons*
-                  "hid-apple"
-                  generic)))
+                  "hid-apple" ;Apple USB HID quirks support for Linux
+                  generic))
+         (_86 (cons*
+               "ata_piix"    ;SCSI low-level driver for Intel PIIX/ICH ATA 
controllers
+               "ata_generic" ;low-level driver for generic ATA
+               "pata_atiixp" ;low-level driver for ATI IXP200/300/400
+               "isci"        ;Intel(R) C600 Series Chipset SAS Controller 
driver
+               others)))
     `(("x86_64-linux"      . ,_86)
       ("i686-linux"        . ,_86)
       ("armhf-linux"       . ,others)

Reply via email to