format MMC Card in Linux
Sometimes when you have a mmc that has been corrupted by virus, you cann’t do anything. When you want to remove the file in that in MMC, it will say that the file was corrupted or the file read only file system . So we can not remove even we in root account . If you have file that you want recover, just save it first to your harddisk , cause after format, the file in MMC will be delete .
To format , first open terminal :
fdisk -l
This command to show the disk that mounted in your system
example
Disk /dev/mmcblk0: 1027 MB, 1027604480 bytes
4 heads, 16 sectors/track, 31360 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0×00000000
Device Boot Start End Blocks Id System
then unmount it ( x is depend on your memory )
umount /dev/mmcblkx
Format it by typing :
mkfs.vfat /dev/mmcblkx
That’s all
Doing it by your own risk










One Response to “format MMC Card in Linux”
BobMarche
on Jun 11, 2009
Thanks for the useful info. It’s so interestingComment posted using
Internet Explorer 6.0 on
Windows XP
Reply