# SD Formatting // ANCHOR: steps 1. Insert a fresh SD card into the SD card slot or connect it via a USB card reader to your computer * microSD or standard SD card can be used 2. Launch a terminal 3. List all block devices, including your SD card: * `lsblk` 4. Look for your SD card in the output of the `lsblk` command. It will typically be listed as `/dev/sdX`, where X is a letter (e.g., `/dev/sdb`, `/dev/sdc`). You can identify it by its size or by checking if it has a partition (like `/dev/sdX1`) 5. Before formatting, you need to unmount the SD card. Replace `/dev/sdX1` with the actual partition name you identified in the previous step: * `sudo umount /dev/sdX1` 6. Use the mkfs command to format the SD card. You can choose the file system type (e.g., vfat for FAT32, ext4, etc.). Replace /dev/sdX with the actual device name (without the partition number): * `sudo mkfs.vfat /dev/sdX` 7. You can verify that the SD card has been formatted by running lsblk again or by checking the file system type: * `lsblk -f` 8. Once formatting is complete, you can safely remove physically or eject the SD card: * `sudo eject /dev/sdX` //ANCHOR_END:steps