Hi,

I have been trying to rescue the files from a SD card that is connected to a 
USB adapter, and that can not mount in the usual way because I guess it is 
corrupt (complains of no read-write permission even though the SD card is 
unlocked).

Following the instructions here:

https://blog.tinned-software.net/rescue-data-from-corrupt-sd-card/

I get:

$ sudo ddrescue -f /dev/sda  SD_card_rescue.log
GNU ddrescue 1.23
Press Ctrl-C to interrupt
     ipos:  322563 kB, non-trimmed:        0 B,  current rate:   64000 B/s
     opos:  322563 kB, non-scraped:        0 B,  average rate:   1178 kB/s
non-tried:        0 B,  bad-sector:    19968 B,    error rate:       0 B/s
  rescued:    8270 MB,   bad areas:       26,        run time:  1h 56m 58s
pct rescued:   99.99%, read errors:       78,  remaining time:          0s
                              time since last successful read:         n/a
Finished

However, when I try:

$ sudo losetup -f -P SD_card_rescue.img
losetup: SD_card_rescue.img: failed to set up loop device: No such file or 
directory

Adding the full path name for the SD_card_rescue.img does not change the error.

I looked around a bit and tried the following:

https://askubuntu.com/questions/634501/cant-mount-iso-file-as-loop-device-error-failed-to-setup-loop-device

It does not per se use losetup but I still get the same error.

Any suggestions? I am on an updated F30.

Many thanks and best wishes,
Ranjan






_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to