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
  •  


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



Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux picture

Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux

$836.80



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



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



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



Red Hat Enterprise Linux 5 Server - New and Sealed picture

Red Hat Enterprise Linux 5 Server - New and Sealed

$16.99



6x Powered By Linux Computer Sticker Decals Desktop Laptop Server Badge Decal picture

6x Powered By Linux Computer Sticker Decals Desktop Laptop Server Badge Decal

$2.99



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

$449.96



32GB Web HTML HTTP Server, Great tool for eBay seller & kids to host web site picture

32GB Web HTML HTTP Server, Great tool for eBay seller & kids to host web site

$229.99



1U Open Source Router Firewall X10SLH-N6-ST031 E3-1270 V3 6x 10GB Ethernet 16GB picture

1U Open Source Router Firewall X10SLH-N6-ST031 E3-1270 V3 6x 10GB Ethernet 16GB

$419.00