Anyone who owns a SanDisk Sansa Clip+ knows it’s one of the greatest MP3 players ever made. Cheap, rock solid & customisable - I love this thing.
One of the coolest features is that it takes an SD card of any size (at the time of writing, this can be 128GB!). However, due to some limitations with FAT32, these cards will not work out of the box.
Luckily for we Linux users, it’s dead easy to do with the command line, and a program called
fdisk. This ships with most distributions.
You will need root access for this operation. You will also lose all data on the SD card, so back it up first if you need to.
Run the following commands as root:
Then plug in your sd card
See the new line? That’s the name of your SD card. On my system it has come up as
/dev/sdg and has a partition of
It will probably be a different letter for you. Sometimes for SD cards it comes up as
/dev/mmblk0mdd or the like.
BE VERY CAREFUL YOU GET THE RIGHT DEVICE NAME you can lose all your data if you pick your local hard drive!
On some systems the card may have mounted itself. You can see if this is the case under
MOUNTPOINT. If any directory is listed, then run
With the device unmounted but still plugged in, run
This opens fdisk
d to delete partition. Keep pressing
Enter until you are back to the ‘main’ menu. Repeat until there are no partitions left.
n to make a new partition. Again, keep pressing
Enter to accept all the defaults.
t to change the partition type. Press
c to set it to
W95 FAT32 (LBA)
w to save your changes and exit.
mkdosfs -F 32 -I /dev/sdX
Done! Now you can mount your card, transfer music to it and your Sansa Clip+ will detect it just fine.