I successfully formatted a Lexar 64GB micro SDHC10 as FAT32 with 32k cluster size using Mac and it is working fine with my Blackvue. If you are a Mac user the steps below might be useful.
- Fire up a Terminal
- Find the IDENTIFIER of your SD card using "diskutil list" in Terminal. It might be, for example, "disk1"
- Type the following in the Terminal
sudo newfs_msdos -v BLACKVUE -c 32 -F 32 /dev/disk1
(take care of case sensitivity, provide your admin password if asked for)
- If you get a message that the resource is busy, unmount the disk using
diskutil unmountDisk /dev/disk1 and try again
Alternately, you could also use the script below.
Copy the following code into a
plain text file, for example: sdformat32.sh
#!/bin/sh
# This script is for formatting SD cards of at least 4GB
# It formats them as FAT32 with 32K cluster size
#
# Argument 1: Device inside /dev to be formatted, eg.: disk99
# Argument 2: Volume name for the partition, eg: UNTITLED
if [ $# -ne 2 ]
then
echo Usage: sdformat32 diskname volumename
exit 1
fi
disk=/dev/"$1"
partition=/dev/r"$1"s1
volume=$2
echo This will DESTROY $disk. Are you sure? "(y/n)"
read yn
if [ $yn == 'y' ]
then
echo Partitioning $disk with volume name $volume ...
diskutil partitionDisk $disk 1 MBRFormat MS-DOS $volume 3G
if [ $? -eq 0 ]
then
echo Unmounting $disk ...
diskutil unmountDisk $disk
if [ $? -eq 0 ]
then
echo Fixing and optimizing partition ...
sudo newfs_msdos -v $volume -c ## -F 32 $partition
if [ $? -eq 0 ]
then
echo Mounting $disk in case you want to write to it ...
echo Do not forget to eject the drive before removing it!
diskutil mountDisk $disk
if [ $? -eq 0 ]
then
echo Done
else
echo The disk was formatted but could not be mounted!
exit 6
fi
else
echo Could not reformat the partition!
exit 5
fi
else
echo Could not unmount volume!
exit 4
fi
else
echo Could not partition disk!
exit 3
fi
else
echo Aborting. Nothing done
exit 2
fi
exit 0
Save it in a directory in your PATH, or execute by giving its full path, or change directory to where it's saved and execute, for example:
./sdformat32.sh disk1 BLACKVUE
where disk1 is the SD card disk identifier without the "/dev/" and "BLACKVUE" is the volume label (you could chose your own)