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
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC picture

24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC

$349.99



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.55



Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G) picture

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)

$89.99



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Lot of (5) Samsung 32GB 2RX4 DDR4-2133 ECC REG RAM M393A4K40BB0-CPB picture

Lot of (5) Samsung 32GB 2RX4 DDR4-2133 ECC REG RAM M393A4K40BB0-CPB

$875.00



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick picture

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick

$489.96



Lot of 4 8GB DDR4 PC4-2400T ECC Registered Server RAM 32GB 1Rx8 RDIMM MICRON picture

Lot of 4 8GB DDR4 PC4-2400T ECC Registered Server RAM 32GB 1Rx8 RDIMM MICRON

$149.99