View previous topic :: View next topic |
Author |
Message |
Digitalsoul n00b
Joined: 28 Sep 2003 Posts: 5
|
Posted: Wed Mar 09, 2005 9:19 am Post subject: Cryptoloop problems |
|
|
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 |
|
|
wmgoree Apprentice
Joined: 08 Aug 2003 Posts: 246 Location: Alexandria, VA
|
Posted: Fri Mar 11, 2005 6:52 am Post subject: util-linux |
|
|
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 |
|
|
miho n00b
Joined: 17 Jun 2003 Posts: 13
|
Posted: Fri Mar 11, 2005 8:58 am Post subject: Re: util-linux |
|
|
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 |
|
|
|