Score:0

Recovering files from corrupted Flash Drive

in flag

So I have a 64GB SanDisk Cruzer Glide, and recently something happened to it. Whenever I would try to fsck it said the magic number for the superblock was corrupted, I didn't know what that meant, so I backed up everything with dd to a 1TB hard drive.

I formatted it as exFAT in macOS, and put it back into my Ubuntu computer. I tried to mount the .img file to a directory I made so I can try to copy the files over to the thumb drive, so I can then copy them to my hard drive, but whenever I try to mount the .img file, I get this...

root@ubuntu:/home/wolfyn_claw# mkdir /mnt/glide2
root@ubuntu:/home/wolfyn_claw# mount -o loop '/media/wolfyn_claw/AC_STORAGE/glide2.img' /mnt/glide2
mount: /mnt/glide2: wrong fs type, bad option, bad superblock on /dev/loop17, missing codepage or helper program, or other error.

I'm attempting to write the .img file back to the thumb drive and see how that goes. I'm really hoping I can access the files on it, I can't afford to lose any of it.

enter image description here

I'll edit this and add more information when I try to fsck the thumb drive after the writing is complete.

Nate T avatar
it flag
DO NOT DELETE ORIGINAL! The new version will not be ext4!
Nate T avatar
it flag
That is what happened [here](https://askubuntu.com/questions/1348436/luks-drive-i-can-unlock-but-not-mount/1348612#1348612). The launcher broke the partition trying to repair the superblock. We spent hours trying to get it fixed, and never did.
Achak Claw avatar
in flag
I created an .img file from /dev/sda and /dev/sda1
Achak Claw avatar
in flag
So I have two 65GB .img files
Achak Claw avatar
in flag
``` That is what happened here. The launcher broke the partition trying to repair the superblock. We spent hours trying to get it fixed, and never did. ``` So does this mean everything is gone?
Nate T avatar
it flag
Try accessing w/ gparted in gui mode. Does result look like picture in linked question.? Did it mnt?
Achak Claw avatar
in flag
/dev/sdc1 (!) Unknown 59.16GiB
Achak Claw avatar
in flag
I changed operating systems from UM to ubuntu, so the thumb drive is sdc1 instead of sda1.
Achak Claw avatar
in flag
I can access it in Gparted, but the filesystem is unknown.
Nate T avatar
it flag
Have you tried using dd on the original to change back to ext4? That may mount. Pipe it through `tee` to a copy first, so you aren't risking anything.
Nate T avatar
it flag
No. OP didn't save the original.
Achak Claw avatar
in flag
Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/127338/discussion-between-achak-claw-and-nate-t).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.