From 941f11582631ff0c713c18ab1b7869af8a7cb9de Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 10 Jan 2017 10:51:52 +0000 Subject: init: try load rootfstype module early zpool needs the zfs module to be loaded early. by also loading rootfstype module early we don't need specify zfs to both modules and rootfstype --- initramfs-init.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'initramfs-init.in') diff --git a/initramfs-init.in b/initramfs-init.in index c4a89e1..f4cd274 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -342,7 +342,7 @@ mount -t tmpfs -o nodev,nosuid,noexec shm /dev/shm # load available drivers to get access to modloop media ebegin "Loading boot drivers" -modprobe -a $(echo "$KOPT_modules" | tr ',' ' ' ) loop squashfs 2> /dev/null +modprobe -a $(echo "$KOPT_modules $KOPT_rootfstype" | tr ',' ' ' ) loop squashfs 2> /dev/null if [ -f /etc/modules ] ; then sed 's/\#.*//g' < /etc/modules | while read module args; do -- cgit v1.2.3