-
Senior Member
registered user
Originally Posted by
klaus2008
But if the persistent image is encrypted I think the only way to get a larger persistent image is to create a new persistent image and copy the data from the old filesystem to the new one.
This is a very old thread, I thought I just want to post a follow up to this :-
To increase the size of an encrypted image, the following can be done :-
# dd if=/dev/zero bs=1M count=100 >> knoppix-data.aes
( same as the non-encrypted one )
# echo 'password' | losetup -e aes -p 0 /dev/loop6 knoppix-data.aes
( Now you can use /dev/loop6 for your resizing purposes )
# e2fsck -fy /dev/loop6
# resize2fs /dev/loop6
Once you are done, destroy the loop device association of knoppix-data.aes :-
# losetup -d /dev/loop6
Cheers
Last edited by kl522; 05-24-2010 at 07:22 AM.
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
IBM x3550 M4 7042-CR8 6-Bay Server System Intel Xeon E5-2640v2 2.50Ghz 8GB No HD
$419.99
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System
$359.99
IBM 8203-E4A pSeries 520 6-Bay Server System Power6 2 Core 4.2GHz 4GB No HD
$419.99
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server
$319.99
IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD
$84.50
IBM SYSTEM x3200 M2 Server - HDD wiped, No OS
$75.00
IBM x3550 7042-CR4 Server System Intel Xeon 5130 2.00Ghz DVD-Rom Drive 1GB No HD
$139.99
IBM IntelliStation 9114-275 4-Bay Server Power4+ Core 1.0ghz DVD-Rom 1GB No HDD
$699.99
IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD
$349.99
IBM Power 750 Express 12SFF 8233-E8B Power 7 3.3GHz CPU 32GB RAM *No HDD* Server
$199.99