- plug in your SD card
- replace
sdXwith the device name (find withlsblk)
o- clear out old partitions and create new MBRp- none should be leftn,p, 1, ENTER,+500M- create a new primary boot parition, starting at the start of the disk with size 500MB/t,c- set type to W95 FAT32n,p, 2, ENTER x2 - create a new primary partition for data, taking up all remaining space