SD Clean/Mac

From Hacks Guide Wiki
< SD Clean
Revision as of 21:54, 26 March 2023 by StarlitSkies (talk | contribs) ("this page is for Mac only. If you are not on Linux," hmmm)

This is an add-on section for completely recreating an SD card's filesystem using Disk Utility. This should only be done if formatting does not fix your issue or is not possible for some reason.

This page is for Mac users only. If you are not on Mac, see the Windows and/or Linux pages instead.

Instructions

OOjs UI icon information-warning.svg Before beginning these steps, copy all of your SD card's contents to a folder on your computer.

Terminal

  1. Open the Terminal app.
  2. Type diskutil list external physical, then find the SD card and take note of its disk name. It will look like disk2 or disk3.
  3. Once you are sure of the SD card's disk name, type diskutil unmountDisk /dev/disk#, where # is the number in the disk name you found.
    • If the system cannot unmount the disk, type diskutil unmountDisk /force /dev/disk# to forcibly unmount it.
  4. Type diskutil eraseDisk FAT32 NAME MBRFormat /dev/disk#.
    • Replace # with the disk number, and replace NAME with any name that does not begin with 3ds.
  5. Once the format is complete, copy your data back onto the SD card.

Disk Utility

Choose your macOS version, as the instructions differ between versions.

# Double-click Disk Utility in the /Applications/Utilities folder.

  1. Choose View > Show All Devices.
  2. In the sidebar, select the storage device you want to erase, then click the Erase button.
  3. Click the Scheme pop-up menu, then choose Master Boot Record.
    • If the Scheme pop-up menu is not available, make sure you selected the storage device you want to erase — it’s at the top of the hierarchy.
  4. Click the Format pop-up menu, then choose MS-DOS (FAT)>.
  5. Enter a name for the new partition.
  6. Click Erase, then click Done.
  7. Once the format is complete, copy your data back onto the SD card.

# Double-click Disk Utility in the /Applications/Utilities folder.

  • Choose View > Show All Devices.
  • In the sidebar, select the storage device you want to erase.
  • Eject each volume on the disk (select the volume in the sidebar, then click the Eject button), then click the Erase button once all volumes are unmounted.
  • Click the Format pop-up menu, then choose MS-DOS (FAT)>.
  • Enter a name for the new partition.
  • Click Erase, then click Done.
  • Once the format is complete, copy your data back onto the SD card.

  • TBD