Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: resizing knoppix-data.img

  1. #11
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Ok, new information for me then.

    Then the only issue I see is space. Because effectively you are making a backup copy it, and then also you make an increased sized copy of it. It will be hard to fulfill this requirement on a true flash installation with space constraint.

    If the whole thing is worked on based on a offline method, then the actual knoppix-data can be worked on directly. The space requirement is minimum.

  2. #12
    Junior Member registered user
    Join Date
    Aug 2007
    Posts
    16

    Followup

    Yes, I meant that script as reference for future HD/USB installs. It's common to size based on current popular sizes and as you upgrade your USB devices, usually about twice the previous popular/critical mass size, would make the script usable for 75% of the people out there. I mainly posted it here for future reference for more advanced users (and as an offsite-backup).

    I added in your aes stuff in case i ever decide to encrypt my home filesys. Complete and configurable with reasonable defaults (including knowing how to uncomment lines for beginners).

    Cheers.

  3. #13
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Your stuff is definitely useful.

    But I am hopeful that someone will take up the challenge of integrating the resizing into minirt.gz to provide resizing as a cheat code. The cheat code maybe is :-

    knoppix increment=100

    It then will increase the persistent store by 100MB, if only the space is available ( can use the same method which knoppix does to determine free space available). Since it works on the persistent store before it is mounted, the persistent store itself is directly worked on, without needing to make a copy, and so has the smallest space requirement.

  4. #14
    Junior Member
    Join Date
    Mar 2011
    Posts
    3
    I resized the knoppix-data.img but the size of loop0 remained the same - I need more space in loop0 in order to apt-get update and then apt-get install adobe or apt-get install flashplugin-nonfree. What do I do?

  5. #15
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Hi,

    Wot, no reply yet ?

    Quote Originally Posted by rbrayer View Post
    I resized the knoppix-data.img but the size of loop0 remained the same
    It sounds like you didn't quite follow the instructions. How ? Since only you were there, only you would know.

    Quote Originally Posted by rbrayer View Post
    What do I do?
    Hmm ... I think everyone resizes their persistent store at least once but Knoppix does not come with a convenient way to do this.

    This simplest way (in that it requires least knowledge of Linux) is to start again. You could backup important stuff somewhere else first and restore it afterwards but you'd have to reinstall new software all over again so you might find it a bit of a pain.

    A cheat code would be nice. There is now a pair of cheat codes that would serve http://www.knoppix.net/forum/threads...ersistent-data but you would have to install these yourself and I would not recommend that if you are not Linux capable and have not made becoming so one of this year's resolutions.

    The instructions in this post seem clear and simple enough even though they don't use everyday commands. I have never done this myself. I can't see anything dodgy in the procedure but like kl522, I rather do it while the persistent store isn't mount.

    There is another possibility that you may find easier to follow: http://www.knoppix.net/forum/threads...update*.tar.gz. I would not use this myself because there are a couple of cases it does not handle but, for you, that might not be important and it may be less hassle that starting from scratch. I think the method is sound provided you do it immediately after remastering. Since the chap who devised this was trying to avoid remastering in the first place ...

  6. #16
    Junior Member
    Join Date
    Nov 2011
    Posts
    4
    I keep getting this message no matter what I am doing:
    You need to have a /media/sdb1 mounted
    Of course, it is mounted :P

  7. #17
    Junior Member
    Join Date
    Nov 2011
    Posts
    4
    Still getting the same message:
    You need to have a /media/sdb1 mounted

  8. #18
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Please tell us, what you are doing and step by step how you did it. What error messages you've got and in which situation?

    In this forum there are no clairvoyants.

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD (Knoppix V6.7.1 remaster)

  9. #19
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93
    It happens when you try to resize a mounted cloop knoppix-data.img. Size of cloop remains the same, but size of file increase.
    You need to do using a live session of Knoppix, for example, so the cloop persistent data will not mounted and you can safe use it.

    It 's happened to me the first time
    Bye

Page 2 of 2 FirstFirst 12

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 PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR picture

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR

$95.20



Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working picture

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working

$149.99



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB

$149.99



Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$174.99



Dell PowerEdge M620 Blade Server 2x Xeon E5-2620 64GB RAM 10GbE picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2620 64GB RAM 10GbE

$149.99



Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays picture

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays

$799.99



HPE PROLIANT BL460C GEN 9 813198-B21 2.5

HPE PROLIANT BL460C GEN 9 813198-B21 2.5"x2 Server Blade SEE NOTES

$21.08



Datto S4P10 1U Blade Rack Server Intel Xeon D-2143IT 2.20GHz 48GB DDR4 4-Bay PSU picture

Datto S4P10 1U Blade Rack Server Intel Xeon D-2143IT 2.20GHz 48GB DDR4 4-Bay PSU

$197.76



Dell Poweredge VRTX 25Bay 2.5

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS

$578.08



AS IS READ DESCRIP. Supermicro SuperServer 6026TT-HIBQRF 12-Bay 4x X8DTT-HIBQF picture

AS IS READ DESCRIP. Supermicro SuperServer 6026TT-HIBQRF 12-Bay 4x X8DTT-HIBQF

$215.00