LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot attach Loop3 dev (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-attach-loop3-dev-4175484837/)

Goforthestars 11-15-2013 08:32 PM

Cannot attach Loop3 dev
 
Hello got same problem. Knoppix encrypted persistent volume got corrupted and can no longer be oppened on boot up.

It appear folder is decrypted with losetup

knoppix@Microknoppix:/mnt$ losetup -a
/dev/loop3: [0821]:820 (/media/sdc1/KNOPPIX/KNOPPIX), encryption aes (type 18)

But when I try to mount the device I get this

knoppix@Microknoppix:/mnt$ sudo mount -t ext2 /dev/loop3 /media/aes -o loop
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

And I get this with dmesg

[17305.520308] EXT2-fs (loop0): error: can't find an ext2 filesystem on dev loop0.

Also tried with different loop

knoppix@Microknoppix:/mnt$ sudo mount -t ext2 /dev/loop3 /media/aes -o loop3
mount: wrong fs type, bad option, bad superblock on /dev/loop3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

[17365.920037] EXT2-fs (loop3): error: can't find an ext2 filesystem on dev loop3.

Any help to get to the files would be great

syg00 11-17-2013 05:52 PM

If Knoppix can't open its own volume, you are unlikely to be able to.

losetup doesn't (directly) deal with encryption - that needs to be handled separately (although it does have a deprecated "-e" option). You will need to run cryptsetup to open the encrypted envelope first, then issue the mount. Have a read of this (not Knoppix specific, but looks sane).


All times are GMT -5. The time now is 08:45 PM.