From 598adfee3ee9c5fa4409c9cd8f571f71a4f0c112 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 22 Jun 2012 11:55:23 -0400 Subject: [PATCH] Fix booting from the CD-ROM So it turns out that BusyBox doesn't auto-load modules for filesystems that have type "auto", e.g. it doesn't figure out that it should load the "iso9660" module should be loaded when mounting the CD-ROM. We don't want to give the root FS on the CD type "iso9660", because that breaks booting from a USB stick created by unetbootin. So make sure the "iso9660" module is loaded. --- modules/installer/cd-dvd/iso-image.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/installer/cd-dvd/iso-image.nix b/modules/installer/cd-dvd/iso-image.nix index cf76151c2ae2..7b050f8dd6a3 100644 --- a/modules/installer/cd-dvd/iso-image.nix +++ b/modules/installer/cd-dvd/iso-image.nix @@ -205,9 +205,7 @@ in else [ config.boot.kernelPackages.aufs ]; - boot.initrd.availableKernelModules = [ "aufs" "squashfs" "iso9660" ]; - - boot.initrd.kernelModules = [ "loop" ]; + boot.initrd.kernelModules = [ "aufs" "squashfs" "iso9660" "loop" ]; boot.kernelModules = pkgs.stdenv.lib.optional config.isoImage.makeEfiBootable "efivars";