Comment 15 for bug 315735

Revision history for this message
vinicius.vbf (vinicius-vbf) wrote :

Markus / ViRMiN

You can try to create a new file called dmraid (or something like that, the name is not important) in /etc/initramfs-tools/scripts/local-top/ containing the following script:

-----------------------------------
#!/bin/sh

PREREQ="udev"

prereqs()
{
        echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
        prereqs
        exit 0
        ;;
esac

/sbin/udevadm settle --timeout=30
modprobe -Q dm-mod
modprobe -Q dm-mirror

[ -x /sbin/dmraid ] && /sbin/dmraid -ay
------------------------------

Make it executable (sudo chmod +x dmraid) and run update-initramfs -u.