[CentOS] Trimming the fat out of a Centos 4.4 Installation

Jim Wildman jim at rossberry.com
Thu Sep 28 12:49:18 UTC 2006

On Thu, 28 Sep 2006, Erick Perez wrote:

> Hi, just to avoid re-inventing the wheel, is there any document that
> can help me reduce even further a "minimum" installation of Centos 4.4
> (BTW can you say 600mb is minimum)?

This is my 'minimal base' that I start from.  You could remove the lvm2
stuff as well.  It will do an install of 163 packages and take about
540M of disk.  About the only thing you will have is ssh and yum.  For 
a card, you obviously want to change the disk layout.

Apply all the other comments to this one.

# Kickstart file automatically generated by anaconda.

url --url <your url here>
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
# xconfig --card "VMWare" --videoram 16384 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16
network --device eth0 --bootproto dhcp
rootpw --iscrypted <your pw here>
firewall --disabled
selinux --disabled
authconfig --enableshadow --enablemd5
timezone America/New_York
bootloader --location=mbr
# 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 --size=100 --ondisk=sda
part pv.2 --size=0 --grow --ondisk=sda
volgroup VolGroup00 --pesize=32768 pv.2
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1024 

%packages -nobase


Jim Wildman, CISSP, RHCE       jim at rossberry.com http://www.rossberry.com
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine

More information about the CentOS mailing list