Results 1 to 3 of 3

Thread: Loop-mounting a knoppix-data.aes file

Hybrid View

  1. #1
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528

    Loop-mounting a knoppix-data.aes file

    Dear all:

    Well, I finally ran out of room for stuff in my persistent store tonight - I blew it up trying to install "just one more" program from a downloaded .deb archive. I wanted to start over on this sytem anyway, using Knoppix 6.4, and the knoppix-data is different enough that I don't expect to be able to use it with the new install, regardless. So, I just wanted to mount it up, copy some useful stuff out of it, and move on. Here's what happened (scroll to see the whole command line):
    Code:
    knoppix@Microknoppix:~$ sudo mount -t ext2 /mnt-system/KNOPPIX/knoppix-data.aes /media/DATA/ -o encryption=aes-256,loop
    Password: 
    ioctl: LOOP_SET_STATUS: No such file or directory
    knoppix@Microknoppix:~$ sudo mount -t ext2 /mnt-system/KNOPPIX/knoppix-data.aes /media/DATA/ -o encryption=aes-256,loop=/dev/loop2
    Password: 
    ioctl: LOOP_SET_STATUS: No such file or directory
    knoppix@Microknoppix:~$
    Anybody see where I went wrong? I really thought I had the trick, but...

    Cheers!
    Krishna
    p.s. I did delete /dev/loop/0 as recommended in several posts here on the forum, and created the mount point /media/DATA/ before these attempts failed.
    Last edited by krishna.murphy; 05-04-2011 at 06:07 AM. Reason: Forgot to mention... (added p.s.)

  2. #2
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Change the command to :-

    Code:
    sudo mount .... -o encryption=aes,keybits=256,loop
    Or you can use the method which is used in minirt.gz :-

    Code:
    # echo "passphrase" | losetup -p 0 -e aes -k 256 /dev/loop2 knoppix-data.aes
    # mount /dev/loop2 /media/data

  3. #3
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Thank you - it worked! One note to others following this - don't put any spaces by the commas, i.e. keep exactly the "-o encryption=aes,keybits=256,loop". That cost me some time. Hope others can profit by my mistakes!

    Cheers!
    Krishna

    Quote Originally Posted by kl522 View Post
    Change the command to :-

    Code:
    sudo mount .... -o encryption=aes,keybits=256,loop
    Or you can use the method which is used in minirt.gz :-

    Code:
    # echo "passphrase" | losetup -p 0 -e aes -k 256 /dev/loop2 knoppix-data.aes
    # mount /dev/loop2 /media/data

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 R730 w/ 2x E5-2650v3 10c, 192GB (12x16GB) RAM, H730 Mini, 2x 750W PSU picture

Dell R730 w/ 2x E5-2650v3 10c, 192GB (12x16GB) RAM, H730 Mini, 2x 750W PSU

$349.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$360.00



Dell EMC NX3230 Server picture

Dell EMC NX3230 Server

$599.99



Dell PowerEdge R620 Rack Server picture

Dell PowerEdge R620 Rack Server

$71.99



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

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

$389.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 1x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 1x 300GB HDD

$89.99



HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD picture

HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD

$196.95



Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores  64gb  H730  2x 750w picture

Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w

$189.99



DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45

$240.00