Formatting USB stick with fdisk - negative used space?How to force drop all partitions and erase disk from...
Do manufacturers try make their components as close to ideal ones as possible?
Company is asking me to work from overseas, but wants me to take a paycut
How were concentration and extermination camp guards recruited?
Short story written from alien perspective with this line: "It's too bright to look at, so they don't"
Count down from 0 to 5 seconds and repeat
Convert camelCase and PascalCase to Title Case
Linux tr to convert vertical text to horizontal
How certain is a caster of when their spell will end?
Is there any rule preventing me from starting multiple bardic performances in a single round?
What do we gain with higher order logics?
I wrote a scene that the majority of my readers loved. How do I get back to that place while writing my new book?
Applicants clearly not having the skills they advertise
What are the words for people who cause trouble believing they know better?
Is it possible for people to live in the eye of a permanent hypercane?
Working in the USA for living expenses only; allowed on VWP?
Credit card offering 0.5 miles for every cent rounded up. Too good to be true?
Comma Code - Ch. 4 Automate the Boring Stuff
If Boris Johnson were prosecuted and convicted of lying about Brexit, can that be used to cancel Brexit?
How to split a string in two substrings of same length using bash?
Building a road to escape Earth's gravity by making a pyramid on Antartica
How bad would a partial hash leak be, realistically?
What was the point of getting this item into the Quantum Tunnel?
How to make thick Asian sauces?
What happens to foam insulation board after you pour concrete slab?
Formatting USB stick with fdisk - negative used space?
How to force drop all partitions and erase disk from terminal?Recover Linux ext4 partition formatted to hfs+Two fdisks seeing different MBRs on same external drive (OpenBSD 4.2/5.5)Understanding syslinux and partitioningpendrivelinux install on usb stick - only uses 5.8GB of a 14.7GB usb stickUSB key not readable by a certain device when formatted using fdiskCan I repair a HFS+ volume if the files were unreadable after “Easus Recovery Wizard” recovery? Testdisk & Diskutil info belowLive/bootable Kali linux from partitioned USB Hard Drive (Mac/OS X)?Restore DD Image of Bootcamp Windows to OSXI have killed my HDD
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I formatted a USB drive using fdisk, and created three partitions. Everything seems to work fine, but Disk Utility is showing a negative amount of used space for all partitions:
Partition | Capacity | Available | Used | File system
Partition 1 | 5,12 GB | 5,46 GB | -340,8 MB | FAT32
Partition 2 | 12,29 GB | 12,63 GB | -346,2 MB | ExFAT
Partition 3 | 45,33 GB | 45,53 GB | -195,3 MB | HFS+
The drive has a MBR partition table. Switching to GUID is not an option unfortunately.
Is this normal? What can I do to fix this?
Here's a screenshot from fdisk:

Thanks in advance!
Edit: Disk Utility also shows an incorrect file count on two of the partitions (P1: 0 files, P2: 374.904 files, P3: 11.068.054 files). All partitions actually contain 0 files.
osx usb-drive fdisk
add a comment |
I formatted a USB drive using fdisk, and created three partitions. Everything seems to work fine, but Disk Utility is showing a negative amount of used space for all partitions:
Partition | Capacity | Available | Used | File system
Partition 1 | 5,12 GB | 5,46 GB | -340,8 MB | FAT32
Partition 2 | 12,29 GB | 12,63 GB | -346,2 MB | ExFAT
Partition 3 | 45,33 GB | 45,53 GB | -195,3 MB | HFS+
The drive has a MBR partition table. Switching to GUID is not an option unfortunately.
Is this normal? What can I do to fix this?
Here's a screenshot from fdisk:

