From 932e1f92404d917a91af28737d6631ec45b56875 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 14 Jul 2014 18:05:10 +0200 Subject: 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(-) (limited to 'gnu/system') 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 @@ (define file-systems-to-keep (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 -- cgit v1.2.3