Results 1 to 3 of 3

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

  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
  •  


IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$479.96



Red Hat Enterprise Linux 5 Server - New and Sealed picture

Red Hat Enterprise Linux 5 Server - New and Sealed

$19.99



Red Hat Enterprise Linux 5 Server RHF032US-R1 NEW Sealed picture

Red Hat Enterprise Linux 5 Server RHF032US-R1 NEW Sealed

$59.95



Asus ESC4000 G3 Barebones 0GB HDD Linux picture

Asus ESC4000 G3 Barebones 0GB HDD Linux

$200.00



2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD picture

2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD

$30.00



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$799.96



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a picture

IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a

$3439.96



IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE picture

IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE

$199.87



POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives picture

POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives

$179.99