Ubuntu is a popular distribution of the GNU/Linux operating system. Ubuntu is designed to be compatible with many different kinds of hardware, including Secure Digital (SD) flash memory cards. GParted is free, open-source partitioning software included with the Ubuntu installation disc. SD cards typically use the FAT32 filesystem for compatibility between many different devices. You can format an SD card to erase its contents in the Ubuntu operating system by using the GParted utility.
Click the "System" menu at the top of the screen.
Click "Administration > GParted Partition Editor".
Click the drop-down list on the right-side of the window to select the SD card. This is usually labelled "/dev/sdb".
Click the "Device" menu, then click "Create partition table".
Right-click the empty grey area representing the SD card, then click "New".
Click "File system" and select "FAT32".
Click the green check mark, then click "Apply" to format the SD card.
This is a destructive process that erases all data on the SD card. Back up any important files, such as pictures and documents, before proceeding.