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:
parent
7b54922227
commit
598adfee3e
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue