From 932e1f92404d917a91af28737d6631ec45b56875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 14 Jul 2014 18:05:10 +0200 Subject: [PATCH] vm: Make sure disk image initrds load 'usb-storage.ko'. Reported by David Thompson . * gnu/system/vm.scm (system-disk-image): Add usb-storage.ko to the initrd. --- gnu/system/vm.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index ab3997bd5d..db78c56683 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -287,10 +287,12 @@ to USB sticks meant to be read-only." (operating-system-file-systems os))) (let ((os (operating-system (inherit os) - ;; Since this is meant to be used on real hardware, don't set up - ;; QEMU networking. + ;; Since this is meant to be used on real hardware, don't + ;; install QEMU networking or anything like that, but make sure + ;; USB mass storage devices are available. (initrd (cut base-initrd <> - #:volatile-root? volatile?)) + #:volatile-root? #t + #:extra-modules '("usb-storage.ko"))) ;; Force our own root file system. (file-systems (cons (file-system