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 .
1 Answer
Try to erase the MBR of your USB disk:
dd if=/dev/zero of=/dev/sda bs=512 count=1
sudo fdisk -l
when the device is connected