I have a SD card that has several partitions on it.
Running sudo fdisk -l
gives me:
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 2121093 1056451 c W95 FAT32 (LBA)
/dev/mmcblk0p2 2121728 15333375 6605824 5 Extended
/dev/mmcblk0p3 15333376 15398911 32768 83 Linux
/dev/mmcblk0p5 2129920 2252799 61440 c W95 FAT32 (LBA)
/dev/mmcblk0p6 2260992 15333375 6536192 83 Linux
Note all the above devices does not show up when I disconnect the SD card, hence I can assume all the above is related to the SD card.
Note the SD card is 8GB.
How can I format the SD card so that it behaves like normal?
Best Answer
Try this:
Insert sd card
Open a terminal,
Press Ctrl+Alt+T
Run it:
In Gparted, create a new partition table on a sd card device:
Select a sd card device.
Choose: Device --- Create Partition Table.
The application displays a Create partition table on /path-to-device dialog.
Select a msdos partition table type.
Apply
Create a new partition.
Select an unallocated space on the sd card device.
Choose: Partition --- New. (The application displays the Create new Partition dialog)
Specify the size and the location for the partition.
Specify the type of partition.
Specify the type of file system for the partition.
Specify the label of the file system for the partition.
Click Add to add the create partition operation to the operation queue.