banner



How To Create A Usb System Repair Disc Win 10

Easily Restore a USB Flash Drive back to full capacity; After having tooled around with a USB Linux version using your dd raw image overwritten or multi partitioned flash drive, you might find it necessary to revert it back to a single Fat, Fat32, exFAT or NTFS partition. Essentially recovering or restoring the USB Flash Drive back to its original state. This allows the storage device to be detected, readable, and useable again by all computers.

You might find it necessary to restore a USB after working with tools such as Etcher to burn an ISO or Win32 Disk Imager to write an image. Depending on the file used, these tools can make your USB device appear corrupted or unreadable. In some cases, the flash drive might not be assigned a drive letter and the USB not detected by your Computer. This is because these tools use raw-write style dd tasks to put an .img or .iso file on a USB flash drive. As a result, the existing boot record, partition table data, and filesystem is overwritten with that of the raw image file.

Windows users can follow the instructions below to Repair or Restore a Flash Drive using Diskpart, BOOTICE, or the SD Formatter. Mac OS users should also be able to use the SD tool. For those working from Linux this task can easily be accomplished via fdisk. As shown in the related the Linux Flash Drive Restoration tutorial.

Easily Restore a USB Flash Drive from Windows, Linux, or Mac

How to Restore a USB Flash Drive using Diskpart in Windows

  1. Open a command Prompt as administrator (cmd.exe).
  2. Type Diskpart then press enter.
  3. Next type List Disk then press enter.
  4. Type Select Disk X  (where X is the disk number of your USB drive) then press enter.
  5. Then type Clean and press enter.
  6. Next type Create Partition Primary then press enter.
  7. Type Format fs=exFAT Quick then press enter.
    Note : (for 32GB and smaller drives, use fs= Fat32 ) instead.
  8. Then type Active and press enter.
  9. Finally, type Exit then press enter to Quit.

DiskPart - Recover and Restore USB Flash Drive

Restore a USB with SD Formatter Tool – Windows/Mac OS

Windows and or Mac OS users can also use the SD Formatter Tool to reformat and restore a USB to its original state.

Though originally designed to be used on SD cards, this tool can be used to reformat a flash drive as well.

  1. Download and launch the SD Formatter Tool.
  2. Select your flash drive from the drop list.
  3. Choose your Formatting Option.
  4. Then Press Format.

Use SD Formatter to Recover and Restore USB Flash Drive

Restoring a USB key to its original state using Linux

The following manual tasks to restore a USB drive can be performed from a Linux terminal window.

A. First we need to delete the old partitions that remain on the USB key.

  1. Open a terminal ctrl+alt+t and type sudo su.
  2. Type fdisk -l and note your USB drive letter.
  3. Then type fdisk /dev/sdx (replacing x with your drive letter).
  4. Next type d to proceed to delete a partition.
  5. Type 1 to select the 1st partition then press enter.
  6. Then type d to proceed to delete another partition, if necessary. (fdisk should automatically select the second partition).

B. Next we need to create the new partition.

  1. Type n to make a new partition.
  2. Then type p to make this partition primary then press enter.
  3. Type 1 to make this the first partition then press enter.
  4. Next press enter to accept the default first sector.
  5. Press enter again to accept the default last sector.
  6. Type w to write the new partition information to the USB key.
  7. Type umount /dev/sdx1 (replacing x with your drive letter).

C. The last step is to create the fat32 or exFAT filesystem.

  1. For Fat32, type mkfs.vfat -F 32 /dev/sdx1 (replacing x with your drive letter)
  2. For exFAT, (if using Ubuntu or Debian), type apt install exfat-utils and then type mkfs.exfat /dev/sdx1 (replacing x with your drive letter)

That's all there is to it, you should now have a restored USB key with a single exFAT or fat 32 formatted partition that can be read from any computer.

There you have it. Several methods to help you restore a USB flash drive back to original state with full capacity.

Recover a Corrupted USB Flash Drive or SD Card with dd

Note : USB not detected? If none of the options mentioned above worked to help you restore a USB. Or if you need to recover from a corrupted USB flash drive or SD card. Here is a last resort you can try before tossing your drive or sd card into the trash. Windows users need to download dd.exe to follow along.

  1. Open up a terminal (or command prompt in Windows)
  2. Next, we will wipe out the partition table and leading filesystem information.
    For Windows users using dd.exe. Replacing X with your actual USB drive letter, type the following and then press enter;
    dd if=/dev/zero od=                      X                    : count=1 bs=4096 --progress

    If that fails, try the following, instead. Replacing 1 with your disk number which can be found by running diskmgmt.msc

    dd if=/dev/zero of=\\?\Device\Harddisk1\Partition0 count=1 bs=4096 --progress

    For Linux users. Replacing X with your actual USB device, type the following and then press enter;

    dd if=/dev/zero of=/dev/sd                      X                                        count=1 bs=4096 status=progress
  3. Then try to format your USB Flash Drive using any method you want.

Note: You can also Recover Lost USB Storage Space. This is especially useful if you've used dd to raw write an ISO image to your USB, and now the device appears smaller than its original capacity and is no longer usable for traditional storage purposes.

How To Create A Usb System Repair Disc Win 10

Source: https://www.pendrivelinux.com/restoring-your-usb-key-partition/

Posted by: trempermorstraut.blogspot.com

0 Response to "How To Create A Usb System Repair Disc Win 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel