I did the following; sudo gainroot umount /dev/mmcblk1p1 sfdisk -uM /dev/mmcblk1 << EOF ,<6100MB>,C ,,L ,, ,, EOF and at the end got this; sfdisk: bad input How should I proceed? the Autoinstaller gets stuck also..