-
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
0XYHWN Dell PERC H730P PCIe 3.0 SAS 12GB RAID CONTROLLER
$65.00
ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs
$179.99
OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire
$36.99
DELL PERC H740P 8Gb 12Gbps SAS Raid Controller High Profile
$99.00
LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault
$39.00
Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT
$15.98
Dell PowerEdge PERC H730P 2GB 12Gbps SAS SATA Mini RAID Controller Battery 7H4CN
$22.50
DELL PERC H310 RAID Controller with Cables, OHV52W, 6Gb/s SAS SATA PCIe x8
$19.95
ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID
$55.45
Dell 44GNF PERC H730 PCIe 3.0 x8 1GB Cache RAID Controller w/ Batt 27-3
$34.99