-
Senior Member
registered user
RE: resizing knoppix-data.img
I do not know that article and the forum's search functions does not seem to work.
If the persistent image file is unencrypted then one can make use of the e2fs utilities. My method is to boot the live CD since a filesystem to be resized may not be mounted, to find the persistent image knoppix-data.img, to check the filesystem inside the container, to enlarge the container by adding some bytes to it and to resize the filesystem.
1. Open a root terminal.
2. Mount the drive with the persistent image
3. Change to the directory with that persistent image
4. Make a backup of the persistent image.
5. Check the ext2 filesystem and allow corrections
Code:
e2fsck -fy knoppix-data.img
6. Add 100 MB to the container
Code:
dd if=/dev/zero bs=1M count=100 >> knoppix-data.img
Remember that the maximum filesize of the FAT32 filesystem is 4 GB. Therefore the filesize of the persistent image may not be made larger than the maximum filesize of the underlying filesystem. Be careful, use ">>" instead of ">"!
7. Resize the filesystem.
Code:
resize2fs knoppix-data.img
8. Shutdown the system and boot Knoppix the usual way.
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.
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
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
32GB (2 x 16GB) Samsung M378A2K43CB1-CTD PC4-2666V-UB1-11 DDR4 Desktop Memory
$34.99
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
Corsair 16GB (2 x 8GB) DIMM 2400MHz DDR3 SDRAM Memory
$34.99
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$23.95
Lot of 3GB (2 1GB & 2 512MB) 400MHz DDR1 Memory RAM Hynix & Micron
$29.95
Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2
$15.00
Lot Of 10 Mixed Samsung 16GB 2Rx4 PC4-2133P RDIMM DDR4-17000 ECC Server Memory
$149.99
[ Lot of 50 ] MIXED BRANDS 4GB DDR3 DDR3-12800 Desktop Memory
$84.99