Thanks in advance!
Edit: Disk Utility also shows an incorrect file count on two of the partitions (P1: 0 files, P2: 374.904 files, P3: 11.068.054 files). All partitions actually contain 0 files.
osx usb-drive fdisk
add a comment |
I formatted a USB drive using fdisk, and created three partitions. Everything seems to work fine, but Disk Utility is showing a negative amount of used space for all partitions:
Partition | Capacity | Available | Used | File system
Partition 1 | 5,12 GB | 5,46 GB | -340,8 MB | FAT32
Partition 2 | 12,29 GB | 12,63 GB | -346,2 MB | ExFAT
Partition 3 | 45,33 GB | 45,53 GB | -195,3 MB | HFS+
The drive has a MBR partition table. Switching to GUID is not an option unfortunately.
Is this normal? What can I do to fix this?
Here's a screenshot from fdisk:

Thanks in advance!
Edit: Disk Utility also shows an incorrect file count on two of the partitions (P1: 0 files, P2: 374.904 files, P3: 11.068.054 files). All partitions actually contain 0 files.
osx usb-drive fdisk
I formatted a USB drive using fdisk, and created three partitions. Everything seems to work fine, but Disk Utility is showing a negative amount of used space for all partitions:
Partition | Capacity | Available | Used | File system
Partition 1 | 5,12 GB | 5,46 GB | -340,8 MB | FAT32
Partition 2 | 12,29 GB | 12,63 GB | -346,2 MB | ExFAT
Partition 3 | 45,33 GB | 45,53 GB | -195,3 MB | HFS+
The drive has a MBR partition table. Switching to GUID is not an option unfortunately.
Is this normal? What can I do to fix this?
Here's a screenshot from fdisk:

