From ee3768b9ba78fed67c95b8baa67355cd0304fe5c Mon Sep 17 00:00:00 2001 From: rushmorem Date: Wed, 17 Jun 2015 17:01:31 +0200 Subject: [PATCH] Make it possible to boot NixOS from a SCSI Disk on KVM Currently NixOS can't boot from a SCSI disk as a KVM Guest. I found this out while installing it on the new [Linode KVM platform](https://www.linode.com/docs/platform/kvm#custom-kernel-configuration). --- nixos/modules/profiles/qemu-guest.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/profiles/qemu-guest.nix b/nixos/modules/profiles/qemu-guest.nix index 79890aa7f17c..759fdb7f8e5f 100644 --- a/nixos/modules/profiles/qemu-guest.nix +++ b/nixos/modules/profiles/qemu-guest.nix @@ -4,7 +4,7 @@ { config, pkgs, ... }: { - boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "9p" "9pnet_virtio" ]; + boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" ]; boot.initrd.kernelModules = [ "virtio_balloon" "virtio_console" "virtio_rng" ]; boot.initrd.postDeviceCommands =