Unable To Format Sd Card Mac

broken image


FAQ

  1. Unable To Format Sd Card Macbook Pro
  2. Format Sd Card On Mac

I'm trying to use a brand new 256 GB sd card. When I first inserted it in my MBP it says there were errors that couldn't be repaired. I though I'd format it, also because it was in exFAT and I wanted it Journaled. Then: the havoc. Nothing seemed to work. Disk Utility can't ERASE it, neither in Journaled nor in exFAT. The SD Card can be read, but can not be formatted or have any files deleted or inserted. The slider in turned ok on the card, but the properties of it keep saying 'read-only' permission. And in the Disk Utility app the options to erase the sd card are all disabled! The only option I can run there is 'verify disk'. This tutorial will show you how to format an SD card or Micro SD card in MacOS with the Disk Utility app. Note that formatting an SD card or Micro SD card will erase all data on the card, as well as set a file system format for the SD card. Thus you will want to copy or backup any data on the SD card that you wish to preserve.

If you have a Mac with an SD card slot, use that. If not, you'll need an SD card adapter like the Anker 8-in-1 card reader. It's a good deal at US$9.99 on Amazon. To reformat an SD or micro SD card.

You can format both standard size SD memory cards and microSD memory cards based on the following capacity types:

  • SD/microSD card: FAT12/16 up to 2GB
  • SDHC/microSDHC card: FAT32 more than 2GB and up to 32GB
  • SDXC/microSDXC card: exFAT more than 32GB and up to 2TB

What are benefits of using the SD Memory Card Formatter?

The Formatter offers:
  1. Data portability of SD memory cards among SD host products like computers, digital still cameras, digital video camcorders, broadcast recorders, set top boxes, drive recorders, smartphones, drones and many other devices.
  2. Formatting within FAT parameters optimized for flash memories in SD memory cards for better performance and endurance.

Is there an End User License Agreement (EULA)?

Yes. When downloading from SDA website or installing the SD Memory Card Formatter onto your Windows PC or Mac, the EULA will be shown on the screen. The EULA is the SD Memory Card Formatter software license agreement between SDA and you. You must accept the EULA to install and use the Formatter.

What is the SD Memory Card Formatter Version Check? (Version 5.0 or later)

If your Windows PC or Mac is connecting to Internet, when you run the SD Memory Card Formatter you installed on your Windows PC or Mac, it will check for the latest version of the Formatter in the SDA website. If your Formatter is not the latest version, the Formatter will ask you to upgrade by downloading the latest version from the SDA website.

Is the old SD Memory Card Formatter (Version 4.0 or prior) available?

No. Previous versions of the Formatter are not available. The old Formatter may not work properly with recent Windows and Mac OS X/macOS versions. You should always use the most current version of the Formatter from our SDA website.

Can an SD memory card be reformatted with other than SDA standard FAT file systems?

This is not recommended because you will lose the ability to use the card to reliably transfer data between devicesSD host products.
Some SD host products reformat SD memory cards other than SDA standard FAT file systems. This process may restrict the data portability of cards with other SD host products and create other issues. SD host product manufacturers should only reformat cards using the defined SDA standard FAT file systems.

Is the SD Memory Card Formatter available on websites other than the SDA website?

Do not use the SD Memory Card Formatters found on other websites. The SDA does not allow the copy of SD Memory Card Formatter to be hosted on other websites. SDA download is free on our website and always provides the latest version of the Formatter.

Does SDA allow to link to the SD Memory Card Formatter download page in SDA website?

Yes, you can link to the following SD Memory Card Formatter download page URL in your product manual, your website, etc.:
https://www.sdcard.org/downloads/formatter/

Who is a contact window in SDA for the SD Memory Card Formatter?

If you have a question for the SD Memory Card Formatter, please email:

SDA Help

Why are the displayed capacities different in Windows and Mac applications?

Windows uses a base-1024 to calculate capacities while Mac uses a base-1000, e.g. in Windows, 1MB = 1,024K kB = 1,048,576 bytes, while in Mac, 1MB = 1,000K kB = 1,000,000 bytes.

Why is free space after formatting different between the SD Memory Card Formatter and macOS Disk Utility or Windows Drive Properties dialog?

