Find the answer to your Linux question:
Results 1 to 2 of 2
Hi , I am trying to format 4 GB sd memory using mkfs.vfat. I want to use the card both in linux and windows so I am formatting with Vfat ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    5

    Question SD memory card format issue with mkfs.vfat


    Hi ,
    I am trying to format 4 GB sd memory using mkfs.vfat.

    I want to use the card both in linux and windows so I am formatting with Vfat filesystem.

    When I format the card from command line with "mkfs.vfat -F 32 /dev/mmcblk1" I am getting a warning message like
    "unable to get drive geometry, using default 255/63" but the data in the card is erased.

    But when I mount the card and checks for the size using df -h its showing 1 GB instead of 4 GB.

    Please help me how to format the SD memory card or any other alternate way to format the card.


    Thanks in advance.

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    nujinini
    Linux User #489667

Posting Permissions

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