FC3, LVM, temporary swap

Robert Citek rwcitek at alum.calberkeley.org
Sat Dec 18 19:36:48 UTC 2004


How can one enable a temporary swap space for the installation of FC3 
with LVM via kickstart?

I recently installed FC3 on an old P133 with 64 MB RAM and without a 
CD-ROM drive by first installing a minimal FC1 then doing some 
slight-of-hand to get FC3 installed:

   http://www.cwelug.org/cgi-bin/wiki.cgi?FedoraCore3#bootstrap_install

However, I had to modify the kickstart script to use regular partitions 
instead of LVM:

clearpart --all --drives=hda
part /boot --fstype ext3 --size=200 --ondisk=hda
part / --fstype ext3 --size=1024 --grow --ondisk=hda
part swap --size=96 --grow --maxsize=200 --ondisk=hda

To see if I could get LVM under FC3, I manually reinstalled FC3.  That 
is, I removed the ks=... option from the grub.conf file so that it 
looked like so:
     kernel /grub/ks/vmlinuz ramdisk_size=8192 nofb text

After going through the various questions of a manual install, the 
Anaconda paused and warned me that I did not have enough RAM and asked 
if I wanted to turn on a temporary swap.  I replied with yes, and now 
FC3 is running on that old machine without issue.

So, how can I tell kickstart to create a temporary swap file in order 
to do an FC3 install with LVM?

Pointers to documentation greatly appreciated.  Hints on Google search 
terms also appreciated. Googling for "kickstart+swap+LVM" and variants 
generated a lot of false hits.

Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource.  Distribute FLOSS for
Windows, Linux, *BSD, and MacOS X with BitTorrent




More information about the Kickstart-list mailing list