ls /dev/mm*
There needs to be an item listed "mmcblk1p1" for the umount to work. If there is none u don't need to unmount it.
sfdisk -uM /dev/mmcblk1 << EOF ,<YOUR NUMBER IN MB>,C ,,L ,, ,, EOF