
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
- Run
guiformat.exeas administrator. Get it from our download page if you have not already. - Choose the card's letter in Drive and check the size.
- Keep the suggested allocation unit size and Quick Format.
- Use a short label such as BOOT, then click Start.

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.
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.



