2

A friend of mine gave me an SD card, which was in his tablet and spontaneously wasn't recognized by that tablet. Of course, there is no backup.

So I put it into my computer (with an adapter to USB) where it is recognized somehow, but I can't see it in my files, I can't mount it and it doesn't seem any file system is on the SD card.

Images that disk shows me:

  • Disk - /dev/sda
    enter image description here
  • Disk - /dev/sdb
    enter image description here

I Googled and saw that people used dmesg and fdisk, but I don't know what this should tell me; maybe you can help me somehow?

This is what dmesg gave me when I plugged the SD card in.

> [  695.684434] [   T8760] usb 5-2: new SuperSpeed USB device number 3 using xhci_hcd
> [  695.703694] [   T8760] usb 5-2: New USB device found, idVendor=05e3, idProduct=0764, bcdDevice=29.59
> [  695.703709] [   T8760] usb 5-2: New USB device strings: Mfr=3, Product=4, SerialNumber=2
> [  695.703716] [   T8760] usb 5-2: Product: USB Storage
> [  695.703722] [   T8760] usb 5-2: Manufacturer: Generic
> [  695.703727] [   T8760] usb 5-2: SerialNumber: 000000002959
> [  695.705413] [   T8760] usb-storage 5-2:1.0: USB Mass Storage device detected
> [  695.705733] [   T8760] scsi host0: usb-storage 5-2:1.0
> [  696.736510] [   T8342] scsi 0:0:0:0: Direct-Access     Generic  MassStorageClass 2959 PQ: 0 ANSI: 6
> [  696.738494] [   T8342] scsi 0:0:0:1: Direct-Access     Generic  MassStorageClass 2959 PQ: 0 ANSI: 6
> [  696.738986] [   T8342] sd 0:0:0:0: Attached scsi generic sg0 type 0
> [  696.739577] [   T8342] sd 0:0:0:1: Attached scsi generic sg1 type 0
> [  696.739941] [   T8242] sd 0:0:0:0: [sda] Media removed, stopped polling
> [  696.741099] [   T8242] sd 0:0:0:0: [sda] Attached SCSI removable disk
> [  697.445197] [    T120] sd 0:0:0:1: [sdb] Spinning up disk...

Trying to mount them results in this error code and dmesg doesn't show anything:

>$ dmesg > before.log
╰─>$ sudo mount /dev/sda /mnt/
mount: /mnt: no medium found on /dev/sda.
       dmesg(1) may have more information after failed mount system call.
╰─>$ sudo mount /dev/sdb /mnt/
mount: /mnt: no medium found on /dev/sdb.
       dmesg(1) may have more information after failed mount system call.
╰─>$ dmesg > after.log
╰─>$ diff before.log after.log 
╰─>$ 

lsblk shows this:

╰─>$ lsblk
NAME          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda             8:0    1     0B  0 disk  
sdb             8:16   1     0B  0 disk  
...

And trying to move data with dd results in this:

╰─>$ sudo dd if=/dev/sda of=sda.tmp
dd: failed to open '/dev/sda': No medium found
╰─>$ sudo dd if=/dev/sdb of=sda.tmp
dd: failed to open '/dev/sdb': No medium found

fdisk -l doesn't recognize it at all; it only shows my SSD, and lsusb doesn't show anything when I plug in the SD card.

Is there any way to save the data on the SD card?

Ali Khakbaz
  • 1,057
enox3
  • 21

0 Answers0