eHow launches Android app: Get the best of eHow on the go.

How To

How to Format an SD Card in Linux

Contributor
By John Ford
eHow Contributing Writer
(0 Ratings)

Use the Linux Terminal to reformat an SD card so you can use it for transferring files with digital cameras, PDAs, mobile phones, GPS receivers, video game consoles and other devices.

Difficulty: Moderate
Instructions

Things You'll Need:

  • Linux Terminal
  1. Step 1
    Launch Terminal
    Launch Terminal

    Find out where the SD card is mounted to begin the formatting process. Launch a "Terminal" window if you are not already in a terminal shell account. To launch the "Terminal" in Ubuntu Linux, select "Applications" from the menu bar and drag to "Accessories" and then to "Terminal." Release the Mouse button to launch "Terminal."

  2. Step 2
    The Directory of the Mounted SD Card
    The Directory of the Mounted SD Card

    Type in the following command in a new "Terminal" window to discover in which directory the SD card is mounted: sudo mount. Enter your password to see the directory list. The SD directory will be something like: "/dev/sdb..."

  3. Step 3

    Enter the following command in the "Terminal" window to un-mount the SD card: umount directory/device_name. Replace "directory" and "device_name" with the directory and device name returned in the "Terminal" from Step 2.

  4. Step 4
    The Formatted SD Card Terminal Command Prompt
    The Formatted SD Card Terminal Command Prompt

    Enter the following command in the "Terminal" to format the SD card and replace "directory/device_name" with the "directory/device_name" from Step 2: mkdosfs -I -F32 directory/device_name.

Tips & Warnings
  • To format the SD card in 16-bit fat mode instead of 32-bit fat mode, replace the "-F32" terminal command in Step 4 with "-F16."

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics