On Fri, 2005-01-14 at 11:29 -0600, Aleksandar Milivojevic wrote:
There's already bug report about bloated minimal install, that I opened last November. I haven't went as far as attempting to generate better comps.xml for minimal installs.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139364
Checked your package lists, and most of your recommendations are similar to mine. Can you do me a favor and check my kickstart file (barebones.ks)? It's giving me errors and I don't know why, and clearly you have more experience with it.
What is the exact error message? Anaconda is very picky about format of that file (as if RedHat people never intended for that file to be edited by hand).
By looking at it, the only things that pops out is that you have single file system, root, on logical volume. Whatever partition holds /boot directory, can't be part of LVM and/or RAID device (except RAID1).
Try something like this:
part /boot --size 64 --ondisk hda --fstype ext3 --asprimary part pv.00 --size 1 --grow --ondisk hda --asprimary volgroup sys pv.00 logvol swap --name swap --vgname sys --fstype swap --size 256 logvol / --name root --vgname sys --fstype ext3 --size 1 --grow
P.S.
Actually, what I use is preinstall script (in %pre section) that uses list-harddrives command to get names and sizes of hard drives. Than based on number of disks and their sizes, I'm outputting something like above into temp file, which is included from first secion of kickstart file. Anaconda will ignore non-existing include files when it parses ks.cfg, and it will reparse ks.cfg after scripts in %pre section were executed (this time including my custom made partition info). That way I have single ks.cfg that works on all installs, and builds mirrors (if system has two disks), and automatically adjusts partition sizes depending on the available disk space.
Something like:
%include /tmp/partitions.cfg %pre echo "my partition info" > /tmp/partitions.cfg
-- Aleksandar Milivojevic <amilivojevic@xxxxxx> Pollard Banknote Limited Systems Administrator 1499 Buffalo Place Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7