Unmanned Player
Unmanned Player

Reputation: 1209

A custom Linux installer

Is it possible to create a custom linux installer which allows me to choose a very minimal installation which bascially includes a kernel, bootloader, basic networking/core utlities, shell and some of my own C++/Java cooked applications.

I am setting up a small cluster using a couple of old computers. I may have to often delete/re-create partitions and modify my application settings to match my requirements.

I tried both Ubuntu and Fedora and even went as far as using their remastering tools. The problem is they end-up installing packages unnecessary for my work and worse they actually startup during boot. Currently, I have scripts which will have to be downloaded to these machines to do the 'clean-up' work.

I even had a look at LFS (Linux from Scratch). It was just the thing I needed, but it had no associated installer with it. Tools for automating LFS installation like nALFS and jhalfs do not have good documentation and are unsitable for this kind of work.

It would be really good if I can make an installer iso file which will do everything in the first go itself, i.e. while installing linux. Is it possible to create such a linux installer? Are there any such ready-made tools?

Upvotes: 6

Views: 7656

Answers (5)

Pat
Pat

Reputation: 2700

Another distro that implements the minimal install and then user selected optional packages is Jeoss (server oriented).

Non PAE kernel perfect for old hardware.

It can be installed from the net 100% controlled even by a serial console or remote SSH session

http://www.vercot.com/~jeoss/default.html

Upvotes: 0

Bob Fanger
Bob Fanger

Reputation: 29897

I'm a big fan of ArchLinux, a clean and flexible linux distribution.

The installer only installs the basics (no X, just a root prompt) and allows you to customize from there.
pacman -Sy bash-completion openssh

It currently 7th on DistroWatch, the highest ranking "non user friendly" linux.

  • Very up to date (Rolling release)
  • Great package manager (pacman)
  • Lightweight and (technically) simple
  • Configuration by editing text files (not for linux newbies)
  • Easy to create your own packages.

For your setup I recommend creating an system image with CloneZilla or an other partition clone/restore tool.

After the restore you'll just have to change the hostname to use an unique one like "node21" or something.

Setup an your own custom repository with your applications.

To update the nodes you can publish the new version of your package and use Archlinux's package manager to update the nodes.

This way you can use an "old" image and easily bring it up to date. Bypassing the whole custom installer problem.

Upvotes: 3

Dmitry Alexeyev
Dmitry Alexeyev

Reputation: 217

I used SLAX to build bootable CD that did some simple installation work:

http://www.slax.org/

As I remember, I didn't spend much time customizing it.

Another option is to try SUSE online build service:

http://susestudio.com/

You can start your own or clone someone's else appliance from their gallery.

Upvotes: 1

sarnold
sarnold

Reputation: 104080

Many CD-Bootable systems start from HPA's SYSLINUX Suite.

Another popular answer is to start from KNOPPIX.

Upvotes: 1

Zds
Zds

Reputation: 4359

  1. Pick Linux distribution of your choice and configure it's installer to install only packages you want. Most Linux distributions already come in different flavors, so customizing what packages the installer installs is pretty mundane task. or
  2. If you want versions of packages that are different from what any available Linux distribution offers, create your own distribution: http://www.gnewsense.org/Builder/HowToCreateYourOwnGNULinuxDistribution

Upvotes: 1

Related Questions