-
Junior Member
registered user
How can I change the persistent home file size?!
I need a bigger knoppix.img persistent home. How can I resize it?
PX.
-
Senior Member
registered user
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.
-
Junior Member
registered user
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.
-
Senior Member
registered user
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'.
-
Senior Member
registered user
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.
Similar Threads
-
By amador in forum General Support
Replies: 3
Last Post: 03-25-2005, 06:57 PM
-
By chris-harry in forum General Support
Replies: 4
Last Post: 10-09-2004, 03:28 AM
-
By SomeProgr in forum General Support
Replies: 1
Last Post: 05-09-2004, 07:24 PM
-
By STD-User in forum General Support
Replies: 3
Last Post: 07-28-2003, 07:07 AM
-
Replies: 0
Last Post: 05-05-2003, 06:50 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

Vintage 5.25" Floppy Disk Drive Cleaning Kit Lot (1 Scotch 3M + 1 Verbatim) NOS
$49.00

Vintage HP Hewlett Packard 2112A 21MX 1000 M-Series 16-Bit Minicomputer
$419.99

Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New
$75.00

Vintage ECS Micro-ATX Desktop Case | Beige/Dark Grey | *READ*
$80.00

Wyse Terminal Wy-50 With Cherry Mx Keyboard Vintage CRT Monitor WORKS
$299.00

VINTAGE 16" BLACK NYLON IBM THINKPAD NOTEBOOK LAPTOP MESSENGER CARRYING CASE BAG
$32.95
![Apple Macintosh Boot Disk System [1.0 - 8.0] 400/800k/1.4 Floppy for Vintage Mac picture](/store/img/g/EhEAAOSwg7ZnexmU/s-l225/Apple-Macintosh-Boot-Disk-System-1-0-8-0-400-800k-.jpg)
Apple Macintosh Boot Disk System [1.0 - 8.0] 400/800k/1.4 Floppy for Vintage Mac
$14.75

Vintage Tandy Color Computer Print Master Software Manual & Floppy Disk Binder
$38.00

Vintage 1986 Goldenrod Research Corp CP/M Desktop Computer Syste w/Keyboard
$350.00

Vintage Toshiba Satellite 4090XDVD Intel Celeron 400Mhz Retro - Powers up Cards
$57.59