Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got my server hosted at theplanet, and I'm trying to get them to do a minimal install of RHEL5 (64bit). Here's what anaconda-ks.cfg shows:

url --url
key --skip
lang en_US.UTF-8
selinux --enforcing
timezone --utc America/Chicago
bootloader --location=mbr --driveorder=sda,sdb
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --linux --drives=sda
#part /boot --fstype ext3 --onpart sda1
#part / --fstype ext3 --onpart sda2
#part /data --fstype ext3 --onpart sda5
#part swap --onpart sda3


Now, I would guess this would install a minimal number of packages. However, rpm -qa | wc -l gives a total of 614 packages installed. Going through the install.log, I see packages related to sound, dvd rw, bluetooth, printing, XOrg packages, etc. Reading online a bit, I'm seeing that a minimal install should be more like 250-280 packages.

Any thoughts on how to strip this down further?


share|improve this question

You need to add --nobase to your %packages stanza, like this:

%packages --nobase

That'll mean you really need to know what you are doing though, as only the absolute minimum of packages will be installed. You need @core if you do this, and probably some more packages too. If you add --nodocs (or --nodoc, I'm not sure), you'll even skip installing the %doc section of individual RPM's, saving even more space.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.