Pendrive Repair using mkusb

I Recently got this new error on my sandisk cruzer 32gb. It was in read only mode no matter what i tried. See the error message below.

`Error deleting partition /dev/sdd2: Command-line `parted --script "/dev/sdd" "rm 2"' exited with non-zero exit status 1: Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
(udisks-error-quark, 0)

The problem was caused by a low-level device tool (like dd) writing blocks at the wrong size directly onto the device.

To fix this, you need to re-write the device blocks to the appropriate size. This can be done with dd. Double check your output device before running the command

sudo dd if=/dev/zero of=/dev/sdd bs=2048 count=32

This is one way to do it but dd is dangerous in all s

The problem is that dd is a very powerful but also very dangerous tool. It works well to wipe the first part of a USB drive in order to remove any data, that might confuse the tool that you want to use. But dd does what you tell it to do without questions, so if you tell it to wipe your pendrive … and a minor typing error is enough to overwrite another drive instead of the USB drive, that you intended to overwrite.

So, here i introduce you the mkusb. mkusb wraps a safety belt around dd. It provides a graphical user interface with checkpoints to help you identify the target drive and double-check that you are wiping the correct drive.

Step 1: Install mkusb from this link.

Step 2: Launch mkusb and it will ask this first. Click yes to go with dus.

Step 3: Provide admin password to proceed.

Step 4: Click OK to continue and understand the warning.

Step 5: Select s – restore to a standard storage device and press OK

Step 6: Make sure it the correct drive, then press OK. if not sure Quit.

Step 7: Now provide any label for the drive. Press OK.

Step 8: Read the details and if you are sure, select Go. Press Go. This will solve most of the problems. My problem got solved by this.

Step 9: If for some reason it doesn’t, there are other options to try. select w – Wipe a device (drive) option and click OK.

Step 10: There are menu options to wipe the first megabyte (actually mibibyte), which is usually enough, or the whole drive, which is a slow process, and useful only in special cases, for example when a pendrive is getting slow (for example less than half of the original speed.)

Rest of the steps are same. I hope it works for you. Let me know if it does !

cheers 🙂

Join the Discussion

Blog at WordPress.com.

Up ↑