Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
Will not respond to PM requests for support -- use the forums.
Either the pendrive is failing (which is rather common with such devices), or the partition table and other general information is bad. In the latter case it might help to wipe the first megabyte (not only the first 512 bytes). This can be done directly with dd as adviced by oldfred (but slightly modified),
or safer with mkusb according to this linkCode:dd if=/dev/zero of=/dev/sdX bs=1024 count=1024
Ubuntu Forums tutorial "Howto make USB boot drives"
If you need a new USB pendrive, you find general information at these links
https://help.ubuntu.com/community/In...n/FromUSBStick
See posts #6 and #7 in Howto help USB boot drives
Oh sorry didn't notice his question. Here we go: http://i.imgur.com/hffJd0d.png
I tried that command, but still, I gparted says "File system unallocated".
When I try to create new file system it says "No partition table found on device /dev/sdb".
If I want to create new partition table (msdos) it says: "Libparted bug found! Input/output error during write on /dev/sdb"
I think you have done what is possible with gparted now. It seems that gparted cannot write to that device. But you can still see it as /dev/sdb (as read only). It is typical of a failing flash drive (it remains read-only after writing does not work. The next step is that it cannot be read either).
But the problem might also be co-operation with that particular USB port or with the computer, so try in another USB port and try in another computer, if you are able to create a partition table and make a file system ('format' it).
If you use the dd procedure to create an Intaller, it does not use standard partition table like all the other methods. And then because partition table does not exist partition tools see random data or think it is corrupted.
Sometimes then just writing 0 to MBR to totally erase boot loader and partition table info works.
Do not use this if trying to recover any data from old partitions on flash drive.
Erase - Make double sure you have correct drive & partition, Change X to correct drive.
sudo fdisk -l
dd if=/dev/zero of=/dev/sdX bs=512 count=1
UEFI boot install & repair info - Regularly Updated :
https://ubuntuforums.org/showthread.php?t=2147295
Please use Thread Tools above first post to change to [Solved] when/if answered completely.
As posted before, it just may be dead. They do not last a long time and may just fail at anytime.
UEFI boot install & repair info - Regularly Updated :
https://ubuntuforums.org/showthread.php?t=2147295
Please use Thread Tools above first post to change to [Solved] when/if answered completely.
I have been doing such operations (with gparted, dd, etc) thousands times. They do not destroy the drive. They may destroy data by overwriting the partition table or (parts of) some partition, but the drive itself survives. As said before, pendrives have limited lifetime, and this one just happened to die while you were running these commands.
-o-
This is what I think; it is hard to be sure when I cannot run the different operations myself. We have to rely on verbal conversation, and we might misunderstand each other.
Bookmarks