Thanks in advance!
Edit: Disk Utility also shows an incorrect file count on two of the partitions (P1: 0 files, P2: 374.904 files, P3: 11.068.054 files). All partitions actually contain 0 files.
osx usb-drive fdisk
osx usb-drive fdisk
edited Nov 4 '15 at 18:32
SomeDude
asked Nov 4 '15 at 16:15
SomeDudeSomeDude
1013
1013
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Apparently it's just a bug in Disk Utility. I re-formatted the stick using multiple other computers, and Disk Utility still displays a negative amount of used space.
I also checked the stick using multiple computers & programs, there are no errors.
Disk Utility is wrong.
add a comment |
I had the same problem after formatting a 8GB pendrive as FAT32 using Disk Utility.
After formatting it was displaying -194MB and would format to any other format after that.
I was able to recover it using the Terminal and the diskutil tool.
First list the current volumes
$ diskutil list
Then format your USB volume
$ sudo diskutil eraseDisk FAT32 MYSD MBRFormat /dev/YourDiskVolume
Here is the output
~ $ sudo diskutil eraseDisk FAT32 USB MBRFormat /dev/disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s1 as MS-DOS (FAT32) with name USB
512 bytes per physical sector
/dev/rdisk2s1: 15602896 sectors in 1950362 FAT32 clusters (4096 bytes/cluster)
bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=2 drv=0x80 bsec=15633406 bspf=15238 rdcl=2 infs=1 bkbs=6
Mounting disk
Finished erase on disk2
This article was helpful.
New contributor
rbento is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f240788%2fformatting-usb-stick-with-fdisk-negative-used-space%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Apparently it's just a bug in Disk Utility. I re-formatted the stick using multiple other computers, and Disk Utility still displays a negative amount of used space.
I also checked the stick using multiple computers & programs, there are no errors.
Disk Utility is wrong.
add a comment |
Apparently it's just a bug in Disk Utility. I re-formatted the stick using multiple other computers, and Disk Utility still displays a negative amount of used space.
I also checked the stick using multiple computers & programs, there are no errors.
Disk Utility is wrong.
add a comment |
Apparently it's just a bug in Disk Utility. I re-formatted the stick using multiple other computers, and Disk Utility still displays a negative amount of used space.
I also checked the stick using multiple computers & programs, there are no errors.
Disk Utility is wrong.
Apparently it's just a bug in Disk Utility. I re-formatted the stick using multiple other computers, and Disk Utility still displays a negative amount of used space.
I also checked the stick using multiple computers & programs, there are no errors.
Disk Utility is wrong.
answered Nov 5 '15 at 7:42
SomeDudeSomeDude
1013
1013
add a comment |
add a comment |
I had the same problem after formatting a 8GB pendrive as FAT32 using Disk Utility.
After formatting it was displaying -194MB and would format to any other format after that.
I was able to recover it using the Terminal and the diskutil tool.
First list the current volumes
$ diskutil list
Then format your USB volume
$ sudo diskutil eraseDisk FAT32 MYSD MBRFormat /dev/YourDiskVolume
Here is the output
~ $ sudo diskutil eraseDisk FAT32 USB MBRFormat /dev/disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s1 as MS-DOS (FAT32) with name USB
512 bytes per physical sector
/dev/rdisk2s1: 15602896 sectors in 1950362 FAT32 clusters (4096 bytes/cluster)
bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=2 drv=0x80 bsec=15633406 bspf=15238 rdcl=2 infs=1 bkbs=6
Mounting disk
Finished erase on disk2
This article was helpful.
New contributor
rbento is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I had the same problem after formatting a 8GB pendrive as FAT32 using Disk Utility.
After formatting it was displaying -194MB and would format to any other format after that.
I was able to recover it using the Terminal and the diskutil tool.
First list the current volumes
$ diskutil list
Then format your USB volume
$ sudo diskutil eraseDisk FAT32 MYSD MBRFormat /dev/YourDiskVolume
Here is the output
~ $ sudo diskutil eraseDisk FAT32 USB MBRFormat /dev/disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s1 as MS-DOS (FAT32) with name USB
512 bytes per physical sector
/dev/rdisk2s1: 15602896 sectors in 1950362 FAT32 clusters (4096 bytes/cluster)
bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=2 drv=0x80 bsec=15633406 bspf=15238 rdcl=2 infs=1 bkbs=6
Mounting disk
Finished erase on disk2
This article was helpful.
New contributor
rbento is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I had the same problem after formatting a 8GB pendrive as FAT32 using Disk Utility.
After formatting it was displaying -194MB and would format to any other format after that.
I was able to recover it using the Terminal and the diskutil tool.
First list the current volumes
$ diskutil list
Then format your USB volume
$ sudo diskutil eraseDisk FAT32 MYSD MBRFormat /dev/YourDiskVolume
Here is the output
~ $ sudo diskutil eraseDisk FAT32 USB MBRFormat /dev/disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s1 as MS-DOS (FAT32) with name USB
512 bytes per physical sector
/dev/rdisk2s1: 15602896 sectors in 1950362 FAT32 clusters (4096 bytes/cluster)
bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=2 drv=0x80 bsec=15633406 bspf=15238 rdcl=2 infs=1 bkbs=6
Mounting disk
Finished erase on disk2
This article was helpful.
New contributor
rbento is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I had the same problem after formatting a 8GB pendrive as FAT32 using Disk Utility.
After formatting it was displaying -194MB and would format to any other format after that.
I was able to recover it using the Terminal and the diskutil tool.
First list the current volumes
$ diskutil list
Then format your USB volume
$ sudo diskutil eraseDisk FAT32 MYSD MBRFormat /dev/YourDiskVolume
Here is the output
~ $ sudo diskutil eraseDisk FAT32 USB MBRFormat /dev/disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s1 as MS-DOS (FAT32) with name USB
512 bytes per physical sector
/dev/rdisk2s1: 15602896 sectors in 1950362 FAT32 clusters (4096 bytes/cluster)
bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=2 drv=0x80 bsec=15633406 bspf=15238 rdcl=2 infs=1 bkbs=6
Mounting disk
Finished erase on disk2
This article was helpful.
New contributor
rbento is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
rbento is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 29 mins ago
rbentorbento
1011
1011
New contributor
rbento is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
rbento is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f240788%2fformatting-usb-stick-with-fdisk-negative-used-space%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