format 64Gb usb drive to Fat32 only gives 32Gb?
Hi there,
I have to format approx 200 USB drives to Fat32. On my mac, no problem but in Linux from the command line it only gives me 32Gb instead of the full capacity. Here is what I am doing: Code:
sudo su How can I get this to be a 64Gb partition? Kind regards iFunc |
you got Gparted? use that --- if something wrong with the usb normally it can be fix within that too --- just incase partitons maybe screewed up-- that should let you know.
for -> mkfs.vfat <- |
Quote:
Plug that in to your linux box. Plug in the unformatted USB drive. Discover the device designations > Code:
sudo fdisk -l Code:
sudo dd if=/dev/sdc of=/dev/sdd |
Quote:
"-n 'round01' " - set the label using the chosen text inside the quotes. "-I" - means you are doing a "superfloppy" format. That is formatting the entire disk, not partitions. The -I tells the format command to ignore the fact that you have no partitions. |
Ok, thanks for the replies.
As for Gparted, can't get it to work at all, it doesn't appear to support FAT 32 that I can see. Can I assume that only mac will actually partition a large USB drive to FAT 32 then? I thought you would be able to do it in the command line easily. the reason I ask is that I don't want to wear out the usb ports on my mac as that is mine not a works machine. kind regards iFunc |
It can probably be done using the -S option in your command:
mkfs.vfat -n 'round01' -I /dev/sda to increase the logical sector size. I will try to figure out the exact parameters. |
You haven't created a partition yet, you're just trying to create a filesystem on the raw device. Use fdisk or parted or gparted to create a partition on the device first, then create the filesystem on the partition (sda1, not sda).
As for gparted and fat32, yes absolutely gparted supports fat32, it would be ridiculous for it not to. As for wearing out your USB port, use a $5 extension cable and plug your drives into that. |
Quote:
|
Ok, tried to use fdisk, now I only have 32K of space, that's much worse, can someone please point me at a tutorial that will make it so I can format a 64Gb Drive from exFat format to FAT32 please.
|
Fat32 does not support any filesystem larger than 32GB.
reference: http://support.wdc.com/KnowledgeBase...r.aspx?ID=1287 reference: https://technet.microsoft.com/en-us/.../cc938432.aspx BTW, the filesystem also limits file sizes to 4GB. If you want to use more with linux, use a linux native filesystem. You will also get better error recovery. |
Code:
sudo mkdosfs /dev/sdX -s 128 -F 32 -I |
Quote:
|
Quote:
Quote:
|
Quote:
parted fdisk mkfs.vfat(8) |
Quote:
Linux wasn't support that well back then had to go back to Windows and forgot what it was that he showed me. maybe it only worked on 3.5 floppies. either way it was was really fast when used. just type size of drive - sectors and where it was at then hit enter (maybe missing a few prams) but whatever it was, It was done as soon as enter was hit. hit that arrow on the keyborad and do another one, it went faster then the old waiting for it to format every sector slowly |
All times are GMT -5. The time now is 06:13 AM. |