View Single Post
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#39
Originally Posted by HeavyComponent View Post
Ok woody14619,

At root just typed "mount".

Code:
/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir)
Hmm.. thats odd, since the sfdisk command output you showed bfore said it had no partitions on the device... Yet now it's saying it has a partition mounted. Well, this should do it for you:

Code:
umount /dev/mmcblk1p1
sfdisk /dev/mmcblk1 <<EOF
,,c
EOF
sync
mkfs.vfat /dev/mmcblk1p1
sync
sfdisk -d /dev/mmcblk1
The output the the last command should show you have a partition, formatted properly. Then a quick reboot (or open your back cover and replace it) and you should be all set.
 

The Following User Says Thank You to woody14619 For This Useful Post: