-
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
FORTINET FORTIGATE 40F Next GEN Firewall Network Security EXPIRED (FG-40F)- New
$159.99
FORTINET FORTIGATE 40F Next GEN Firewall Security Unregistered (FG-40F)-Open Box
$219.99
Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New
$279.99
Fortinet Fortigate 61E FG-61E Network Security/Firewall Appliance
$99.00
Fortinet Fortigate FG-60E Seven Port Network Security Firewall W/AC Adapter
$59.99
Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter
$34.97
SimpleWAN SW Advanced Firewall & Router SW301DA-NA
$19.99
Fanless Router Intel J4125 Mini PC Intel i226 2.5G LAN 8GB RAM 120GB SSD pfSense
$99.00
Genuine Fortinet FortiGate 60E-POE Firewall Network Security ATP Bundle 2 years
$919.00
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00