Formatting an SD card/Linux

This is an add-on section for formatting an SD card to FAT32.

This page is for Linux users only. If you are not on Linux, check out the Windows or Mac pages.

Instructions

 * 1) Make sure your SD card is not inserted
 * 2) Open a terminal window and type.
 * 3) Insert the SD card and watch for a new device appearing in lsblk.
 * 4) Observe the output for the new device. It should match something like this:
 * 5) Take note of the name of the device that now appears. In our example above, it was
 * 6) * If  is set to 1, make sure the lock switch is not slid down
 * 7) Hit CTRL + C to exit the menu
 * 8) Type
 * 9) Enter   and then enter
 * 10) Enter   and then   - observe the output, and make sure the device is now formatted correctly.
 * 11) If there are no issues, enter   - this will save changes and exit the fdisk prompt.
 * 12) Type   to reformat the new partition.
 * 13) * If the SD card is over 32GB in size, change 64 to
 * 14) Type , then remove and reinsert the SD card.
 * 15) Copy your data back onto the SD card.