igorpecovnik/Cubietruck-Debian — pull request #1 by ownedcore (2014-01-07 19:48:35+00:00)
Title: Only reread specific loop device.

Bug with fake raid devices.. occurred on my machine.

Not sure what ultimately caused this but fdisk -l /dev/sda returned some warnings. Adding the appropriate loop device to partprobe made the script to continue.