Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to restore a damaged USB device to its initial state on Linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to restore a damaged USB device to the initial state on Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!

In many cases, our storage devices such as SD cards and USB drives may be damaged and cannot be used for this or other reasons.

This may be because using this device to create a boot media or formatting through the wrong platform or creating a new partition on this device.

Restore the damaged USB device to its initial state

Linux system disk Manager

Warning: the next action will format all the data on your device.

Whatever the reasons mentioned above, the end result is that we can no longer use this device.

So here is a way to restore the USB device or SD card to the factory state.

Most of the time, a simple formatting through a file browser can solve the problem, but in some extreme cases, such as when the file manager doesn't work and you need your device to continue to work, you can use the following instructions:

We will use a gadget called mkusb to achieve our goal, which is very easy to install.

Add mkusb's warehouse:

Sudo apt add repository ppa:mkusb/ppa

Now update your package list:

Sudo apt-get update

Install `mkusb:

Sudo apt-get install mkusb

Now run mkusb and you will see this prompt, click 'Yes'.

Run mkusb dus

Now mkusb will ask you once if you want to continue formatting your data, 'Stop' is selected by default, you now select' Go' 'and click' OK'.

Linux mkusb

The window will close and your terminal will look like this.

Mkusb usb console

In a few seconds, the whole process will be completed, and you will see a pop-up window like this.

Recover damaged USB Devic

You now need to push your device out of the system and then plug it back in. Your device will be restored to a normal device and will be able to work as before.

Linux disk Manager

What we are doing now could have been done through terminal commands or gparted or other software, but that will require some knowledge of partition management.

So it's always a good thing to have a gadget like this that automatically solves a single problem.

The above is all the contents of the article "how to restore a damaged USB device to its initial state on Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report