-
Member
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
-
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)
-
Member
-
Member
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
-
Forum Rules
Intel Xeon Gold 6244 SRF8Z 3.60GHz 24.75MB 8-cores LGA3647 CPU server
$1489.00
Intel Xeon Gold 6234 Processor LGA3647 3.3GHz 8 Cores 16 Threads TDP 30W CPU
$1252.50
NEW OEM Tray AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor
$139.00
Intel Core i9-12900KF - 12th Gen Alder Lake 16-Core (8P+8E) 3.2GHz LGA CPU
$262.99
Intel Core i7-13700K - 13th Gen Raptor Lake 16-Core (8P+8E) 3.4GHz LGA 1700 CPU
$314.99
Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU
$295.99
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$24.00
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$689.99
HP Z420 Workstation Xeon E5-2690 2.9ghz 8-Core / 64gb / 4TB SATA / DVD / Win 10
$139.99
Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11
$119.49