0

So i have an 8gb usb flash drive and when i try to create a partition in it on Disks but it says: "Error creating partition on /dev/SDB: Failed to meet partition size on device '/dev/SDB'(u disks-error-quack-error-quack, 0).Now the thing is when i go on GParted it says that my usb is 965,80 mb but its 8gb . I dont know what to do . Also when i try to format it using terminal commands nothing happens.Nothing changes . I type : "sudo mkfs.vfat /dev/sdb1" , the command doesn't give me an error but it doesn't do anything. Please i need help. I think there is a problem and the os things its a 1gb usb or i changed something accidentally and I don't know how to fix it .

9
  • Start by showing us the screenshot from GParted, and the output of sudo fdisk -l when the device is connected Apr 13, 2021 at 17:45
  • The usb doesnt even appear Apr 13, 2021 at 17:53
  • That sounds a lot more like the USB stick has died and is broken - that's a hardware failure in the stick and not something we can fix. Apr 13, 2021 at 18:18
  • But when i connected it on my phone using an OTG it worked fine . Apr 13, 2021 at 18:23
  • I tested it by adding files in it plugging it out and in the computer . Nothing happened on the computer but the file was still there on my phone. Apr 13, 2021 at 18:27

1 Answer 1

0

Try to erase the MBR of your USB disk:

dd if=/dev/zero of=/dev/sda bs=512 count=1
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.