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 R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$246.67



Dell Poweredge XC730xd 3.5 2x E5-2690 v3 2.6ghz 64gb JBOD 12x Trays 2x1100w picture

Dell Poweredge XC730xd 3.5 2x E5-2690 v3 2.6ghz 64gb JBOD 12x Trays 2x1100w

$239.99



DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY picture

DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY

$329.00



Dell R730 8B LFF 2x 2.40GHz 14C Intel Xeon E5-2680 v4 32GB RAM 2x 3TB HDD HBA330 picture

Dell R730 8B LFF 2x 2.40GHz 14C Intel Xeon E5-2680 v4 32GB RAM 2x 3TB HDD HBA330

$299.99



Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU picture

Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU

$419.99



PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB picture

PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB

$200.00