Results 1 to 5 of 5

Thread: How can I change the persistent home file size?!

  1. #1
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    12

    How can I change the persistent home file size?!

    I need a bigger knoppix.img persistent home. How can I resize it?

    PX.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    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.

  3. #3
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    12
    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.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    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'.

  5. #5
    Senior Member registered user
    Join Date
    Sep 2003
    Posts
    106
    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

  1. Replies: 3
    Last Post: 03-25-2005, 06:57 PM
  2. How do you change the screen size?
    By chris-harry in forum General Support
    Replies: 4
    Last Post: 10-09-2004, 03:28 AM
  3. Change screen size in knoppix
    By SomeProgr in forum General Support
    Replies: 1
    Last Post: 05-09-2004, 07:24 PM
  4. Persistent Home Directory Size
    By STD-User in forum General Support
    Replies: 3
    Last Post: 07-28-2003, 07:07 AM
  5. 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
  •  


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



Seagate BarraCuda 28TB 7.2K SATA 6Gb/s 3.5in Internal HDD ST28000DM000 - Tested picture

Seagate BarraCuda 28TB 7.2K SATA 6Gb/s 3.5in Internal HDD ST28000DM000 - Tested

$670.00



Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$318.99



Seagate ST4000NM0034 Enterprise 4TB 7200RPM SAS 12Gb/s HDD v4 picture

Seagate ST4000NM0034 Enterprise 4TB 7200RPM SAS 12Gb/s HDD v4

$39.00



Seagate ST500DM009 BarraCuda 500 GB 3.5

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive

$14.99



HGST HUS724040ALA640 HDD 4TB SATA 6Gb/s 7.5K 3.5

HGST HUS724040ALA640 HDD 4TB SATA 6Gb/s 7.5K 3.5" 0F19459 512 b/s

$78.00



Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD

$329.00



Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS picture

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS

$184.99



DELL 2TB Enterprise HDD (7200RPM, 3.5

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600

$49.95