Be careful - while indeed this does seem a fix for this problem, this script needs a lot more work. Hard coding that fairly arbitrary list of devices is going to break again for someone with a more obscure device. (As a first example, when there are more than 26 scsi devices - and I've seen a system with many more than that, where you start going beyond sdz). Perhaps it needs to check /sys/devices/block or /proc/partition (and then not get hung up on floppies....)
The script also provides no feedback and no diags even when quiet is removed and you are just left with an apparent hang. It's parsing of mdadm.conf is also fairly basic (e.g. see #68888) Dave ** Changed in: mdadm (Ubuntu) Status: Fix Committed => In Progress -- mdadm causes boot to hang for 4 minutes https://launchpad.net/bugs/67299 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs