Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Anyone familiar with loop-aes? I got these 2 encrypted partitions that I mount using a gpg key on a USB stick. I still have the partitions, the gpg key and the password.
Now I reinstalled my system (new mobo etc) and I would like to get those partitions back up. Loop-aes is compiled and tested.
So... anyone who knows which steps to perform to be able to remount these existing drives again? The instructions in the README start from scratch, which include formatting the partitions and even writing random data to it :s Obviously I don't want that. I tried to skip those steps but somehow I need to setup things between /dev/loop3 and my /dev/hdc correctly without formatting.
ive also tried to just put the info in fstab but then i get this when mounting:
PHP Code:
[root@ENTERPRISE ~]# mount /private Password: mount: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so
and syslog tells me its a wrong filesystem. So i need something to associate /dev/loop3 with /dev/hdc which is probably losetup? but how do I use it?
PHP Code:
May 18 11:30:55 localhost kernel: VFS: Can't find ext3 filesystem on dev loop3.
I tried to follow the README as much as possible. The partitions where created with an earlier version. So I hope the samples are alike (like AES128 encryption instead of AES256 or ext2 vs. ext3 - i remember that i followed the README so if its the same sample this entry should be good)
It tells me that no ext2 system is found on /dev/loop6 Could this be caused by wrong encryption scheme or any other wrong setting? Although i tried both of them and they don't seem to work
I don't have cryptoloop though so probing it didn't return something joyfull. But isn't loop-aes supposed to replace cryptoloop? I think "modprobe loop" loop should suffice since I turned it off in my kernel config and recompiled without it, then installed loop-aes giving me a new loop.ko
The rest was successfull but i still can't mount the disk :s
edit: oh yeah and of course the linux utils were patched also ofcourse
I use both cryptoloop and the encfs on fuse, and I'm not having any problems (Fedora). I tried getting loop-aes at one point, but had problems (though I read that those were later fixed). Maybe try one of the alternatives?
yeah good plan but I still have my hopes up on recovering that data. That's the shit with encrypted data: you make it secure so you don't have any unencrypted backups of it :s
Or will it be possible to mount that partition with one of those other tools? its worth a shot. Do they also work with gpg keys?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.