2

After playing with partitioning using FDISK (from busybox) i finished and now i want to format it back to whatever is usable under Android.

Using same FDISK via Android console i deleted all partitions, made a clean DOS partition table, made a new partition and changed its type to b (Win95 FAT32).

I got no microSD adapter to read the card from my linux PC and format it there. What should i do to format it into a usable condition?

7
  • 1
    As you wrote: format it? Just creating a partition does not yet make it usable. I cannot look it up from here currently, but there should be a mkfs.vfat in /system/sbin for this.
    – Izzy
    Apr 10, 2013 at 15:04
  • @izzy I know a partition needs a format. Thanks for answer even through its in comment. Apr 10, 2013 at 17:14
  • If it solved your issue, I can make it an answer with some more details :) And sorry for the second sentence -- must have missed that in your questions last paragraph, my bad...
    – Izzy
    Apr 10, 2013 at 17:37
  • @Izzy I am getting mkfs.vfat: lseek: Value too large for defined data type everytime. Apr 10, 2013 at 17:42
  • 1
    How big is the card, and what parameters did you use? That error usually indicates you're breaking some limit (comes e.g. when you try to extend a file beyond 2 GB on FAT and the like). Or, according to this XDA thread, you might need a different version of BusyBox (see post #12).
    – Izzy
    Apr 10, 2013 at 18:10

2 Answers 2

0

Summing up from the comments:

With BusyBox, Android provides tools for formatting from the command line. In your case, this would be /system/sbin/mkfs.vfat. This is reported to sometimes throw an error like:

mkfs.vfat: lseek: Value too large for defined data type

According to this XDA thread, this is the fault of Busybox. Using a different version (as reported in post #12 of that thread) should solve the issue -- and did it in your case, luckily.

3

Android has built-in formatting capabilities that are usually available via Settings -> Storage -> Format SD card (or something similar depending on the device you use).

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .