View previous topic :: View next topic |
Author |
Message |
bustersnyvel n00b
Joined: 14 Sep 2003 Posts: 36 Location: Amsterdam, The Netherlands
|
Posted: Sun Oct 26, 2003 2:25 pm Post subject: AES256: Unable to mount Knoppix AES256 homedir in Gentoo |
|
|
Hi there,
I've been using Knoppix extensively lately, using an USB stick as homedir. It has a single FAT32 partition with an image of my homedir 'knoppix.img' on it. The image is encrypted with the AES256 encryption. Booting with "knoppix home=scan" works like a charm, asks me for my passphrase and mounts the stick as expected.
Now I want to be able to access the data on the image on my main computer as well. I've got Gentoo (kernel gentoo-linux-2.4.20-r8) running on it, with the 'cryptoapi' and 'cryptoloop' modules loaded. When I give the appropriate (I think) mount command, I get this:
Code: |
sybren $ sudo mount -t ext2 /mnt/thumb/knoppix.img knoppix/home -o encryption=aes,keybits=256
Password: (I type my passphrase here)
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
|
AES encryption is supported by my kernel, since if I change it to something else, I get:
Code: |
sybren $ sudo mount -t ext2 /mnt/thumb/knoppix.img knoppix/home -o encryption=aes256,keybits=256
The cipher does not exist, or a cipher module needs to be loaded into the kernel
ioctl: LOOP_SET_STATUS: Invalid argument
|
Does anyone know how I can access my stick on Gentoo? Thanx in advance!
Sybren _________________ The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
|
Back to top |
|
|
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Tue Nov 18, 2003 10:53 am Post subject: |
|
|
Did anybody get a solution for this. I am facing the same problem |
|
Back to top |
|
|
bustersnyvel n00b
Joined: 14 Sep 2003 Posts: 36 Location: Amsterdam, The Netherlands
|
Posted: Tue Nov 18, 2003 1:54 pm Post subject: |
|
|
Not me, sorry. It seems like Knoppix contains specially-patched mount and losetup commands. Perhaps someone can add the patches to Gentoo as well? I might have the skills, and if nobody steps up I might even do it, but I don't have time for that the coming next months _________________ The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
|
Back to top |
|
|
|
|
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
|
|