Created
December 1, 2023 10:49
-
-
Save arkon108/fa318f7bac2afcf6dc71dd915cca4806 to your computer and use it in GitHub Desktop.
Reclaim Full Storage Space on SD card on a Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# when a bootable SD card is created, the non-used space is converted to hidden partition | |
# step 0 | |
# connect SD card and open terminal | |
# step 1 | |
diskutil list | |
# step 2 find your sd card (e.g. /dev/disk4) | |
# step 3 erase the disk | |
sudo diskutil eraseDisk FAT32 SDCARD MBRFormat /dev/disk4 | |
# step 4 validate SD card was restored | |
diskutil verifyVolume SDCARD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment