Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I've been trying to format an 8 GB SD card on my Ubuntu 11.10. I started with using fdisk and followed the step by step instructions to the letter using the appropriate values from the following site: And everything goes as it should up till when I get to the step where you run:

sudo mkfs.vfat -F 32 -n boot /dev/sdc1

I get this

mkfs.vfat 3.0.9 (31 Jan 2010)
mkfs.vfat: unable to open /dev/sdc1

And I guess for the sake of complete information, I ran sudo fdisk -ls.

and this happens:

Disk /dev/mapper/sdc1 doesn't contain a valid partition table

share|improve this question

migrated from Oct 10 '12 at 7:43

This question came from our site for professional and enthusiast programmers.

I recommend GParted. You can find it in the Software center. Open it, and find your device. If you don't need the data, just delete the partition and make another one. It can make a TON of different partitions and partition tables.

share|improve this answer
k I'll give it a shot – user1415372 Jun 4 '12 at 0:39
Well that didnt work...when it gets to creating the fat32 partition an error pops up. Any ideas – user1415372 Jun 4 '12 at 1:14
What is the error? o_O Also, what partition table did you make? If its says something about there not being enough room you can offset it a little. – apple16 Jun 4 '12 at 1:15
Also this might not work if your SD card has to be formatted a certain way with certain partition offsets. – apple16 Jun 4 '12 at 1:21
how do u determine this – user1415372 Jun 4 '12 at 1:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.