-
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
NEW NetFu Firewall Mini, Intel CPU, 6 x Gigabit, 4gb/64gb, pfSense
$300.00
Cisco ASA5525-FTD-K9 Security Appliance with FirePower Services
$1000.00
NetFu Firewall 1U, Intel CPU, 8 x Gigabit, SFP, w/ pfSense, Others, NEW OPTIONS
$642.40
Fortinet Fortigate FG-61E | Firewall Network Security Appliance
$49.99
Fortinet FortiGate 50E Firewall
$45.00
2x Dell SonicWALL TZ400 W Firewall Network Appliance w rack mount kits
$350.00
Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter
$34.97
DELL SONICWALL Firewall TZ-300 w/power supply
$48.00
Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years
$199.00
Fortinet FortiGate 600 Firewall FG-600D w/ Rack Ears Tested & Reset Unregistered
$160.00