Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cryptoloop problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Digitalsoul
n00b
n00b


Joined: 28 Sep 2003
Posts: 5

PostPosted: Wed Mar 09, 2005 9:19 am    Post subject: Cryptoloop problems Reply with quote

Hi.

Moved a HD from my x86 server to my amd64 system, the entire HD is encrypted with AES-128. But i can't mount it on my amd64 system :/
I use the exact same commands as on the x86 system:

losetup -e aes-128 /dev/loop1 /dev/hdd1
Enter the password
mount -t ext3 /dev/loop1 test/

get this error:

mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

VFS: Can't find ext3 filesystem on dev loop1.

Anyone happen to know if there is any problems with amd64 and cryptoloop?

i have enabled loopback and cryptoloop in the 2.6.11-r2 kernel
Back to top
View user's profile Send private message
wmgoree
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 246
Location: Alexandria, VA

PostPosted: Fri Mar 11, 2005 6:52 am    Post subject: util-linux Reply with quote

Do you have the patched util-linux on the amd64 box? I don't think vanilla mount will work.

Also, in general I seem to recall it's a bad idea to use journalled filesystems over cryptoloop.
_________________
vi? *snicker* it doesn't even include a mail reader...
Back to top
View user's profile Send private message
miho
n00b
n00b


Joined: 17 Jun 2003
Posts: 13

PostPosted: Fri Mar 11, 2005 8:58 am    Post subject: Re: util-linux Reply with quote

wmgoree wrote:
Do you have the patched util-linux on the amd64 box? I don't think vanilla mount will work.

Also, in general I seem to recall it's a bad idea to use journalled filesystems over cryptoloop.


More than that. It is bad idea to use cryptoloop at all. Use dm_crypt instead. Back to Your problem: there are several different ways how losetup computes key from passphrase. Be sure to get same version of losetup with same patches applied.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum