Capacity of 8GB flash drive shown in file manager is less than the actual
The flash drive is 8GB, but showing it's only showing 8MB in file manager.
When I connect it to my PC, I get a message that I must format the flash drive. When I try to format it, I get another message: "Windows can't format".
If I change the allocation unit size to 8096 or 4096 FAT the flash drive is formatted.
When I browse the flash drive, I just see a file in it. Then when I copy a file in it, it's showing more files there.
- I tried to format the flash drive with GParted in Linux .
- I tried to fix write protected.
- I tried to fix it with generic format tools.
- I tried to fix it with diskpart.
but none of my attempts worked.
partitioning usb-flash-drive gparted
add a comment |
The flash drive is 8GB, but showing it's only showing 8MB in file manager.
When I connect it to my PC, I get a message that I must format the flash drive. When I try to format it, I get another message: "Windows can't format".
If I change the allocation unit size to 8096 or 4096 FAT the flash drive is formatted.
When I browse the flash drive, I just see a file in it. Then when I copy a file in it, it's showing more files there.
- I tried to format the flash drive with GParted in Linux .
- I tried to fix write protected.
- I tried to fix it with generic format tools.
- I tried to fix it with diskpart.
but none of my attempts worked.
partitioning usb-flash-drive gparted
1
Possible duplicate of What can I do if my USB flash drive is write-protected or read-only?
– DavidPostill♦
Nov 5 '16 at 9:31
I'm more concerned with the 8MB of remaining storage that's stuck like a thorn in the USB flash drive, than I am with write-protected or read-only because after formatting he can copy a file to it. Since this USB drive isn't completely write-protected, I wouldn't be able to merge my answer to this question into the linked duplicate question. otoh duplicates aren't always commutative anyway.
– karel
Nov 5 '16 at 9:46
1
Possible duplicate of USB flash drive not working or is appearing as an empty disk drive, Disk Management reports "No Media" with 0 bytes size
– bwDraco
Jan 15 '17 at 20:05
add a comment |
The flash drive is 8GB, but showing it's only showing 8MB in file manager.
When I connect it to my PC, I get a message that I must format the flash drive. When I try to format it, I get another message: "Windows can't format".
If I change the allocation unit size to 8096 or 4096 FAT the flash drive is formatted.
When I browse the flash drive, I just see a file in it. Then when I copy a file in it, it's showing more files there.
- I tried to format the flash drive with GParted in Linux .
- I tried to fix write protected.
- I tried to fix it with generic format tools.
- I tried to fix it with diskpart.
but none of my attempts worked.
partitioning usb-flash-drive gparted
The flash drive is 8GB, but showing it's only showing 8MB in file manager.
When I connect it to my PC, I get a message that I must format the flash drive. When I try to format it, I get another message: "Windows can't format".
If I change the allocation unit size to 8096 or 4096 FAT the flash drive is formatted.
When I browse the flash drive, I just see a file in it. Then when I copy a file in it, it's showing more files there.
- I tried to format the flash drive with GParted in Linux .
- I tried to fix write protected.
- I tried to fix it with generic format tools.
- I tried to fix it with diskpart.
but none of my attempts worked.
partitioning usb-flash-drive gparted
partitioning usb-flash-drive gparted
edited Nov 5 '16 at 11:30
karel
9,22793138
9,22793138
asked Nov 5 '16 at 9:06
sajadsajad
1
1
1
Possible duplicate of What can I do if my USB flash drive is write-protected or read-only?
– DavidPostill♦
Nov 5 '16 at 9:31
I'm more concerned with the 8MB of remaining storage that's stuck like a thorn in the USB flash drive, than I am with write-protected or read-only because after formatting he can copy a file to it. Since this USB drive isn't completely write-protected, I wouldn't be able to merge my answer to this question into the linked duplicate question. otoh duplicates aren't always commutative anyway.
– karel
Nov 5 '16 at 9:46
1
Possible duplicate of USB flash drive not working or is appearing as an empty disk drive, Disk Management reports "No Media" with 0 bytes size
– bwDraco
Jan 15 '17 at 20:05
add a comment |
1
Possible duplicate of What can I do if my USB flash drive is write-protected or read-only?
– DavidPostill♦
Nov 5 '16 at 9:31
I'm more concerned with the 8MB of remaining storage that's stuck like a thorn in the USB flash drive, than I am with write-protected or read-only because after formatting he can copy a file to it. Since this USB drive isn't completely write-protected, I wouldn't be able to merge my answer to this question into the linked duplicate question. otoh duplicates aren't always commutative anyway.
– karel
Nov 5 '16 at 9:46
1
Possible duplicate of USB flash drive not working or is appearing as an empty disk drive, Disk Management reports "No Media" with 0 bytes size
– bwDraco
Jan 15 '17 at 20:05
1
1
Possible duplicate of What can I do if my USB flash drive is write-protected or read-only?
– DavidPostill♦
Nov 5 '16 at 9:31
Possible duplicate of What can I do if my USB flash drive is write-protected or read-only?
– DavidPostill♦
Nov 5 '16 at 9:31
I'm more concerned with the 8MB of remaining storage that's stuck like a thorn in the USB flash drive, than I am with write-protected or read-only because after formatting he can copy a file to it. Since this USB drive isn't completely write-protected, I wouldn't be able to merge my answer to this question into the linked duplicate question. otoh duplicates aren't always commutative anyway.
– karel
Nov 5 '16 at 9:46
I'm more concerned with the 8MB of remaining storage that's stuck like a thorn in the USB flash drive, than I am with write-protected or read-only because after formatting he can copy a file to it. Since this USB drive isn't completely write-protected, I wouldn't be able to merge my answer to this question into the linked duplicate question. otoh duplicates aren't always commutative anyway.
– karel
Nov 5 '16 at 9:46
1
1
Possible duplicate of USB flash drive not working or is appearing as an empty disk drive, Disk Management reports "No Media" with 0 bytes size
– bwDraco
Jan 15 '17 at 20:05
Possible duplicate of USB flash drive not working or is appearing as an empty disk drive, Disk Management reports "No Media" with 0 bytes size
– bwDraco
Jan 15 '17 at 20:05
add a comment |
1 Answer
1
active
oldest
votes
These instructions worked for me to reformat an 8GB USB flash drive that was made useless after I used dd
to write a bootable iso file to the flash drive. I reformatted the flash drive to its original FAT32 format as follows:
Remove all of your USB devices except for the 8GB USB pendrive that you want to reformat, so you won't get confused about the device name of the USB pendrive later on.
List all the partitions.
sudo fdisk -l
Search the results of the command for output that looks like this:
Disk /dev/sdc: 7864 MB, 7864320000 bytes
30 heads, 33 sectors/track, 15515 cylinders, total 15360000 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: 0x00016288
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 15359999 7678976 b W95 FAT32
If you see something like
7864 MB
(8GB) in the output (see the example output above), then that is your 8GB USB flash drive. In this example it is called/dev/sdc
. Now open the Disks application from the Dash and check again to make sure that the device name of your 8GB pendrive is the same as what you got from running the command:sudo fdisk -l
.
Create a partition table on the disk of type msdos, sometimes known as Master Boot Record (MBR).
sudo parted /dev/sdc mklabel msdos
In this example I used
/dev/sdc
for the name of the device which is what was found in the results of step 2. I can't stress strongly enough how important it is to verify the device name before running this step!
Warning: If you type the wrong device name you may overwrite your operating system or another one of your partitions containing important personal files!!! So be careful and check the device name a second time. Open the Disks application and check the device name of your 8GB USB flash drive in Disks. It should be the same device name!!! Now check again! You don't want to accidentally type the wrong device name!
Add an empty "primary" partition, which will hold a FAT filesystem later.
sudo parted -a none /dev/sdc mkpart primary fat32 0 8192
Once again in this example I used
/dev/sdc
for the name of the device which is what was found in the results of step 2. The command specifies the start point (from 0 MB) to the end point (8192 MB). If the 8GB USB flash drive does not have the full 8192 MB space, parted will adjust it automatically. If the terminal returns a message that the start point can't start at 0 MB and you have to use some other small number close to 0 MB, type Y to accept this. Note the command is creating a single, primary partition on the whole disk.
This newly created partition will have the ID
/dev/sdc1
. That is because the device name in this example is/dev/sdc
and the 1 at the end is because it is the first partition on that device.
Create a FAT filesystem on the /dev/sdc1 partition by formatting the partition.
mkfs.vfat -n "8GB-USB" /dev/sdc1
/dev/sdc1
is the partition ID from step 4. "8GB-USB" is the partition label, which can be your own choice of label, just enclose the label inside two double quote characters.
You now have a ready-to-use reformatted USB flash drive with an 8GB FAT partition.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1142673%2fcapacity-of-8gb-flash-drive-shown-in-file-manager-is-less-than-the-actual%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
These instructions worked for me to reformat an 8GB USB flash drive that was made useless after I used dd
to write a bootable iso file to the flash drive. I reformatted the flash drive to its original FAT32 format as follows:
Remove all of your USB devices except for the 8GB USB pendrive that you want to reformat, so you won't get confused about the device name of the USB pendrive later on.
List all the partitions.
sudo fdisk -l
Search the results of the command for output that looks like this:
Disk /dev/sdc: 7864 MB, 7864320000 bytes
30 heads, 33 sectors/track, 15515 cylinders, total 15360000 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: 0x00016288
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 15359999 7678976 b W95 FAT32
If you see something like
7864 MB
(8GB) in the output (see the example output above), then that is your 8GB USB flash drive. In this example it is called/dev/sdc
. Now open the Disks application from the Dash and check again to make sure that the device name of your 8GB pendrive is the same as what you got from running the command:sudo fdisk -l
.
Create a partition table on the disk of type msdos, sometimes known as Master Boot Record (MBR).
sudo parted /dev/sdc mklabel msdos
In this example I used
/dev/sdc
for the name of the device which is what was found in the results of step 2. I can't stress strongly enough how important it is to verify the device name before running this step!
Warning: If you type the wrong device name you may overwrite your operating system or another one of your partitions containing important personal files!!! So be careful and check the device name a second time. Open the Disks application and check the device name of your 8GB USB flash drive in Disks. It should be the same device name!!! Now check again! You don't want to accidentally type the wrong device name!
Add an empty "primary" partition, which will hold a FAT filesystem later.
sudo parted -a none /dev/sdc mkpart primary fat32 0 8192
Once again in this example I used
/dev/sdc
for the name of the device which is what was found in the results of step 2. The command specifies the start point (from 0 MB) to the end point (8192 MB). If the 8GB USB flash drive does not have the full 8192 MB space, parted will adjust it automatically. If the terminal returns a message that the start point can't start at 0 MB and you have to use some other small number close to 0 MB, type Y to accept this. Note the command is creating a single, primary partition on the whole disk.
This newly created partition will have the ID
/dev/sdc1
. That is because the device name in this example is/dev/sdc
and the 1 at the end is because it is the first partition on that device.
Create a FAT filesystem on the /dev/sdc1 partition by formatting the partition.
mkfs.vfat -n "8GB-USB" /dev/sdc1
/dev/sdc1
is the partition ID from step 4. "8GB-USB" is the partition label, which can be your own choice of label, just enclose the label inside two double quote characters.
You now have a ready-to-use reformatted USB flash drive with an 8GB FAT partition.
add a comment |
These instructions worked for me to reformat an 8GB USB flash drive that was made useless after I used dd
to write a bootable iso file to the flash drive. I reformatted the flash drive to its original FAT32 format as follows:
Remove all of your USB devices except for the 8GB USB pendrive that you want to reformat, so you won't get confused about the device name of the USB pendrive later on.
List all the partitions.
sudo fdisk -l
Search the results of the command for output that looks like this:
Disk /dev/sdc: 7864 MB, 7864320000 bytes
30 heads, 33 sectors/track, 15515 cylinders, total 15360000 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: 0x00016288
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 15359999 7678976 b W95 FAT32
If you see something like
7864 MB
(8GB) in the output (see the example output above), then that is your 8GB USB flash drive. In this example it is called/dev/sdc
. Now open the Disks application from the Dash and check again to make sure that the device name of your 8GB pendrive is the same as what you got from running the command:sudo fdisk -l
.
Create a partition table on the disk of type msdos, sometimes known as Master Boot Record (MBR).
sudo parted /dev/sdc mklabel msdos
In this example I used
/dev/sdc
for the name of the device which is what was found in the results of step 2. I can't stress strongly enough how important it is to verify the device name before running this step!
Warning: If you type the wrong device name you may overwrite your operating system or another one of your partitions containing important personal files!!! So be careful and check the device name a second time. Open the Disks application and check the device name of your 8GB USB flash drive in Disks. It should be the same device name!!! Now check again! You don't want to accidentally type the wrong device name!
Add an empty "primary" partition, which will hold a FAT filesystem later.
sudo parted -a none /dev/sdc mkpart primary fat32 0 8192
Once again in this example I used
/dev/sdc
for the name of the device which is what was found in the results of step 2. The command specifies the start point (from 0 MB) to the end point (8192 MB). If the 8GB USB flash drive does not have the full 8192 MB space, parted will adjust it automatically. If the terminal returns a message that the start point can't start at 0 MB and you have to use some other small number close to 0 MB, type Y to accept this. Note the command is creating a single, primary partition on the whole disk.
This newly created partition will have the ID
/dev/sdc1
. That is because the device name in this example is/dev/sdc
and the 1 at the end is because it is the first partition on that device.
Create a FAT filesystem on the /dev/sdc1 partition by formatting the partition.
mkfs.vfat -n "8GB-USB" /dev/sdc1
/dev/sdc1
is the partition ID from step 4. "8GB-USB" is the partition label, which can be your own choice of label, just enclose the label inside two double quote characters.
You now have a ready-to-use reformatted USB flash drive with an 8GB FAT partition.
add a comment |
These instructions worked for me to reformat an 8GB USB flash drive that was made useless after I used dd
to write a bootable iso file to the flash drive. I reformatted the flash drive to its original FAT32 format as follows:
Remove all of your USB devices except for the 8GB USB pendrive that you want to reformat, so you won't get confused about the device name of the USB pendrive later on.
List all the partitions.
sudo fdisk -l
Search the results of the command for output that looks like this:
Disk /dev/sdc: 7864 MB, 7864320000 bytes
30 heads, 33 sectors/track, 15515 cylinders, total 15360000 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: 0x00016288
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 15359999 7678976 b W95 FAT32
If you see something like
7864 MB
(8GB) in the output (see the example output above), then that is your 8GB USB flash drive. In this example it is called/dev/sdc
. Now open the Disks application from the Dash and check again to make sure that the device name of your 8GB pendrive is the same as what you got from running the command:sudo fdisk -l
.
Create a partition table on the disk of type msdos, sometimes known as Master Boot Record (MBR).
sudo parted /dev/sdc mklabel msdos
In this example I used
/dev/sdc
for the name of the device which is what was found in the results of step 2. I can't stress strongly enough how important it is to verify the device name before running this step!
Warning: If you type the wrong device name you may overwrite your operating system or another one of your partitions containing important personal files!!! So be careful and check the device name a second time. Open the Disks application and check the device name of your 8GB USB flash drive in Disks. It should be the same device name!!! Now check again! You don't want to accidentally type the wrong device name!
Add an empty "primary" partition, which will hold a FAT filesystem later.
sudo parted -a none /dev/sdc mkpart primary fat32 0 8192
Once again in this example I used
/dev/sdc
for the name of the device which is what was found in the results of step 2. The command specifies the start point (from 0 MB) to the end point (8192 MB). If the 8GB USB flash drive does not have the full 8192 MB space, parted will adjust it automatically. If the terminal returns a message that the start point can't start at 0 MB and you have to use some other small number close to 0 MB, type Y to accept this. Note the command is creating a single, primary partition on the whole disk.
This newly created partition will have the ID
/dev/sdc1
. That is because the device name in this example is/dev/sdc
and the 1 at the end is because it is the first partition on that device.
Create a FAT filesystem on the /dev/sdc1 partition by formatting the partition.
mkfs.vfat -n "8GB-USB" /dev/sdc1
/dev/sdc1
is the partition ID from step 4. "8GB-USB" is the partition label, which can be your own choice of label, just enclose the label inside two double quote characters.
You now have a ready-to-use reformatted USB flash drive with an 8GB FAT partition.
These instructions worked for me to reformat an 8GB USB flash drive that was made useless after I used dd
to write a bootable iso file to the flash drive. I reformatted the flash drive to its original FAT32 format as follows:
Remove all of your USB devices except for the 8GB USB pendrive that you want to reformat, so you won't get confused about the device name of the USB pendrive later on.
List all the partitions.
sudo fdisk -l
Search the results of the command for output that looks like this:
Disk /dev/sdc: 7864 MB, 7864320000 bytes
30 heads, 33 sectors/track, 15515 cylinders, total 15360000 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: 0x00016288
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 15359999 7678976 b W95 FAT32
If you see something like
7864 MB
(8GB) in the output (see the example output above), then that is your 8GB USB flash drive. In this example it is called/dev/sdc
. Now open the Disks application from the Dash and check again to make sure that the device name of your 8GB pendrive is the same as what you got from running the command:sudo fdisk -l
.
Create a partition table on the disk of type msdos, sometimes known as Master Boot Record (MBR).
sudo parted /dev/sdc mklabel msdos
In this example I used
/dev/sdc
for the name of the device which is what was found in the results of step 2. I can't stress strongly enough how important it is to verify the device name before running this step!
Warning: If you type the wrong device name you may overwrite your operating system or another one of your partitions containing important personal files!!! So be careful and check the device name a second time. Open the Disks application and check the device name of your 8GB USB flash drive in Disks. It should be the same device name!!! Now check again! You don't want to accidentally type the wrong device name!
Add an empty "primary" partition, which will hold a FAT filesystem later.
sudo parted -a none /dev/sdc mkpart primary fat32 0 8192
Once again in this example I used
/dev/sdc
for the name of the device which is what was found in the results of step 2. The command specifies the start point (from 0 MB) to the end point (8192 MB). If the 8GB USB flash drive does not have the full 8192 MB space, parted will adjust it automatically. If the terminal returns a message that the start point can't start at 0 MB and you have to use some other small number close to 0 MB, type Y to accept this. Note the command is creating a single, primary partition on the whole disk.
This newly created partition will have the ID
/dev/sdc1
. That is because the device name in this example is/dev/sdc
and the 1 at the end is because it is the first partition on that device.
Create a FAT filesystem on the /dev/sdc1 partition by formatting the partition.
mkfs.vfat -n "8GB-USB" /dev/sdc1
/dev/sdc1
is the partition ID from step 4. "8GB-USB" is the partition label, which can be your own choice of label, just enclose the label inside two double quote characters.
You now have a ready-to-use reformatted USB flash drive with an 8GB FAT partition.
edited Jan 12 at 19:57
answered Nov 5 '16 at 9:22
karelkarel
9,22793138
9,22793138
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1142673%2fcapacity-of-8gb-flash-drive-shown-in-file-manager-is-less-than-the-actual%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Possible duplicate of What can I do if my USB flash drive is write-protected or read-only?
– DavidPostill♦
Nov 5 '16 at 9:31
I'm more concerned with the 8MB of remaining storage that's stuck like a thorn in the USB flash drive, than I am with write-protected or read-only because after formatting he can copy a file to it. Since this USB drive isn't completely write-protected, I wouldn't be able to merge my answer to this question into the linked duplicate question. otoh duplicates aren't always commutative anyway.
– karel
Nov 5 '16 at 9:46
1
Possible duplicate of USB flash drive not working or is appearing as an empty disk drive, Disk Management reports "No Media" with 0 bytes size
– bwDraco
Jan 15 '17 at 20:05