Results 1 to 4 of 4

Thread: Unable to mount AES256 homedir in Gentoo

Hybrid View

  1. #1
    Junior Member
    Join Date
    Oct 2003
    Location
    Amsterdam
    Posts
    4

    Unable to mount 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 a non-knoppix system?

  2. #2
    Junior Member
    Join Date
    Oct 2003
    Location
    Amsterdam
    Posts
    4
    Doesn't any of the smart brains around here know of the answer?

  3. #3
    Junior Member
    Join Date
    Feb 2005
    Posts
    1

    Workaround

    I had this same problem. I found out things worked just fine if I created the encryption in Gentoo and then mounted it with Knoppix. Something must be screwy on one of those sides, but I'm not sure who is to blame. Best of luck.

  4. #4
    Junior Member
    Join Date
    Oct 2003
    Location
    Amsterdam
    Posts
    4
    Thanks for the tip!

Similar Threads

  1. Booting via PXE: Unable to mount NFS share
    By asdf in forum Hardware & Booting
    Replies: 0
    Last Post: 06-19-2005, 06:18 PM
  2. Unable to mount /dev/app/1 [solution]
    By garbas in forum Klik
    Replies: 13
    Last Post: 05-09-2005, 04:19 PM
  3. unable to mount /mnt/app/1
    By NepoMUC in forum Klik
    Replies: 2
    Last Post: 04-21-2005, 11:39 AM
  4. Unable to Mount Hard Drive Please Help
    By ajonline in forum General Support
    Replies: 9
    Last Post: 04-05-2005, 01:14 AM
  5. Unable to mount cdrom drives.
    By rbivins in forum General Support
    Replies: 2
    Last Post: 03-27-2004, 03:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W picture

Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W

$285.97



Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700 picture

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700

$289.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell PowerEdge R640 10SFF 2x Gold 6140 2.3GHz 36-Cores 64gb H730p 2x Trays picture

Dell PowerEdge R640 10SFF 2x Gold 6140 2.3GHz 36-Cores 64gb H730p 2x Trays

$599.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores | 32gb | HBA330 | 2x 1... picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores | 32gb | HBA330 | 2x 1...

$324.99