Results 1 to 4 of 4

Thread: knoppix-data.aes to knoppix-data.img and vice versa...

  1. #1
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93

    Exclamation knoppix-data.aes to knoppix-data.img and vice versa...

    I'd like to copy all my data stored in knoppix-data.aes to a new knoppix-data.img (without aes password asked before mounting it)
    I need to prepare for my wife a knoppix USB with all my already installed application and setting but without using (my) password protected knoppix-data.aes

    I've tryed this:
    - create a new 2GB knoppix-data.img using:
    Code:
    dd if=/dev/zero of=/dev/sda1/knoppix-data.img bs=1M count=2048
    losetup /dev/loop6 knoppix-data.img
    mkfs -t ext2 /dev/loop6
    mkdir /mnt/work
    mount /dev/loop6 /mnt/work
    cp -R /mnt-system/KNOPPIX-DATA/* /mnt/work
    umount /mnt/work && losetup -d /dev/loop6
    Then removing knoppix-data.aes and move new knoppix-data.img in KNOPPIX folder
    Boot ok but fails start x.org server and system show me only black screen.
    I heve to CTRL+ALT+F1 and so I can shutdown

    Something wrong ?
    Thanks for any help

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Did you boot Knoppix once more with cheatcode "knoppix noimage" before:
    Then removing knoppix-data.aes and move new knoppix-data.img in KNOPPIX folder
    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD (Knoppix V6.7.1 remaster)

  3. #3
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93
    Yes, I did so....

  4. #4
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93

    Red face Solved !!!

    Well, here my new procedure...and it's work !!

    Code:
    dd if=/dev/zero of=/mnt-system/knoppix-data.img bs=1M count=2048  
    losetup /dev/loop6 /mnt-system/knoppix-data.img
    mkfs.ext2 /dev/loop6
    losetup -d /dev/loop6
    mkdir /mnt-system/work
    mount -o loop=/dev/loop6 /mnt-system/knoppix-data.img /mnt-system/work
    rsync -ax /KNOPPIX-DATA/ /mnt-system/work
    e2fsck -fy /dev/loop6     # I don't know if it's necessary

    Bye

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 Poweredge R640 Server | 2x Silver 4114 | 128GB | H730P | 4x 600GB 10KRPM HD picture

Dell Poweredge R640 Server | 2x Silver 4114 | 128GB | H730P | 4x 600GB 10KRPM HD

$1798.00



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



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



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

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

$254.00



DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY picture

DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY

$329.00



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 PowerEdge R620 Dual Intel Xeon E5-2630 2.30GHz 32GB RAM No HDDs PERC H310 picture

Dell PowerEdge R620 Dual Intel Xeon E5-2630 2.30GHz 32GB RAM No HDDs PERC H310

$104.50



Dell R730XD 12LFF 2SFF 2x E5-2690v4 28C 128GB H730 12xTrays iDRAC ENT RJ-45 10G picture

Dell R730XD 12LFF 2SFF 2x E5-2690v4 28C 128GB H730 12xTrays iDRAC ENT RJ-45 10G

$670.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 128gb / H730 / iDracEnt picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 128gb / H730 / iDracEnt

$249.99