The SD Memory Card Formatter formats the card without consideration of the operating system's own file system driver. Once the formatting completes, the operating system's file system driver mounts the card and creates hidden directories and files for its own purpose. The difference of free space right after formatting as reported by the Formatter and as reported by the operating system's own dialog comes from those hidden directories and files creation.

How many characters can be entered into the volume label field?

You can enter 11 ASCII characters or 5 characters in Japanese double-byte character.

What is the difference between Quick and Overwrite format methods?

Quick format deletes all the file/directory entries by initializing file system parameters of the card, but it does not delete the data written in files. Overwrite format deletes file/directory entries by initializing file system parameters of the card (same as with Quick format), and erases all data by overwriting the user data area completely. The Overwrite format takes more time to complete than the Quick format method.

What types of adapter are supported by the SD Memory Card Formatter?

The following SD interface devices are available to access SD/SDHC/SDXC memory cards:
  • SD memory card slot on Windows PC or Mac
  • USB2.0, USB3.0, USB3.1, USB-C SD Memory card reader connecteding to Windows PC or Mac

Have you ever had your Raspberry Pi stopped booting up? The red and the yellow lights flash a few times and then quit? These are classic symptoms of a corrupted SD Card.

This posting will walk through how to fix a corrupted SD Card for your Raspberry Pi using a Mac and VirtualBox. This is a fairly complicated procedure, but most of it only has to be done once and then you can fix corrupted cards quickly and efficiently.

Why do SD Cards get Corrupted?

When the SD Card is being written, there are windows of vulnerability. There seem to be four main scenarios during which SD Cards become corrupted:

Fat32
  1. Powering your Raspberry Pi down without doing a 'sudo halt'. Do this enough, you will corrupt your card.
  2. Poor quality SD Cards. Fake SanDisk cards especially.
  3. Marginal power supplies. Watch the Red LED on newer Raspberry Pi's. If it is blinking, there are issues. Poor power quality from the mains can also screw up your Raspberry Pi
  4. Overclocking your Pi. If you push it too far, things start not quite working correctly.

OK, what can I do with a Corrupted SD Card?

The first thing you can do is BEFORE you get corrupted, back up your SD Card on a regular basis. If you spend hours configuring an SD Card, then back it up. Changing your software? Back it up. It will save you a lot of time if you end up corrupting or destroying the SD Card. Here is how to do it on a Mac.

Sometimes, the SD Card is actually damaged. In that case, you aren't going to be able to fix the card. However, you can get your files off the SD Card in many cases. Check out this posting.

Fixing a Corrupted SD Card

Overall, this is the procedure for fixing a corrupted SD Card using a Mac. The process is similar for a PC, but requires different instructions to install and get VirtualBox working.

  1. Back up your SD Card, if possible. Here is how to do it on a Mac.
  2. Install VirtualBox on your Mac
  3. Install Ubuntu in Virtual Box
  4. Attach SD Card to Ubuntu
  5. Run 'fsck' to repair the SD Card

Install VirtualBox on your Mac

VirtualBox is a 'virtualizer' which means that it allows you to install an operating system in a 'Box' inside another operating system. It is open source and free to use. In this case we will be installing Linux (Ubuntu) on a Mac OS X platform.

Step 1: Download the VirtualBox .dmg file for the Mac OS X from this page:

Step 2: Click on the downloaded .dmg file.

Step 3: Double click on the VirtualBox.pkg icon

Step 4: Follow the instructions to install VirtualBox in the applications directory.

Step 5: Now download the installation file (.iso) for Ubuntu from this link: Note: Make sure you use this link – ubuntu-1510-desktop-i386.iso. If this link isn't available, go to https://mirror.pnl.gov/releases/ and find the latest release. The default download link on Ubuntu server will download an amd64 image, which WILL NOT WORK on your Mac OS X.

Step 6: Start up VirtualBox from Applications

Step 7: Click on 'New'

Step 8: Enter 'Ubuntu' as the name. Linux and 64 bit will be automatically selected. Click Continue.

Step 9: Click on continue until you are done, using all the defaults.

Step 10: Click on settings and then on Storage and then on Controller: SATA

