root umount /dev/mmcblk1p1 sfdisk -uM /dev/mmcblk1p1 << EOF ,2100,C ,,L ,, ,, EOF
Checking that no-one is using this disk right now... BLKRRPART: Invalid argument OK Warning: start=16 - this looks like a partition rather than the entire disk. Using fdisk on it is probably meaningless. [Use the ==force option if you really want this]
umount /dev/mmcblk1p1 mkfs.vfat /dev/mmcblk1p1 -n sdcard mke2fs -j -m0 -L Android /dev/mmcblk1p2
Could not stat /dev/mmcblk1p2 --- No such file or directory The device apparently does not exist; did you specify it corectly?