FAT32 SD Cards for Raspberry Pi

Some Raspberry Pi projects ask you to copy files onto a FAT32 card. Here is how to prepare a large card properly, including cards with old Linux partitions.

Single-board computer next to 128 GB and 64 GB SD cards on a wooden desk
GUIFormat Editorial TeamPublished Updated 7 min readHow-to guides

Quick answer: if your project tells you to copy files onto a FAT32 card, clean the card in DiskPart, create one partition, then format it with GUIFormat using the default cluster size. If you are installing Raspberry Pi OS, use Raspberry Pi Imager instead; it partitions and writes the card itself.

When you need FAT32 yourself

The Raspberry Pi firmware reads its boot files from a FAT partition. Raspberry Pi Imager handles that for full OS images, so you rarely format by hand. Manual FAT32 formatting matters for projects that ship as a folder of files: bootloader recovery images, bare-metal synthesizer and emulator projects, and firmware updaters for add-on boards. Their instructions often say "format the card as FAT32 and copy these files", which Windows will not do for cards above 32 GB.

Step 1: clean old partitions

A card that has run Linux usually holds two or more partitions, and Windows may show only the small boot one. Start fresh:

diskpart
list disk
select disk 2        (check the size column carefully)
clean
create partition primary
assign
exit

The card now has one empty partition with a drive letter. DiskPart's clean erases the partition table, so be certain you chose the card.

Step 2: format with GUIFormat

  1. Run guiformat.exe as administrator. Get it from our download page if you have not already.
  2. Choose the card's letter in Drive and check the size.
  3. Keep the suggested allocation unit size and Quick Format.
  4. Use a short label such as BOOT, then click Start.
GUIFormat with the 128 GB SDXC card F selected and BOOT as the volume label
GUIFormat set to format a 128 GB SDXC card with the label BOOT.

Step 3: copy the project files

Copy the files to the root of the card exactly as the project describes. Folder names and file names matter to the firmware. Eject the card safely before removing it, because some Windows caching can leave the last writes unfinished.

Which card size works?

FAT32 works on cards up to 2 TB, but very large volumes can make some bootloaders slow to mount. If a project lists a maximum card size, respect it, or create a smaller partition in DiskPart with create partition primary size=32768 and format that.

Formatting a card that already holds Raspberry Pi OS erases your system and data. Back up home folders and configuration first.

Troubleshooting the Pi

  • Rainbow screen or no boot: the files are missing or in a sub-folder. Copy them to the root.
  • Card not listed in GUIFormat: it has no drive letter. Repeat the DiskPart steps.
  • Write protected: check the lock slider on the SD adapter.

More fixes are in Fix common GUIFormat errors, and the cluster choice is explained in Allocation unit size explained.

GUIFormat Editorial Team

We test GUIFormat on real drives under Windows 10 and 11, check every download hash ourselves, and update guides when tools change. About us.

GUIFormat 1.01
76 KB, free, Windows
Download GUIFormat