How to recover a corrupt USB stick [SOLVED - sort of: it's beyond rescue]

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
br1anstorm
Level 5
Level 5
Posts: 602
Joined: Mon Nov 24, 2014 8:53 am

Re: How to recover a corrupt USB stick [SOLVED - sort of: it's beyond rescue]

Post by br1anstorm »

Hello ricardo

Thanks for that further suggestion.... but I fear that the situation is beyond recovery. Having followed the steps suggested by scjet45, it looks as if absolutely everything which might have been on that USB stick has been wiped or removed, including any remaining partition-table information and the MBR.

So the USB drive simply doesn't appear AT ALL now in either Disks, or in GParted. If I can't "see" it, I can't do anything to it.

I also tried sudo fdisk -l in the terminal. The USB drive wasn't found there either. It seems to be completely invisible now. So - with thanks for all the ideas - I think I must finally give up.
User avatar
ricardogroetaers
Level 6
Level 6
Posts: 1374
Joined: Sat Oct 27, 2018 3:06 am
Location: Rio de Janeiro, Brasil

Re: How to recover a corrupt USB stick [SOLVED - sort of: it's beyond rescue]

Post by ricardogroetaers »

If even if you insert the drive into another USB port, it (the drive) does not appear, then it burns or has poor contact.
This has nothing to do with partition table or MBR, GPT and other partitions.
br1anstorm
Level 5
Level 5
Posts: 602
Joined: Mon Nov 24, 2014 8:53 am

Re: How to recover a corrupt USB stick [SOLVED - sort of: it's beyond rescue]

Post by br1anstorm »

Hi ricardo

I hate being beaten by a piece of electronic machinery.... so I inserted the USB stick into another spare laptop which has Mint as its OS.

I launched Disks.... and the USB drive showed up! Sandisk Ultra, 31GB contents unknown....

So I tried your suggestions: clicked on the three lines 'hamburger' icon, selected 'format' with the options you recommended....

Up came an error message:
"Error formatting disk. Error erasing device: error writing 1048576 bytes to /dev/sdb: Input output error (udisks-error-quark,0)"

And strangely, a third disk icon then appeared in the Disks listing. The main 250GB hard disk drive is still there, the troublesome Sandisk Ultra 31GB is there.... and there is also an icon titled "Block Device /dev/sdb" whose display simply says size 0.0kb and the volume is "empty".

Surely this is a lost cause?
User avatar
MartyMint
Level 7
Level 7
Posts: 1730
Joined: Thu Dec 27, 2012 10:50 pm

Re: How to recover a corrupt USB stick [SOLVED - sort of: it's beyond rescue]

Post by MartyMint »

You should not spare any time or effort in getting this thing to work.
Don't give up just yet.
Baldlygo
Level 3
Level 3
Posts: 115
Joined: Wed Feb 16, 2011 6:28 am
Location: Haute Vienne, France
Contact:

Re: How to recover a corrupt USB stick [SOLVED - sort of: it's beyond rescue]

Post by Baldlygo »

I've just come on this thread as a last result having a 1TB USB which refused to mount with a superblock problem. I had decided to reformat and say goodbye to my 600G of video recordings :( I tried one last thing using gparted. I reduced the size of the single EXT4 partition. Having completed the task OK I found I could mount the drive again and copy my files off if needed. My problem solved :D :D :D

ps - perhaps I spoke too soon - the drive does take a long time to umount now :!:
Dell Inspiron R15 - Mint 20.3 - Cinnamon (64-bit)
wangjih
Level 1
Level 1
Posts: 46
Joined: Sun Aug 02, 2015 8:08 am

Re: How to recover a corrupt USB stick [SOLVED - sort of: it's beyond rescue]

Post by wangjih »

hi br1anstorm, and everybody,
I revive the subject because it could be helping other people 's problem with "so called bad usb"
I played a lot with usb3-32G of different marks (one kingston,one sandisk,4 from essentiels a local supplier ) with very large size file ( 11 to 15 GB) essentially mac's rootfs (I am building virtual liveMac on usb using modified Foxlet's osx-kvm .
Today my sandisk -which worked wonderfully- suddenly claimed to be only 4GB size !!!! gdisk,fdisk or gparted do not see the rest ; dd /dev/zero to whole device won't change anything. cp or rsync show of course limitation to 4G.
I put my sandisk as media in my virtual mac
(just add one line -drive file=/dev/sdb,media=disk,format=raw ) added to qemu 'args cmdline
no need to cumbersome usb passthru. guess what ? diskutil utility does recognise my sandisk as
31GB... and I could partition it as any new usb 32G !!!!!
Of course you could do the same on a real genuine Mac . (but build a virtual mac does not take you
more than 2-3h even for the first time ,and you have it at home.)
So hope you save your old sticks in some drawings
wangjh
https:__sourceforge.net/projects/toysbox/files/MacFunOnLinux/
mikeflan
Level 17
Level 17
Posts: 7159
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: How to recover a corrupt USB stick [SOLVED - sort of: it's beyond rescue]

Post by mikeflan »

Thanks for the post, but your link is no good.
This might be the correct link, but I'm not sure:
https://sourceforge.net/projects/toysbo ... unOnLinux/
Locked

Return to “Hardware Support”