Results 1 to 4 of 4

Thread: Unable to mount AES256 homedir in Gentoo

  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
  •  


Juniper EX4300-48T-AFI 48x 1GB RJ-45 4x 40GB QSFP+ Switch - Same Day Shipping picture

Juniper EX4300-48T-AFI 48x 1GB RJ-45 4x 40GB QSFP+ Switch - Same Day Shipping

$189.99



Juniper EX2300-C-12P, 12 Port FANLESS POE Ethernet Switch EX2300-C picture

Juniper EX2300-C-12P, 12 Port FANLESS POE Ethernet Switch EX2300-C

$375.00



Juniper Networks SRX340 SRX300 Series 8-Port Security Firewall Tested picture

Juniper Networks SRX340 SRX300 Series 8-Port Security Firewall Tested

$129.00



Juniper Networks EX2200-C Gigabit Ethernet Managed Switch | EX2200-C-12T-2G picture

Juniper Networks EX2200-C Gigabit Ethernet Managed Switch | EX2200-C-12T-2G

$49.99



Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested picture

Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested

$170.00



Juniper EX3400-48P PoE+ 48x Gb 4x SFP+ Network Ethernet Switch Single PSU picture

Juniper EX3400-48P PoE+ 48x Gb 4x SFP+ Network Ethernet Switch Single PSU

$124.99



Juniper Networks SRX320-POE 6-Port Service Gateway Security Appliance Tested picture

Juniper Networks SRX320-POE 6-Port Service Gateway Security Appliance Tested

$149.99



Juniper Networks EX4400-48MP 48 port 5GbE + 12 port 10 Gigabit PoE++ Switch -NEW picture

Juniper Networks EX4400-48MP 48 port 5GbE + 12 port 10 Gigabit PoE++ Switch -NEW

$1100.00



Juniper QFX5200-32C-AFO 32P QSFP28 Switch picture

Juniper QFX5200-32C-AFO 32P QSFP28 Switch

$1199.00



Juniper EX3400-24P Switch 24 Port 1GE RJ45 Ethernet PoE + 4 1/10GE SFP + 2QSFP picture

Juniper EX3400-24P Switch 24 Port 1GE RJ45 Ethernet PoE + 4 1/10GE SFP + 2QSFP

$239.99