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 R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45

$418.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$208.99



Dell PowerEdge R420 Dual Intel Xeon E5-2440 v2 @1.90GHz 32GB RAM No HDD H710 picture

Dell PowerEdge R420 Dual Intel Xeon E5-2440 v2 @1.90GHz 32GB RAM No HDD H710

$74.50



Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD picture

Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD

$139.99



Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox

$320.00



Dell Poweredge R210 II Server Xeon E3-1220 v2 3.1ghz Quad Core / NoRam / 1x Tray picture

Dell Poweredge R210 II Server Xeon E3-1220 v2 3.1ghz Quad Core / NoRam / 1x Tray

$69.99



R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU picture

R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU

$172.95



DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45 picture

DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45

$232.97



Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT picture

Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT

$490.00



Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w

$359.99