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
  •  


For Lenovo IdeaPad 3 15IIL05 15IML05 15ADA05 15ARE05 Palmrest Keyboard Touchpad picture

For Lenovo IdeaPad 3 15IIL05 15IML05 15ADA05 15ARE05 Palmrest Keyboard Touchpad

$59.25



NEW Palmrest Keyboard For Lenovo Thinkpad E15 Gen 2 20T8 20T9 Black 5M10W64513 picture

NEW Palmrest Keyboard For Lenovo Thinkpad E15 Gen 2 20T8 20T9 Black 5M10W64513

$80.99



New For Lenovo Yoga 7 14IRL8 Palmrest Keyboard 5CB1L40794 82YL0005US 82YL0006US picture

New For Lenovo Yoga 7 14IRL8 Palmrest Keyboard 5CB1L40794 82YL0005US 82YL0006US

$147.95



Lenovo 100e Chromebook Laptop 2nd Gen | 11.6

Lenovo 100e Chromebook Laptop 2nd Gen | 11.6" HD | MTK 1.7GHz | 4GB RAM | 32GB

$39.99



Lenovo - LOQ 15.6

Lenovo - LOQ 15.6" Gaming Laptop FHD - Intel Core i5-13420H with 8GB Memory -...

$629.99



Lenovo Ideapad 1i 15.6

Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD

$349.99



Lenovo ThinkPad X1 Nano 13

Lenovo ThinkPad X1 Nano 13" Touchscreen 2K i7-1180G7 16GB/256GB Win 10 Pro

$535.00



Lenovo ThinkPad Yoga 11e 11.6

Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10

$59.00



Lenovo ThinkPad 14

Lenovo ThinkPad 14" Laptop Computer Core i7 16GB RAM 256GB SSD Windows 10 Pro

$229.99



Lenovo 100e Laptop PC Computer 11.6

Lenovo 100e Laptop PC Computer 11.6" Windows 10 Celeron 4GB RAM 64GB SSD

$89.99