https://github.com/akotov-dev/usbrestore
Restoring the factory settings of USB flash drives
https://github.com/akotov-dev/usbrestore
flashdrive mageia-linux ubuntu utility
Last synced: 5 months ago
JSON representation
Restoring the factory settings of USB flash drives
- Host: GitHub
- URL: https://github.com/akotov-dev/usbrestore
- Owner: AKotov-dev
- License: gpl-3.0
- Created: 2022-04-25T17:13:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-10-28T18:16:04.000Z (8 months ago)
- Last Synced: 2025-10-28T18:33:48.064Z (8 months ago)
- Topics: flashdrive, mageia-linux, ubuntu, utility
- Language: Pascal
- Homepage:
- Size: 57.7 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# USBRestore
**Restoring the factory settings of USB flash drives**
**Dependencies:** util-linux parted dosfstools gtk2 (libgtk2.0-0 for Ubuntu)
If earlier ISO installation images were recorded on the USB flash drive, for example, through Rufus programs (GPT/EFI/Windows), or the GRUB bootloader was installed, there may be problems with the USB flash drive in the future: all of the above is not deleted even after formatting. Therefore, the flash drive may not load in televisions, set-top boxes, etc. All these devices, like the MgaRemix bootloader, require the use of native/factory flash drive parameters: dos partition, FAT32 file system.
To bring the flash drive to normal, factory parameters, a USBRestore was created. He does a forced "resuscitation" and removes all unnecessary things from the flash drive by pressing one button, returning it to the "from the store" state:
1. Clears the partition table
2. Marks the dos partition
3. Creates a FAT32 partition
4. Formats the partition labeled USBDRIVE
5. Checks the section for errors with correction
Be careful when choosing a device from the list! The program itself determines removable devices, but their variety is great, so pay attention to the capacity (G), i.e. Gigabytes, when working.
