I need a bigger knoppix.img persistent home. How can I resize it?
PX.
I need a bigger knoppix.img persistent home. How can I resize it?
PX.
assume it is on /mnt/hda1,
1. dd of=/mnt/hda1/new_home if=/dev/zero bs=1M count=50
this create a new 50M file
2. mke2fs -j /mnt/hda1/new_home
this create a new ext3(or you can choose other fs) on new_home
3. mount /mnt/hda1/new_home /mnt/test -o loop
mount it to a mount point at /mnt/test
4. cp -dRp /home/* /mnt/test/*
copy everything over
5. mv /mnt/hda1/knoppix.img old_home; mv /mnt/hda1/new_home knoppix.img
replace it. when everything is cofirmed work, you can delete the old one.
Ok, that's what I already tried! The problem comes with the actual copy command.. I first used "cp -a".. It didn't work. Not all files were copied.. I tried your "cp -dRp" and it didn't work either! There are some files that just won't get copied! I tried to boot Knoppix without persistent home, then mout knoppix.img in some dir, new_knoppix.img in another dir... but I can't copy (all) the files from one dir to another! And those are just normal files! That's strange...
Any ideas?!..
PX.
well, try tar then. tar is supposed to be the right tools to do this kind of thing(in the past, backup everything to a tape).
or may be 'rsync'.
I used KDE to resize my Knoppix 3.2 persistent home. Here's the process:
Copy your personal files from the knoppix home to a folder on a hard drive mounted read/write.
Reboot Knoppix without mounting your Knoppix home (no home=scan entry).
Unmount the hard drive you will use for the persistent home.
Go to kmenu, knopppix, configure, and make a persistent home of the new size you want.
Knoppix will make a new sized home over your old home. Be patient, it can take a while.
When the question about encryption comes up, it's done.
Reboot with mounting of the Knoppix home; and the new space should be there.
Go to kmenu, system, info center, storage devices to check the size and free space.

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00
Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99
Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working
$149.99
NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER
$1499.97
Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB
$149.99
Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays
$799.99
Cisco B200 M3 2x E5-2670V2 10 Core 8x 16GB-128GB Ram Blade Server VIC1240 14900R
$399.00
LOT (8) Cisco UCS UCSB-B200-M5 2x6248R 24 core 3.0G 24x64g DDR4-2933 ram
$112000.00
Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric
$174.99
Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$96.60