



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)
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.
Re: (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.
Re: (Score:1)
Fedora 7 tool "Revisor" (Score:2)
Fedora doesn't really produce a Linux distribution anymore -- they produce a well-integrated Linux repository and the tools to make distribution media "spins" (live disc, installation disc, repository subset) from that repository or to do installations directly from that repository. The Fedora 7 ISO
Instalinux (Score:2)
try autoyast (Score:2, Informative)
To do it easily... (Score:2)
Seriously, package integration (or removal) is NOT easy, in general, and trying to get it foolproofed is a major headache. What do you do if someone wants to "easily" remove some useless stuff he never uses (expat) but not the programs that depend on it?
You will eventually reinvent all the huge and occasionally buggy installers everyone's got, or something equivalent.
It's not going to be easy. It might be worth it, but think about it first; do you really need that level of custo
Re: (Score:2)
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.
Re: (Score:2)
In my experience, if you really need to get small, just use DamnSmallLinux. Tack on the apt and actual gnu utils dsl packages, and you're in business, and there's
Re: (Score:3, Insightful)
I find that, for the most part, apt will warn you if you try to remove something important... But not always. When in doubt about one of the packages it shows, try checking what it does with something like:
dpkg-query -W --showformat='${Installed-Size} ${Package} ${Description} ${Status}' packagenamegoeshere
You should also run deborphan every f
Take a look at these two? (Score:1)
Re:Take a look at these two? (Score:5, Informative)
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.
Links to Ubuntu install cd customization docs (Score:2)
https://help.ubuntu.com/community/InstallCDCustomi zation [ubuntu.com]
https://help.ubuntu.com/community/InstallCDCustomi zation/Scripts [ubuntu.com]
https://help.ubuntu.com/community/InstallCDCustomi zation/PreseedExamples [ubuntu.com]
Enjoy!
Ubuntu (Score:1)
i have not used it, but there is: (Score:1)
NimbleX is based on Slackware...
FAI (Score:1)
http://www.informatik.uni-koeln.de/fai/ [uni-koeln.de]
-P
Re:How I do "replay" a modified Debian/Ubuntu Inst (Score:2)
Re: (Score:2)
Unfortunately, debian still does not read everything in every package out of the debconf database so even prepopulating it will not always help. So unless you are doing 50+ it is cheaper to make a custom package, but still hire someone to press enter and
Re:How I do "replay" a modified Debian/Ubuntu Inst (Score:2)
1) on master machine, 'dpkg --get-selections > packages.txt'
2) do a base install on new machine
3) move packages.txt over to new machine
4) 'dpkg --set-selections < packages.txt' on new machine
6) on new machine, 'dselect install'
7) follow prompts
HTH
gNewSense (Score:2)
Gentoo Catalyst (Score:2)
For a large scale roll out this tool is ideal. It is not easy or idiot proof on the admin side, but once you make your custom ISOs, it will be painless on the user side.
From their site: http://www.gentoo.org/proj/en/releng/catalyst/ [gentoo.org]
Educational - LFS (Score:1)
Linux From Scratch [linuxfromscratch.org] guides you through making your own 'distro' from sources.
Its very interesting since it shows how different things work in Linux. However it can be practical for making a minimal system...
For your purpose, Knoppix seems very practical (based on Debian with the easy package management). "Knoppix Hacks" from O'Reilly contains a chapter on remastering the ISO
Edubuntu (Score:1)
Ubuntu Reconstructor (Score:1)
rPath/Conary (Score:1)