Results 1 to 3 of 3
I've had this happen before: an encrypted volume will unencrypt with losetup and mount fine on the system it was encrypted on, but not another bailing with "must specify file ...
- 07-20-2011 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 21
unencrypting on a different system fails
I've had this happen before: an encrypted volume will unencrypt with losetup and mount fine on the system it was encrypted on, but not another bailing with "must specify file system type" ( usually meaning a bad password, but not the case here ).
the first time this happened was after a large system update, and I was able to chroot from a previous system backup and successfully unencrypt. now I am in the same predicament but have no previous system backup to chroot into.
I've got the encrypted medium (a file) and the correct password and I know the encryption method, but cant unencrypt. so what can I do? whats the issue here?
- 07-22-2011 #2Just Joined!
- Join Date
- Aug 2010
- Posts
- 21
heres an interesting bit. with the wrong password I always get this:
but with the correct password, it does this instead:Code:mount -oencryption=aes file /mnt/tmp Password: mount: you must specify the filesystem type
and this is what dmesg has to say:Code:mount -oencryption=aes file /mnt/tmp Password: mount: wrong fs type, bad option, bad superblock on /dev/loop1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
there are text files on the encrypted medium which would show by doign a `cat /dev/loop0 | strings -n 10` but it shows nothing intelligible. the unencryption is just plain not working like it should...Code:init_special_inode: bogus i_mode (166236) for inode loop0:8 EXT3-fs (loop0): error: invalid journal inode
Last edited by zeroth; 07-22-2011 at 02:20 PM.
- 07-22-2011 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 21
another interesting bit, after losetup'ing to loop0 with correct password:
Code:cat /dev/loop0 > tst file tst tst: Linux rev 1.0 ext3 filesystem data, UUID=d0830430-7237-4dcd-8b68-c9e35c46916d


Reply With Quote
