Results 1 to 8 of 8

Thread: How do I Change USB memory for bigger

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Location
    Warminster, PA, USA
    Posts
    4

    How do I Change USB memory for bigger

    I have saved knoppix settings to config.tbz and knoppix.sh file
    I have also created persistant disk image called knoppix.img and it was set to 100MB

    I used Konqueror to view knoppix.img and it was 88.5MB inside /home was 61.5MB. I cannot download any more mail in tbird, disk "full". I have already deleted trash, collected (compresed ?) the folders. I have cleared cache and other things in mozilla/firefox. Now full again.

    I have a NEW 512MB USB stick, If I copy (in windows I suppose) the 3 above files to the new stick, will it work ? if so, how do I enlarge the 100MB knoppix.img file to 450MB ? If i have to create a new stick wtih empty files, how do I move the mail, installations, etc from the full koppix.img to the empty big one ?

    Rich Sias

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    one way is to boot with new stick in place.
    make a new permanent home.
    reboot with new pen not plugged in
    when knoppix is fully booted plug in new pen and copy the knoppix.sh and the configs.tbz over to new pen (same dir where the new knoppix.img is).
    reboot (again) with new pen (with new home) plugged in and point knoppix there.
    plug old pen in and mount it
    now you mount the knoppix.img file
    Code:
    mout -t ext2 /mount/point/to/old/knoppix.img /desired/mount/point -o loop
    copy everything from the old to the new home
    Code:
     cp -a /desired/mount/point/* /knoppix/home/knoppix/
    now unmount the old knoppiximage
    Code:
    umount /desired/mount/point
    reboot with new pen in place and things should be there.
    if not let me know.

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Location
    Warminster, PA, USA
    Posts
    4
    Thank you for the great suggestions. I made a slight change and everything went very well. I started with an empty 512MB stick saved Knoppix configuration and created persistant Knoppix image with 450MB space reserved. I then rebooted and copied over the knoppix.sh and configs.tbz files. Then I booted up without the sticks and THEN mounted both of them and mounted the knoppix.img file in each. Neither were active so no problems with open files etc. I ran the cp -a command noted and all went just fine. I did properties on each mounted img file system and both were slightly over 90MB. The new one actually had a few more bytes and 2 more subdirectories. I don't think anything got dropped. Old 90.3MB and new 90.5MB. There must be nearly 10MB in formatting overhead for ext2, wow costly overlay. 435.5 MB total, I asked for 450 for the image size so loss is up to 14.5MB now. At least I now have 339MB free now.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    hmm, that is a safety feature in EXT filesystem, it reserves 10% for root, then you have the journals in ext3 that take some room, the journals help restore things after a crash...
    below is a qoute from man mke2fs.
    -m reserved-blocks-percentage
    Specify the percentage of the filesystem blocks reserved for the
    super-user. This avoids fragmentation, and allows root-owned
    daemons, such as syslogd(, to continue to function correctly
    after non-privileged processes are prevented from writing to the
    filesystem.
    the code below would make a blockchecked filesystem (very thurough scandisk) type ext3 with only 1% reserved.
    Code:
    mke2fs -jvc -m 1 /dev/whatever

  5. #5
    Junior Member
    Join Date
    Sep 2005
    Location
    Warminster, PA, USA
    Posts
    4
    hmm, that is a safety feature in EXT filesystem, it reserves 10% for root, then you have the journals in ext3 that take some room, the journals help restore things after a crash...
    below is a qoute from man mke2fs.
    Except with command "create persistant Knoppix image" creates an ext2 file system withing a knoppix.img file in a vfat system. Not sure if this info could be applied to adjusting the Knoppix.img file that is automatically created with the above command. Since I asked for 450MB and found that the overhead costs were 15.5MB as I saw that full space on the img file was 439.5MB. I think that I can live with that space ok for quite a long while. It took like 2+ hours to format that img file into a ext2 format within the vfat stick. I feel that I don't really need to do much as I probably would still like to leave at least a 5Meg or more cushion. It is nice having a cushion to allow for pending writes to complete that last of the write even when running over the limit in the "disk". It just seems like too much bother to gain 10Megs on a 450Meg portion. I used to be in a 100Meg less 9.5 so this is lots more room for quite a long time. Welll.... maybe a couple of weeks anyway. Data has a way of expanding to fill any vacum allotted to it.

  6. #6
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    only diference between ext2 and ext3 is more or less the journals.

  7. #7
    Junior Member
    Join Date
    Dec 2005
    Posts
    3

    Re: How do I Change USB memory for bigger

    Quote Originally Posted by Prayer
    I have saved knoppix settings to config.tbz and knoppix.sh file
    I have also created persistant disk image called knoppix.img and it was set to 100MB
    Rich Sias
    I can't get Knoppix or Kanotix to bring back my previous desktop configuration. Do you have to make the config.tbz and knoppix.sh at the end of each session if you create a persistant USB /home?

  8. #8
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    yes, atleast if you change something outside your /home,

Similar Threads

  1. Cant go bigger then 1024x768
    By ILoveKagome in forum Laptops
    Replies: 1
    Last Post: 12-30-2006, 07:33 AM
  2. Win98 doesn't like it bigger
    By snarkbait in forum MS Windows & New to Linux
    Replies: 5
    Last Post: 08-05-2005, 04:00 AM
  3. Remastered 3.6 iso is bigger (even I don't add nothing)
    By tlamik in forum Customising & Remastering
    Replies: 6
    Last Post: 10-07-2004, 08:19 AM
  4. Desktop is bigger than my screen. How do I fix?
    By onzey in forum General Support
    Replies: 4
    Last Post: 06-23-2003, 11:51 PM
  5. Bigger Screen
    By DavidTempler in forum General Support
    Replies: 1
    Last Post: 05-22-2003, 04:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



Lot of 7 SK hynix 16GB DDR4-2400 ECC RDIMM HMA42GR7AFR4N-UH Lenovo 112GB picture

Lot of 7 SK hynix 16GB DDR4-2400 ECC RDIMM HMA42GR7AFR4N-UH Lenovo 112GB

$369.99



64GB DDR5 Registered ECC Server Memory PC5-38400R 1x64GB SK Hynix picture

64GB DDR5 Registered ECC Server Memory PC5-38400R 1x64GB SK Hynix

$2699.00



Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack picture

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack

$175.90



Sandisk 32GB 64GB 128GB 256GB Cruzer Glide Flash Drive USB 2.0 Memory Lot picture

Sandisk 32GB 64GB 128GB 256GB Cruzer Glide Flash Drive USB 2.0 Memory Lot

$201.78



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



SK hynix 16GB DDR4 288-Pin DIMM PC4-2133P ECC Registered RAM HMA42GR7MFR4N-TF picture

SK hynix 16GB DDR4 288-Pin DIMM PC4-2133P ECC Registered RAM HMA42GR7MFR4N-TF

$50.00



Intel Optane PMem 256GB DDR4 3200MHz 200 Series ECC RDIMM Memory NMB1XXD256G2S picture

Intel Optane PMem 256GB DDR4 3200MHz 200 Series ECC RDIMM Memory NMB1XXD256G2S

$230.00