3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
Eelco Dolstra 2012-06-22 11:55:23 -04:00
parent 7b54922227
commit 598adfee3e

View file

@ -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";