Partitioning and Formatting SD Cards with Linux

1 · Haifei Wang · June 12, 2023, 4:46 p.m.
Summary
To partition and format an SD card in Linux, follow these steps: First, connect the SD card to your PC. Then, use the fdisk command in the bash command line to partition the SD card. Finally, use the mkfs command to create a file system (format) on the SD card. The main commands are as follows: First, use sudo fdisk -l to confirm which device in /dev corresponds to the SD card....