I am new to Ubuntu, using 14.04 I am trying to format an SD card to make space on it, and it's not working. I tried in terminal:
format mmcblk0
hformat mmcblk0and it says:
hformat: /home/michael/mmcblk0: error (no such file or directory)How do you format an SD card?
03 Answers
It's very easy.
First insert your SD in Sdcard Reader, let Ubuntu mount it.
check the access path for the sd card usingdfYou will get some output like thisFilesystem 1K-blocks Used Available Use% Mounted on /dev/sda7 104087776 76247376 22529988 78% / /dev/sdd1 15549952 13056 15536896 1% /media/g/3630-6335Unmount the sd using
sudo umount /path/to/sd/cardFormat the card using
mkfssudo mkfs.vfat -F32 -v /path/to/sd/card
-F flag is for Fat32 system.
-v flag is for being verbose
You can use the included Disks application
Click on the target partition. Now you can create new partitions, format the disk or change partition type.
1Use the software gparted to format the partition on your sd drive
Download gparted from the software centre
Start it
Load your sd within the software (upper right button)
right click on sd partition: unmount
Delete partition
Create new partition fat32, label it as you like
That's it, if you have any problem write here :)
1