-
Member
KNOPPIX 6.7.1 on USB with very large persistent data image.
Hello to all you guys.
If you don't like remaster and you want to increase the Knoppix-data.img (or .aes) size up to 4GB permitted by the FAT32 file system in your USB installation, here the explanation what I did until now. I use a micro size USB 16GB with inside a micro SDHC card produced by PNY.
I first tried knoppix 6 months ago after my Win XP notebook crashed (M$ damn!), and during all this time I updated the program by installing the ones that I needed to get to the space limit allowed, and so here I am.
1) Run a Knoppix live DVD
2) Install Knoppix on Fat32 formatted USB
3) Restart Knoppix from newly created USB
4) Create new persistent data image of 3840MB size
5) Shutdown and run again a Knoppix live DVD
6) Move the entire KNOPPIX folder from USB to a temp HDD directory
7) Start GParted and choose USB Disk
8) Reduce the FAT32 partition size at 1GB (or 512MB if you want)
9) Create second partition with unallocated space formatted in NTFS (or even Ext2, Ext3, Ext4)
10) Move now KNOPPIX folder stored in temp HDD to the second partition just created
11) Resize Knoppix-data.aes (or .img).
Code for Knoppis-data.img
* Change to the directory with that persistent image
* Open a root terminal
PHP Code:
* e2fsck -fy knoppix-data.img #Check the ext2 filesystem and allow corrections
* dd if=/dev/zero bs=1M count=3328 >> knoppix-data.img #Add 3328MB to the container (total 7GB store image)
* resize2fs knoppix-data.img #Resize the filesystem
* e2fsck -fy knoppix-data.img #Check again
* Close terminal
* Shutdown the system and boot (and using the cheat Knoppix FROMHD=/dev/sdxy where x= a,b,c,.. and y= 1,2,3,.. if you have more one Knoppix installation)
Code for Knoppis-data.aes
* Change to the directory with that persistent image
* Open a root terminal
PHP Code:
* dd if=/dev/zero bs=1M count=3328 >> knoppix-data.aes #Add 3328MB to the container (total 7GB store image)
* echo yourpassword | losetup -e aes -p 0 /dev/loop6 knoppix-data.aes #yourpassword is the password knoppix ask you at the boot to open the persistent data image aes encrypted
* e2fsck -fy /dev/loop6 #Check the filesystem and allow corrections
* resize2fs /dev/loop6 #Resize the filesystem
* e2fsck -fy /dev/loop6 #Check again
* losetup -d /dev/loop6 #destroy the loop device association
* Close terminal
* Shutdown the system and boot
At boot you can use the cheat Knoppix FROMHD=/dev/sdxy where x= a,b,c,.. and y= 1,2,3,.. if you have more one Knoppix installation like me
And naturally you can change the MB to add at your persistent image what you want (1GB=1024MB)
Note that the more the file is large and takes longer to load, but the few seconds of waiting are acceptable for me...
Thanks to these threads at first:
http://www.knoppix.net/forum/threads...ghlight=resize
http://www.knoppix.net/forum/threads...nt-disk-images
and many many many others i've read.
Bye
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
Lenovo M70q Gen 2 USFF Core i9-10900t - 8GB RAM - 128GB SSD - NO HDD
$295.55
HP EliteOne 800 G4 24" Touch AiO 8GB RAM 256GB SSD 3 GHz i5 Win11 Pro Grade A
$214.99
Dell Optiplex 5040 MT Core i5-6500 3.20GHZ 8GB RAM 256GB SSD Win 10 Pro WiFi
$89.99
HP Z420 Workstation Xeon E5-2690 v2 3ghz 10-Cores 64gb 240gb SSD 1TB Win10
$199.99
NEW OEM Tray AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor
$149.00
Intel Xeon E5-2667 v2 SR19W 3.30GHz 25M 8GT/s 8-Core LGA2011 CPU Processor
$24.99
Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core
$79.99
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$24.00
Dell OptiPlex 3060 MT Core i5 8th Gen 16GB Ram 480 GB SSD Windows 11 Computer
$239.00
Custom Gaming Desktop PC Intel i7 Quad 16 GB SSD + 1 TB AMD Radeon RX 580 8 GB
$409.00