A free software system like Ubuntu has many advantages over its closed competitors because it allows all kinds of actions to be carried out with commands. One of them even allows you to fix faulty devices, so with that in mind today you will learn how to repair a damaged or unreadable USB memory using Ubuntu and Gparted.
If you have seen the title and thought that it is crazy to repair a USB directly from an operating system, then you have probably never used Linux because it is open-, it gives certain facilities to its users so that they can edit things that allow them to create new tools from scratch.
Repair a corrupted or unreadable USB stick using Ubuntu and Gparted
To get straight to the point and start the process that will help you repair a damaged or unreadable USB memory using Ubuntu and Gparted, you obviously have to install Gparted on your PC if you haven’t downloaded it yet.
You will achieve this by opening your command window in the menu and entering the following: Sudo apt-get install GParted, this action will immediately install the program, once the process finishes you will be able to use it without any limitation.
Now to begin the USB repair process, you must put this USB into one of the ports that you have available (make sure it is working perfectly since you cannot disconnect the memory until the process is finished).
Once it is connected, the Gparted will recognize it immediately, so the next step will be to open the program, then you will have to stand over the button that has the same name as the application (it is in the menu above), and click on ” Refresh devices ”, so that the USB appears that way.
Format or resize
When your memory has been loaded into the program, you will notice that the amount of GB it has appeared, and also a small section where there are a few MB (that is the firmware information), in case that information does not come out. , then you will not be able to repair the USB (usually happens with 8 or 128 GB memory).
If you get it, then proceed to click on the option with more memory, which will show several elements in a list, select “Delete” to format it, and if it doesn’t let you do that, then click on “Resize/Move”.
That will let you partition the device so that you can shrink the USB to the space that is considered real. If your memory is 64 then create a partition of 8, if it is 32 make it 4 (if it is some other then you can search the web for what the value would be).
In order to create this partition, you only have to lower the amount of memory in the “New size” field with the bar that appears in the “Resize” section. When finished, just press “Resize/Move” to confirm and that’s it. If you want, you can try to repair the memory card without formatting, it may be a process, but maybe you will succeed.
Where to direct memory
With the above, you are just a few steps away from finishing the process that will help you answer the question How to repair a damaged or unreadable USB memory using Ubuntu and Gparted? , the next thing you should do is direct the memory where you want.
For that, click again on the section of your USB, but this time press the option “Format to”, there you will get a list of places that you can select, the recommended thing is to press “FAT32” if the destination of the USB is mobile and “NFTS” if you use it on a computer.
Having chosen one, the process will be complete and it is most likely that the USB can already be used, so the question How to repair a damaged or unreadable USB memory using Ubuntu and Gparted? , has finally been answered.
But before finishing, I tell you that if you want to force format the USB, you could also try it. And, if you finally can’t fix it, you can try to recover RAW formatted USB files.