This story starts with me taking my USB stick to work
and unplugging it by accident in the middle of a file transfer.
The USB stopped working completely, now I have Linux Ubuntu on my Laptop at home
So I tried messing around with Gparted and Fdisk and all it did
Was making my USB stick be partition less and 8 MB instead of 2GB
So instead of creating more havoc, I ask kindly for help.
I tried going to fdisk /dev/sdb
and inside there were no partitions, added a new one
but that didn't really do anything, /dev/sdb1 was none-existent..
| |||
|
feedback
|
|
I had a similar problem. For some reason QTParted was able to fix it while GParted was not able to. | |||
|
feedback
|
|
OK, when you connect the device are you sure the system is reading the USB stick at all? Try a
after you have attached the device and make sure you use the device that was listed in dmesg. If you are ok with erasing everything on the device (I assume you are) I would just
with ? being the letter for the USB device. This will write a bunch of zeros to the entire flash drive, erasing everything on it. from there you should be able to fdisk or gparted into it and create a new partition. Another question for you. Was the device first formatted with at FAT filesystem? If so it might have been marked as dirty and you would have needed to run fsck.vfat on the unmounted device or chkdsk.exe (from windows). Let me know if you still can not get it working. | |||||
feedback
|
|
Making a new partition table is not enough, you have to format the partition with a file system. I usually use cfdisk instead of fdisk since it is a bit more user friendly. | |||
|
feedback
|