Results 1 to 3 of 3

Thread: How to format an SD-CARD?

  1. #1
    Join Date
    Aug 2008
    Location
    Zug ZG, Switzerland
    Posts
    46

    Default How to format an SD-CARD?

    I will format an sd card and i don t know the commands...

    It should work on Linux/Windows/Mac
    HP Mini 5101, openSUSE 11.2

    100%-NETBOOK-USER
    100%-LINUX-USER
    100%-openSUSE-USER

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,015
    Blog Entries
    1

    Default Re: How to format an SD-CARD?

    Via YaST GUI:

    You can use YaST -> System -> Partitioner to (re)format your SD card (or memory stick).

    Make sure you have a look carefully that you select the correct device to format though. Once selected you should get an edit box displayed. From there you can choose file system to format with etc.

    The basic CLI approach:

    1) fdisk -l (to see what devices present)

    2) Unmount the relevant device first (eg /dev/sdb1) if mounted with something like

    unmount /ev/sdb1

    3) Depending on intended file system, you do

    mkdosfs -F 32 -n <VOLUME_LABEL> /dev/sdb1 (for FAT32)

    mkfs.ext3 -L <NAME> /dev/sdb1 (for ext3)

    ntfs file system needs to be done via windows

    You may also need to change ownership of the the volume with chown command if required.

  3. #3
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: How to format an SD-CARD?

    mkdosfs -F 32 -n <VOLUME_LABEL> /dev/sdb1
    If you want to use the SD-CARD to be used in Linux, Windows and Mac, it is best to use this file system only.
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •