Re: losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Samuel Sieb
On 9/22/19 10:51 AM, Ranjan Maitra wrote: Notably, my disk flag type is "ext4" and there are no flags. This is different from what the partition on that post is (there the disk flag type is "primary" and the flag is "lba". Is this important? Unlikely. Just to clarify, my SD is being read th

Re: losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Ranjan Maitra
On Sun, 22 Sep 2019 10:17:36 -0700 Samuel Sieb wrote: > On September 22, 2019 8:07:21 AM PDT, Ranjan Maitra wrote: > > >$ sudo losetup -f -P /home/maitra/SD_card_rescue.img > >losetup: /home/maitra/SD_card_rescue.img: failed to set up loop device: > >No such file or directory > > That file didn'

Re: losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Samuel Sieb
On September 22, 2019 8:07:21 AM PDT, Ranjan Maitra wrote: >$ sudo losetup -f -P /home/maitra/SD_card_rescue.img >losetup: /home/maitra/SD_card_rescue.img: failed to set up loop device: >No such file or directory That file didn't exist like it says. >$ sudo mount -o loop /home/maitra/SD_card_re

Re: losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Ranjan Maitra
On Sun, 22 Sep 2019 11:18:01 -0400 Tom Horsley wrote: > On Sun, 22 Sep 2019 10:07:21 -0500 > Ranjan Maitra wrote: > > > At least the error is different here. Any further suggestions? > > Fraid not. Thanks very much for your help with this, though, Tom. Perhaps others will have other suggestions

Re: losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Tom Horsley
On Sun, 22 Sep 2019 10:07:21 -0500 Ranjan Maitra wrote: > At least the error is different here. Any further suggestions? Fraid not. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.o

Re: losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Ranjan Maitra
Unfortunately, I did all the suggestions in the notes provided but still get the same result. Here is what I did: created: $ sudo cat /etc/modules-load.d/loop.conf loop created: $ sudo cat /etc/modprobe.d/eightloop.conf options loop max_loop=8 $ sudo dracut --force Got back the prompt, and

Re: losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Ranjan Maitra
On Sun, 22 Sep 2019 10:23:54 -0400 Tom Horsley wrote: > On Sun, 22 Sep 2019 08:54:28 -0500 > Ranjan Maitra wrote: > > > Should I now try what you have written in your notes below? > > Perhaps, or the bugzilla has some other alternatives as well. > Maybe you just need to be root when running the l

Re: losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Tom Horsley
On Sun, 22 Sep 2019 08:54:28 -0500 Ranjan Maitra wrote: > Should I now try what you have written in your notes below? Perhaps, or the bugzilla has some other alternatives as well. Maybe you just need to be root when running the losetup command. ___ user

Re: losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Ranjan Maitra
Tom. Thanks very much. I am not sure that I follow your notes, but written below is the answer to your question. On Sun, 22 Sep 2019 09:42:22 -0400 Tom Horsley wrote: > On Sun, 22 Sep 2019 08:32:19 -0500 > Ranjan Maitra wrote: > > > Any suggestions? I am on an updated F30. > > One possibility:

Re: losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Tom Horsley
On Sun, 22 Sep 2019 08:32:19 -0500 Ranjan Maitra wrote: > Any suggestions? I am on an updated F30. One possibility: If you ls /dev/loop* do you see loop0, loop1, etc.? At some point linux invented dynamic /dev/loop creation and said everyone should use it, but neglected to fix all the software i

losetup failed to set up loop device while rescuing a SD card that does not mount

2019-09-22 Thread Ranjan Maitra
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