Boiling Down Slackware Linux to the Essentials?
noxious420 asks: "I need to crank out a large number of very basic Slackware based Linux boxes. I am familiar with the "canned" distribution sets that FreeBSD uses and I want to use a set similar to the "Minimal" - "The smallest configuration possible" set. In Slackware's Expert install mode, I have been able to boil it down to the very bare essentials that it needs to run, but there are some unused and leftover directories that I had to manually delete. I don't want to clean up these directories every time. Is there some way to get a true "minimal" Slackware install? "
Well, you could always tar xfvz whatever.tgz, delete what you don't want, then rearchive the resulting tree(s). Slack packages are just standard tarballs with an install.sh script that you may need to modify.
If a bunch of the machines are the same, install one one machine how you like it and then look into making an image (ISO or something) of the hard drive and basically just plastering that onto hard drives instead of actually installing. Also, if they are networked... there should be some way to install over the network to make it a lot easier. Or even find the offending directories in the install, make a new install which has them removed and burn that to a CD.
_joshua_
I've been thinking about doing something similar for a while: create a "standard" personal distribution that can just be dropped into place on a new machine. It seems like the best plan would be to install a new machine exactly how you want it, and, on a spare partition, create one bigass tarball. Copy this tarball to a CD. Create a boot disk, minimal kernel with CD support. Boot off the boot disk, create the new partitions, and then untar the image from the CD. Is this an oversimplification? Maybe, but maybe not. There's really no reason why Linux has to be more difficult than this. Of course, this assumes that the machines have similar hardware, which is often the case when you get machines in batches. darren
Cthulhu for President!
(darren)
I don't recommend this, even though theoretically it should work. I found that machines that are supposed to be the same often aren't. There may be a different rev level of chipset and a bunch of other little things. Most probably won't cause a train wreck, but I bet some will, in which case the cause will be far from easy to determine. One time I got a couple of shipments of Dells back-to-back and sure enough, some of the machines in the 2nd shipment had a slight difference in CD-ROM - probably wouldn't have added up to much, but considering that Linux is pickier about hardware than NT and NT is a LOT pickier than Win98/95/etc., I wouldn't rely on the disk-image trick for "cloning" machines.
install only the A and N series and select ask for each package in the install. i've crammed it down to 30 megs with full networking (lpd, httpd, ftpd + ethernet stuff + ppp,slip) and basic stuff. and ive installed it on multiple 386/486 boxes with 40 meg hdd's and 8 megs RAM. works great too. i recommend slack 4 or 3.5 instead of the flashy stuff (7.0)...