-
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
H261-Z61 2U 24SFF AMD Server 8x EPYC 7702 512-Cores 2048GB RAM 8x25G NIC 2x2200W
$13292.18
Genuine HP ProLiant MicroServer Gen8 Intel Pentium G2020T 2.5GHz 712318-001
$199.95
SuperMicro SYS-E100-9APP Fanless Server Firewall 4core 8GB RAM 256GB M.2 Mini PC
$165.00
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
Supermicro SYS-E50-9AP-N5 Mini Fanless Server pfSense 5x 1GbE Atom E3940 8GB RAM
$162.00
Open Eye OE-MTX08 8TB Micro Server With Linux (Boots To Login) No Accessories
$294.95
Supermicro E300-8D Xeon D-1518 2.20GHz Mini Server
$549.99
Supermicro 5018A-FTN4 Rack Server - Black
$125.00
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$297.00
1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME
$247.00