I'm trying to reformat my 32G SD card to prepare it for my raspberry pi. My GUI program on my mac does not allow me to format it to ext3 which is what i'm told to reformat it to for my raspberry pi.

How do I reformat this SD card to ext3. I've researched some links on how to do it from the command line but i'm having a hard time understanding the procedures. Is there a GUI program out there that will do this for me or will i need to do it from the command line.

I've tried using fdisk but i can't figure out what commands I need to add on to erase and format to ext3. I know the path and name of my SD card which is /dev/disk1s1 so that is no problem.

It takes some time to write a Linux distro to my SD card so I would like to get this right. Otherwise I wait for 2 hours for the writing process to complete plug in the SD card and then start up my pi and notice it doesn't work. I would like to stay away from making this time consuming mistake another time.

You don't need to do format or preparation on the OS X side except for unmounting the SD card.

Copying the image uses the dd command to dump the proper ISO on to the card - partition format and all the data in one step. Here's how I prepare a SD card for my beagle bone black (similar ARM computer on a chip that runs Linux):

diskutil list - verify that disk1 or whatever is the proper mount point for it

diskutil eject disk1 - closes any files and leaves the storage free for the linux data to arrive

dd if=whatever.iso of=/dev/disk1 - write the image verbatim starting from the first block of the SD card.

Here is what things look like if you capture the contents from terminal using script:

On startup, you get a Finder dialog stating "SDFormatter wants to make changes." This is exactly how malware obtains privilege escalation. Creepy.

The app itself suffers from OEM-itis: ugly dialog, bad grammar.

EDIT: In fact, my SD card is 64G, and the card I prepared with SDFormatter failed horribly. After reading man pages for a while, I used diskutil to reformat the SD card to have two 32G FAT32 partitions, dumped the NOOBS file on the first one, and then everything was fine. In fact, as others have noted, the NOOBS loader will actually reformat the card to a single large partition itself.

I needed to format a partition to ext3 on my USB flash drive. The drive was already formatted, and had 3 partitions, and I wanted to convert partition 1 from FAT32 to ext3.

install brew, visit http://brew.sh/

install e2fsprogs using brew install e2fsprogs

figure out the name of your partition or drive using diskutil list -- in my case, my partition had was on disk2 and had the identifier of disk2s1

sudo $(brew --prefix e2fsprogs)/sbin/mkfs.ext3 /dev/disk2s1 but you may need to change the drive from disk2s1 to the partition or drive that you want to format. This command will ask you to verify the name of the partition, just to be sure :)

Welcome to Ask Different! While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes.
– grg♦Feb 27 '14 at 18:02