How to Easily Make Custom Linux Install ISOs? 39
Jason Tilke asks: "I recently read an article which discusses HP's LinuxCOE v4. We've been wanting a system to make rolling out custom but standardized systems (in terms of package selection) and LinuxCOE seems to fit the bill. Are there any alternative that'll spit out custom ISOs which our non-technical staff can use to install a complete Linux system? Has anyone had any positive/negative experience with LinuxCOE? Are there any precautions/steps we should take to prevent us from tripping over our new changes?"
Fedora 7 (Score:5, Informative)
try autoyast (Score:2, Informative)
Re:Fedora 7 (Score:5, Informative)
See here [techonthenet.com] for example. It tells how to generate new ISO images from the original ISOs and updated RPMs. I've personally used the tools to build stripped down versions of Redhat/Fedora that include everything I need, but on a single CD. You can also include a kickstart file on the CD so that you can give a "linux ks=cdrom" at the initial install prompt to run a fully automated install. I don't think Redhat would have ever been as useful to corporations had it not had this option. Why install old RPMs? Install the OS with the latest, greatest everything.
Knoppix. (Score:5, Informative)
Take a look at Knoppix Remastering [knoppix.net].
In a former life, I used to build custom embedded Linux distros as the base platform for other company projects; Knoppix makes it so easy, if I hadn't already moved on from that job, it would have sent me to the unemployment line.
Actually, I exagerate a tad there - Knoppix makes it almost trivial to get a customized Debian-based system down to the 40-50MB range; On my most challenging project, I managed to get a stable system running custom builds of X and Mozilla to fit on a 16MB flash disk. But presuming you don't have quite such minimalistic hardware requirements, Knoppix makes the task a breeze. Just unpack it, chroot into it, "apt-get remove" whatever you don't want and build whatever else you do, and roll it back into a cloop'd iso. C'est fini.
For comparison, I usually prefer to run Slackware as my normal Linux distro, and looked into Slax [slax.org] before Knoppix. For some tasks you might find it easier to work with, as it uses a more modular approach, but I found that far more limiting and inconvenient if you want to make fine-grained tweaks or even just alter configuration details without swapping out whole packages.
I've used a few approaches, including systemimager (Score:3, Informative)
I've also used SuSE's autoyast which records package selection and config settings that you can then use as input for subsequent installs. This is well documented. I also used RedHat's kickstart awhile ago but didn't do too much with it.
Most recently I've created custom ISOs for Ubuntu using the preseed mechanism. This requires editing a few text files specifying such settings as network config, default desktop, etc. There is a way to put your extra packages right on the CD but I just have a firstboot script that updates from a local repository using a list of package names to install. Metapackages are also useful here as you can make a metapackage that just depends on all the packages you want and update that whenever you wish all the existing or new machines to get new packages.
All of these options are fairly well documented but may take some trial and error work to get things the way you want. It really depends on the distro you are using.
Re:Take a look at these two? (Score:5, Informative)
Re:Fedora 7 (Score:3, Informative)
Fedora Unity have been doing respins for quite a while. The Revisor [fedoraunity.org] tool makes it possible to this with hardly any trouble at all.
PCtech [pctech101.com] used revisor to create an 11CD install set because although Fedora 7 could be obtained as an installable LiveCD and then packages added over the network, some people didn't have the bandwidth or a DVD, so needed the CDs.