Results 1 to 10 of 29

Thread: Re-master your flash installation

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802

    Package purging

    Quote Originally Posted by kl522 View Post
    ... The file system check time is really slow when compared to ext4.
    I use a 16.5 GB ext2 persistent store, for testing now, seems like checking takes some time.. But, it seems to work. Full system upgrade went well. Which is not obvious, as, for example, I found that dpkg halts in updates on one missing newline in one file list - regardless of dependencies. Now is the time for purging/pruning. Is there any available hinting for this? The packages list, like in http://ftp.knoppix.nl/os/Linux/distr...ckages-dvd.txt doesn't give too much clue, it seems. Is there any way to pick out the games here? Here are some deletion candidates among the 40+ MB packages. Are any of these strictly necessary or very useful?

    Code:
    dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n ...... 
    ....
    42884  context 
    44452  wireshark-common   
    45644  lmodern 
    46912 kdewallpapers  
    49972 gnome-games-data  
    51448 scribus-ng  
    52616 kde-l10n-es  
    59692 evolution-common  
    60760 pinyin-database  
    62844 openvas-plugins-dfsg  
    65260 tuxpaint-stamps-default  
    68852 kdebase-workspace-data  
    85476 mingw32  
    85972 inkscape  
    86044 neverball-data  
    98064 gcompris-data  
    101889 linux-image-2.6.37-64  
    120892 wesnoth-1.8-data  
    136684 wesnoth-1.8-music  
    203404 crossfire-maps
    In particular, identifying game packages in a simple way would be nice.

  2. #2
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by Capricorny View Post
    I use a 16.5 GB ext2 persistent store, for testing now, seems like checking takes some time.. But, it seems to work. Full system upgrade went well.
    16.5 GB persistent store is considered a huge persistent store but it is still probably not near to a point where file system check is unbearably slow. I used to have a 130 G ext3 file system which file system check takes unbearably long time to complete. I have since migrated to ext4. I am glad that I did. 130 GB is already slow, I can't imagine having a 1 TB ext3 file system !

    As I am writing, I did a small mod to my minirt.gz to support ext4. I think it is about time it should do that.

    Cheers.

  3. #3
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by kl522 View Post
    130 GB is already slow, I can't imagine having a 1 TB ext3 file system !

    As I am writing, I did a small mod to my minirt.gz to support ext4. I think it is about time it should do that.
    Very interesting if we could use ext4 - but I found that time-wise, 8GB persistent is quite OK. And I really don't think we need more when remastering. We definitely need more than 4 for upgrades and new installs, but using 8GB after remastering, we can do an awful lot of things.

    Very much to my surprise, DVD remastering, mostly following Forester's procedure, succeeded at the first try. Of course not perfectly, as I tried out alternatives and got a few things somewhat wrong. And the compressed KNOPPIX image was only 3.2 GB, with Oracle XE 10g and a lot of R packages installed. Removed a few games etc - there seems to be ample room for things like vmware workstation and a couple of servers - in fact, the USB VFAT stick concept could be enough for most uses.

    I had 4GB RAM and 10 GB swap - clearly enough. And, according to top, the I5-430M ran at 370% CPU during compression, indicating that create_compressed_fs parallelized nicely.

  4. #4
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by Capricorny View Post
    Very interesting if we could use ext4 - but I found that time-wise, 8GB persistent is quite OK. And I really don't think we need more when remastering.
    True and fully agree.

    However there is another subtle need to have minirt.gz supporting ext4, ie when the persistent store itself is a file sitting on an ext4 filesystem. Right now this configuration is not supported, one cannot have a poor-man install on an ext4 file system.

  5. #5
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by kl522 View Post
    However there is another subtle need to have minirt.gz supporting ext4, ie when the persistent store itself is a file sitting on an ext4 filesystem. Right now this configuration is not supported, one cannot have a poor-man install on an ext4 file system.
    That is a rather serious limitation for me. The hardware and file system agnosticism of Knoppix is one of the great advantages, making many system details mostly an efficiency issue.

    And the need for efficient 100+ GB volumes is clear - for many, if not most, users.

    Would it really be enough to tweak minirt.gz for Knoppix - because support is integrated otherwise?

    I have a couple more questions. First, I noticed that the ISO9660 standard was frequently violated when creating the iso file system. Some file names got changed too - what is the expected effect of this? Anything to do about it?

    Second, I come back to the cloop issue. Is there anything new on this front? Seems to me that for our special purpose, we don't need the particular features of cloop (being file system agnostic maybe the most important contrast to squashfs, which is a file system?). I am going to make some comments on this in the squashfs thread.

  6. #6
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by Capricorny View Post
    I am going to make some comments on this in the squashfs thread.
    By all means please go ahead to do it. However I will not be joining you there. I better keep my mouth shut on this topic. Everything I want to say about squashfs is already said. I have no rights whatsoever to comment on the choice of it, only the author can decide on the choice. Wow, this is indeed like trying to meddle into people's choice of religion. No way a third person can make any comments on your choice of religion, don't you think so ?

  7. #7
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by kl522 View Post
    By all means please go ahead to do it. However I will not be joining you there. I better keep my mouth shut on this topic. Everything I want to say about squashfs is already said. I have no rights whatsoever to comment on the choice of it, only the author can decide on the choice. Wow, this is indeed like trying to meddle into people's choice of religion. No way a third person can make any comments on your choice of religion, don't you think so ?
    Exactly!

    But luckily, the assumptions and assertions are to a large degree testable here.
    And if all the steps necessary for remastering are gathered into a two-step routine, with deletion/pruning and (eventually) upgrading is the first step, I don't think many will care if squashfs is being used, as long as everything works and the process can be iterated. With expanded persistent store, no program installations need to be part of the remastering process, and this is also better practice - everything that gets compressed should be well tested first.

    One feature that might come in handy in this respect, is an option to make a backup of persistent store upon system shutdown. It is much more natural to do this after running the system, and, eventually, before using the system files for upgrading, than at bootup time.

    Another feature, could be union-mounting the system to remaster as a separate file system from the running Knoppix - then any risk of open files or inconsistencies can be avoided. With squashfs at least, this should be possible.

  8. #8
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by Capricorny View Post
    That is a rather serious limitation for me. The hardware and file system agnosticism of Knoppix is one of the great advantages, making many system details mostly an efficiency issue.

    And the need for efficient 100+ GB volumes is clear - for many, if not most, users.

    Would it really be enough to tweak minirt.gz for Knoppix - because support is integrated otherwise?
    Since I am not the author I could only ***SPECULATE*** why this is not supported. For the author, it is trial to change minirt.gz to support ext4 and yet it is not supported probably :-

    1. The author does not believe in ext4, thinking it might be unsafe.
    ( Well, this is unlikely to be true because even the much more dangerous configuration of poor-man install on NTFS is at the least "installable" ).

    2. The code for support for various file system has long been written and nobody has provided the feedback for the need for ext4 or rather, the author is distant enough to be able to hear about the need for ext4 from anyone yet.
    ( This is highly likely because of the way KNOPPIX development has been taking it's course all the years - a solo project ).

  9. #9
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by kl522 View Post
    2. The code for support for various file system has long been written and nobody has provided the feedback for the need for ext4 or rather, the author is distant enough to be able to hear about the need for ext4 from anyone yet.
    ( This is highly likely because of the way KNOPPIX development has been taking it's course all the years - a solo project ).
    I think there may be a couple of more reasons for ext4 support somewhat lagging. First, out-of-the-box support for it has not been universal until recently. For instance, Red Hat Enterprise Linux only added it in the last release a couple of months ago. Second, it is just in line with the add-in philosophy of Knoppix that the no-alternatives situations are handled first: People using ext4 today, mostly know how to create partitions, and they are, mostly, in position to do it for their KNOPPIX interests. The same does not apply to most NTFS users. And the highest priority for any general purpose distro can not be to cater for the highly interested with skills to do the modifications themselves. A "standard remastering" based on the work presented in this forum could make such issues less personal, I think. Any name for such a Knoppix derivative? Geek-knoppix maybe?

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 PEM640 POWEREDGE M640 BLADE SERVER picture

DELL PEM640 POWEREDGE M640 BLADE SERVER

$539.95



Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W picture

Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W

$399.00



Supermicro X8DTT-HF+ 2*Xeon E5520 Quad-Core 2.27GHz 48GB Server Board Blade Node picture

Supermicro X8DTT-HF+ 2*Xeon E5520 Quad-Core 2.27GHz 48GB Server Board Blade Node

$44.99



Dell PowerEdge M630 Blade Server-- No Proc- No Memory - No Drives- CTO Heatsinks picture

Dell PowerEdge M630 Blade Server-- No Proc- No Memory - No Drives- CTO Heatsinks

$75.00



Cisco C220M M4 2 X E5-2690 V4 14C 2.6GHZ,128GB 4 X32GB,MRaid12G,2.4TB,10G/40G picture

Cisco C220M M4 2 X E5-2690 V4 14C 2.6GHZ,128GB 4 X32GB,MRaid12G,2.4TB,10G/40G

$399.99



🔥 World Of Warcraft Server Blade 🔥 picture

🔥 World Of Warcraft Server Blade 🔥

$943.76



HP Proliant BL460C Gen8 Blade Server 2x 8C E5-2690 192GB Ram picture

HP Proliant BL460C Gen8 Blade Server 2x 8C E5-2690 192GB Ram

$58.08



Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM picture

Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM

$45.00



HP ProLiant BL460c Gen9 Blade 2x E5-2650v4 2.2GHz =24 Cores 128GB P246 650FLB picture

HP ProLiant BL460c Gen9 Blade 2x E5-2650v4 2.2GHz =24 Cores 128GB P246 650FLB

$261.00



Dell PowerEdge M640 Barebone Server Blade No Hard Drive Trays picture

Dell PowerEdge M640 Barebone Server Blade No Hard Drive Trays

$499.00