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
  •  


AMD Ryzen 5 5500 Processor ( read Description) picture

AMD Ryzen 5 5500 Processor ( read Description)

$59.00



Intel Core i5-12400 Processor SRL4V picture

Intel Core i5-12400 Processor SRL4V

$115.00



INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH picture

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH

$179.99



(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT) picture

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)

$700.00



Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151 picture

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151

$79.99



Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor picture

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor

$114.99



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$67.99



Intel Core i7-7700 3.6 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR338 picture

Intel Core i7-7700 3.6 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR338

$39.99



Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested picture

Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested

$35.00