Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Usb Fat32 with 16GB capacity seen as 4MB : possibile to solve by merging two partitions?

$
0
0
Hello everyone.
I've a external usb key whose declared size is 16 GB.
Indeed it was, but somehow aver having formatted it (Fat 32) in Windows 7 now on both Windows and Opensuse 13.1 the capacity of the drive results to be just 4 MB.

Since I'm not very fancy with Windows formatting utility (but I tried twice to format it! And the size has remained the same) I gave a try to Linux.

So (following this tutorial How to Mount, Unmount and Format USB pen drive using Terminal in Ubuntu/Linux Mint | It's All About Linux ) I opened a GNOME terminal did:

Code:

su
Password: *******************

Code:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
[.............................. (information about Main HDD)]

Disk /dev/sdb: 16.0 GB, 16012148736 bytes
64 heads, 32 sectors/track, 15270 cylinders, total 31273728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1bf0d4df

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1            4248      12439        4096    1  FAT12
/dev/sdb2  *      12440    9162751    4575156  17  Hidden HPFS/NTFS

What I noticed here is that there are TWO devices (partitions?) associated with my USB key , and infact 1 of them is just 4 MB! (4096 blocks)

What does
Code:

/dev/sdb2  *      12440    9162751    4575156  17  Hidden HPFS/NTFS
mean?

I tried to run
Code:

mount
the output is (the label is "openSUSE-12.3-DVD-x86_640110" because at first I used this usb key to install Opensuse, but I formatted it later):

Code:

[................................................]
/dev/sdb1 on /run/media/manuel/openSUSE-12.3-DVD-x86_640110 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sdb1 on /var/run/media/manuel/openSUSE-12.3-DVD-x86_640110 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)

The I UNmounted the drive:

Code:

umount /run/media/manuel/openSUSE-12.3-DVD-x86_640110 type vfat
Finally i tried to format /dev/sdb1 , in FAT32 by:

Code:

mfks.vfat /dev/sdb1
==> output:

Code:

mfks.vfat 3.0.1.0 (12 Sep 2010)
I alsy tried to do mkfs.vfat on /dev/sdb2 as well , the output is the same as the line above, but when I mount the drive again (I just removed and reinserted the usb key to let Linux do it automatically), I still get 1 USB DRIVE only whose capacity is 4 MB (4.2 MB exactly).

Any suggestion is really appreciated.
Thanks very much in advance

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>