-
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
ProLabs 10GBase-TX SFP+ RJ-45 Copper Transceiver Module P/N: SFP-10GBASE-T-C
$19.99
10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module
$85.00
NEW Open Box Dell PowerConnect M8024-SFP+ Quad Port 10GbE SFP Module 0N805D (BH)
$29.99
Green label hologram Cisco SFP-10G-LR-S SFP Transceiver Module
$28.00
Lot of 10 - HP 10Gb SR SFP+ Transceiver 455883-B21 455885-001 456096-001 850nm
$25.99
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$10.99
Cisco SFP-10G-SR SFP+ MMF 10GBase-SR 850nm Transceiver Module 1 Year Warranty
$28.49
New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module
$69.99
NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$18.00