Step 11: Enter 2 in port count! This is an important step not to miss! Click 'OK' to close

Step 12: Ready to install Ubuntu now! Click the Start Button

Step 13: When you are promoted to select an image, select the ubuntu .iso image downloaded in Step 5.

Unable To Format Sd Card Macbook Pro

Step 14: Select 'Install Ubuntu' from the screen, then 'Continue' from the next screen and then keeping the defaults, finally 'Install Now'.

Step 15: Click 'Continue' when asked to erase the virtual disk. Don't worry, this is not your Mac OS X disk.

Step 16: Select your Timezone. Hit 'Continue'

Step 17: Put in your name and choose a password. Make sure you can remember it! Now hit 'Continue' and you are installing Ubuntu.

Step 18: Now click 'Restart Now' when the installation is finished. If Ubuntu does not start (which happens often the first time), then hit the 'x' in the corner and select 'Power Off the Machine'.

Step 19: Now you have your Ubuntu Virtual Machine running. Click the 'X' on the window and select 'Send the shutdown signal'. Then click 'Shutdown'

Adding the SD Card to your Ubuntu Virtual Machine

In order to mount and fix your corrupted SD Card, you need to add it to the Ubuntu virtual machine. This is the complicated part of this procedure.

Step 1: Insert your SD Card into the reader on your Mac OS X machine. Below is on the Mac Mini. On a Mac Book, it will be on the side.

Step 2: Open up a terminal window and type:

Step 3: You will see a list similar to this. Look for your SD card and note the /dev path (/dev/disk4 in this case)

Step 4: In the terminal window type (replacing /dev/diskX with what you found in Step 3):

Step 5: change directory in the terminal window to the 'VirtualBox VMs' on our development machine this command is:

Note the quotes around the directory name. Adding spaces in directory names and filenames causes all sorts of issues. The user on our machine is 'development'. The user name on your machine will be different. Word download mac os x free.

Step 6: Now we come to the magic. Type the following (replacing diskX with what you found in Step 3):

Step 7: Now we have an .vmdk file pointing to your raw SD Card device. We next have to set the permissions on this file so your Ubuntu VirtualBox machine can read the file.

Step 8: Next we have to add the SD Card (a SATA device) in the Ubuntu virtual machine storage configuration built in the previous section.

Step 9: Click on Settings in VirtualBox and select Storage. If port count is '1' change it to '2'

Step 10: Click on the icon on the right of the Controller: SATA disk and select 'Choose existing disk'. Select the .vmdk file built in Step 6 above. If it reports that it is busy (Mac OS X likes to remount things for some reason), repeat Step 4 and quickly do Step 10 again.

Step 11: Click OK

Step 12: Start your Ubuntu Virtual machine with the start button.

Now finally, we can repair the SD Card.

Repairing the SD Card

Step 1: Select the top most icon on the Ubuntu Desktop. Type 'Terminal' in the search line.

Step 2: Select the Terminal Icon on the top line. You will get a terminal window.

Step 3: type

into the terminal window (you may have to enter your password from Step 17 in the section above)

Step 4: Note the name '/dev/sdb'. That is your SD Card on the Ubuntu system. Note it may be different, but if you followed these directions, it should be the same.

Step 5: Now the magic. Finally. We will fix the sdb2 partition on sdb. That is the linux system. Type the following in the terminal window:

This may take a while, depending on the speed of your machine. Note that the following picture shows you what you get on a clean, good SD Card. If you have issues, it will show you what it is doing.

Format Sd Card On Mac

Conclusion

Now you should have a repaired Raspberry Pi SD Card. If it doesn't work, you may have bigger issues. Start by looking at more 'fsck repair' pages on the web. If the card is bad, look at mounting the SD Card under your Ubuntu Virtual machine and going into the file system to try to recover your most important files.

The next time you need to repair an SD Card, you should only have to plug it into your Mac OS X and then start Ubuntu from VirtualBox. Note that the image you built for the SD Card repair probably won't boot without an SD Card plugged in. If you want to use Ubuntu without the SD Card, build another image in VirtualBox. You don't have to delete the SD Card Ubuntu image.





broken image