In Ubuntu 15.10 /etc/default/grub.d/dmraid2mdadm.cfg now contains the following code:
DMRAID2MDADM_TOAPPEND="nomdmonddf nomdmonisw"
case "$GRUB_CMDLINE_LINUX_DEFAULT" in
*$DMRAID2MDADM_TOAPPEND*)
;;
*) GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT $DMRAID2MDADM_TOAPPEND"
;;
esac
that prevents the options "nomdmonddf nomdmonisw" to be added several times.
In Ubuntu 15.10 /etc/default/ grub.d/ dmraid2mdadm. cfg now contains the following code:
DMRAID2MDADM_ TOAPPEND= "nomdmonddf nomdmonisw"
case "$GRUB_ CMDLINE_ LINUX_DEFAULT" in ADM_TOAPPEND* )
GRUB_CMDLINE_ LINUX_DEFAULT= "$GRUB_ CMDLINE_ LINUX_DEFAULT $DMRAID2MDADM_ TOAPPEND"
*$DMRAID2MD
;;
*)
;;
esac
that prevents the options "nomdmonddf nomdmonisw" to be added several times.