Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: knoppix essential packages?

  1. #1
    Junior Member
    Join Date
    Aug 2012
    Posts
    1

    knoppix essential packages?

    Hi All,
    I want to do a remaster of latest CD version of knoppix. Basically, I want to strip out all the apps and add a few I need. I am comfortable with doing the traditional chroot method, and removing packages manually, but I want to proceed without breaking any of the great hardware detection. Is there a list of essential packages that should be left intact to not break the hardware detection and auto-config? Thanks for the help, it is much appreciated.
    Dave

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I don't think that there exists a list of essential packages for the public.

    What parts are considered essential depends on whether you need ADRIANE. I think that is safe to remove the Libre Office packages. Removing or upgrading packages might include the removal of ADRIANE.

    I think that you should create a list of all packages first. The dpkg command can create such a list.

    If you find a file and want to find out to what package it belongs to you can use the search function of the dpkg command. Then you can try to remove that package by using the apt-get command with the --simulate option. This will show you what other packages would also be removed.

    As you can imagine it will be a really time consuming task.

  3. #3
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Dave,
    You are essentially asking for a Knoppix version (adaptation) of debootstrap. I have also asked for that, and I think there is a need for it.
    In my experience, the approach to minimalism by substantial package purging is unsafe at any speed. Remove, games, some utilities, LibeOffice, yes - but it is very easy to get a malfunctioning system when proceeding further.
    But, how much free space do you need? I would guess you could at least free a few hundred megabytes safely - and I would have kept it at that. Or created a small DVD ISO instead of CD, to avoid that CD size limit.

  4. #4
    Junior Member
    Join Date
    Jun 2012
    Posts
    19
    Hate to throw cold water on all this remastering, but is it possible that someone who has created a minimalist knoppix that still does hardware-detection and creates the unionfs with persistence could just make it available? I'm having trouble in this area also and would like to start from the smallest possible iso. If someone has such a beast, please make it available.

  5. #5
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by dwstarke View Post
    Hate to throw cold water on all this remastering, but is it possible that someone who has created a minimalist knoppix that still does hardware-detection and creates the unionfs with persistence could just make it available? I'm having trouble in this area also and would like to start from the smallest possible iso. If someone has such a beast, please make it available.
    Well, I see that you probably don't know how easy remasterings can be done nowadays I have even remastered running in a virtual machine under qemu, so the pc may still be used for all other things during remastering. Remastering from your own adaptation is almost always faster, safer and simpler than working out from someone else's.

    I also see that you probably haven't worked much with upgrading. Having created minimal versions of a few Knoppix releases manually, that's a thing of the past for me. That very effect may be one reason why there seem to be few updated minimalist Knoppix offerings nowadays. I would guess many in need of such things will rather work out from Ubuntu's version of debootstrap - which I have turned to myself, too. Chrooting into that from Knoppix is, IMHO, one of the most efficient ways to achieve minimalism available right now.

    A Knoppix version of debootstrap would let you create those beasts you are looking for quickly, easily and safely

  6. #6
    Junior Member
    Join Date
    Jun 2012
    Posts
    19

    I'm having the very problem you describe

    I can't determine (on my own) which packages to take out of the mix. I have had some experience in the ancient past of recompiling Slackware 0.98, but no experience with modern linux. I don't mind remastering and I think I'm pretty close to taking Knoppix 7.0.3 and chrooting into it and then being able to reconstitute the iso. What I cannot seem to be able to do at all is remove packages that I think should not effect the iso, yet I have problems. This is exactly what you describe in your original post. So, I guess, that I wish there was a minimalist Knoppix that I could add to, since my hunch is that adding won't create as many problems as removing. Forgive me if my logic is faulty.

    Thanks for your guidance here. I have no idea about Ubuntu.

  7. #7
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by dwstarke View Post
    I can't determine (on my own) which packages to take out of the mix. I have had some experience in the ancient past of recompiling Slackware 0.98, but no experience with modern linux. I don't mind remastering and I think I'm pretty close to taking Knoppix 7.0.3 and chrooting into it and then being able to reconstitute the iso. What I cannot seem to be able to do at all is remove packages that I think should not effect the iso, yet I have problems. This is exactly what you describe in your original post. So, I guess, that I wish there was a minimalist Knoppix that I could add to, since my hunch is that adding won't create as many problems as removing. Forgive me if my logic is faulty.

    Thanks for your guidance here. I have no idea about Ubuntu.
    I think there is no fault in logic per se, the main problem is that it seems that even Klaus Knopper may occasionally have problems stripping down to a CD version. Because of special adaptations and some general differences in approach, Knoppix and general Debian are quite different distro-wise, and seemingly diverging. Last year, I was able to mix and match vanilla Debian and Knoppix 6.4.4 for a pure 64-bits Knoppix version, couldn't repeat that with Knoppix 7.X.

    Ubuntu is quite close to both, and my recent experience with it has been quite positive. (Much better than some years ago.) Maybe Ubuntu's version of debootstrap (which has worked flawlessly for me) could be adapted to Knoppix?

    I think your hunch that adding is much safer than removing is quite to the point for today's versions. And because Klaus K's approach to booting and HW detection is the only one I have seen that I really like, I would really like to have a minimalist Knoppix. But anyone who wants something like that right now, should probably check out Ubuntu live.

  8. #8
    Junior Member
    Join Date
    Jun 2012
    Posts
    19

    Can we build a minimalist knoppix from say Debian live?

    To do so would probably mean we would have to Kang (android slang) the scripts and the Knoppix deb packages Klaus created with the normal init sequence of the Debian live. I cannot judge whether this might be easier than stripping the Knoppix cd or not. One advantage would be a possible unification of packages into "testing" Debian, which might make remastering "even easier"TM

    What do you think?

  9. #9
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    I'm very glad we can probably do it the other way round: Using Knoppix init, and adjoin necessary Debian packages. IMHO, Knoppix init is much better! That was also what I did to make a 64-bits version of 6.4.4. One problem, is that several of Klaus K's Knoppix packages are seemingly not available for separate install. This may be because they are named the same for different releases, but may actually have some differences? (I just wonder.) A knxbootstrap utility would have to be able to download and install all Knoppix packages.

    I have successfully chrooted from 7.X into a debootstrap-based 64-bits Ubuntu running, for example, 64-bits qemu, and I think that is currently the simplest way to run pure 64-bits routinely and (mostly) version-independently on a Knoppix-based system. In this situation, I am effectively using a bare-bones version of Knoppix. So, isolating the packages involved and merge them with the debootstrap set could get us there.

  10. #10
    Junior Member
    Join Date
    Jun 2012
    Posts
    19
    Yes, I agree. I am taking a two-pronged approach.

    I am systematically stripping out small sections and then testing the resultant remastered KNOPPIX. This is slow going.

    I have installed Ubuntu 12.04. and have installed a "precise" debootstrap chroot. Using a Knoppix poor man's install, I can (like Capricorny) chroot into this file tree and have installed all the Knoppix debian packages. I am now doing the tedious reading of the init scripts. Fortunately for us, Klaus moved from a compiled C hwsetup to a shell-script version. This suggests to me that this might just be possible. I am struggling to come up to speed on cloop and aufs so that the permanence feature can be debugged successfully. I would appreciate a citation from anyone with a resource for the requisite "how-tos".

    I am now envisioning a basic KNOPPIX compressed fs with minimal software, a KNOPPIX2 file containing the software of choice, utilizing the ramdisk fs method Klaus was discussing in the other thread.

    The result should be a read-only OS/app system (secure) with an easily backed-up persistent home directory (with the attending app configs) that will run on any system (because of the great hw detection). In my case, it will have the added advantage of being more purely Debian, so that further dev. will be almost trivial.

    I will move somewhat slowly due to the lack of large blocks of time. I would be happy to collaborate with anyone who has a more advanced knowledge (or more time than I). If you have Ubuntu already installed, the setup is incredibly easy.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cisco GLC-SX-MM 1000Base SX SFP Transceiver Module 30-1301-02 picture

Cisco GLC-SX-MM 1000Base SX SFP Transceiver Module 30-1301-02

$5.99



Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver picture

Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver

$24.99



Dell EMC FTLF8532P4BNV-E5 019-078-057 32G SFP28 Fiber Channel 850nm Transceiver picture

Dell EMC FTLF8532P4BNV-E5 019-078-057 32G SFP28 Fiber Channel 850nm Transceiver

$57.00



Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP

$249.99



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver picture

F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver

$4.00



Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver picture

Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver

$9.00



LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture

LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module

$89.00



10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module picture

10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module

$85.00