![]() |
![]() |
Kickstart for Fedora and RedHat |
![]() |
Text with a white background will vary between users and systems.
Text in a Courier/Serif-type font is to be typed at a terminal/command prompt.
Text inside [square brackets] is optional to the command and can be ignored or changed.
"example.net" is a fictitious domain.
The aim of this document is to enable you to build RedHat and Fedora client PCs with the minimum of time and effort.
The example in this document uses Fedora Core 4 for the client and Apache running on Linux for the server.
Distributions prepared so far are:
Installation typically takes less than 30 minutes depending on the distribution, the speed of the client and network conditions.
Set up an http server, e.g. Apache, with name kickstart.example.net. If this name is changed then the boot CDs will have to be recompiled (see below).
Make a directory at the document root level for each distribution, e.g. http://kickstart/kickstart/fc4
Copy the RedHat or Fedora directory from each CD to the distribution directory, e.g. http://kickstart/kickstart/fc4/Fedora/...
cp -r /media/cdrom/Fedora /public/kickstart/fc4/
Set up a kickstart file. You can copy this from /root/anaconda-ks.cfg on an existing installation or use this example (Fedora Core 4).
The kickstart file should be copied to the distribution directory, e.g. http://kickstart/kickstart/fc4/ks.cfg.
The kickstart file can also run a script at the end. Write your own or use this example (all versions).
Copy this to a common directory, e.g. http://kickstart/kickstart/common/.
Copy the isolinux directory from the distribution's boot CD to a Linux computer:
mkdir /tmp/cdroot
cp -rv /mnt/cdrom/isolinux /tmp/cdroot/
Make the files writeable:
chmod -R u+w /tmp/cdroot/isolinux
vi /tmp/cdroot/isolinux/isolinux.cfg
default hddvi /tmp/cdroot/isolinux/boot.msg
splash.lssmkisofs -o /tmp/boot-ks.iso -r -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T /tmp/cdroot/isolinux/
Use your favourite CD writing software to write the CD, or if using VMWare point the CD-ROM at the iso image.
Set the PC to boot from CD.
When you reach the boot: prompt type kickstart
The computer will boot from the hard disk after 30 seconds if there is no input.
Certain RedHat and Fedora distributions need the following configuration added to the end of /etc/sysconfig/network-scripts/ifcfg-eth0:
check_link_down () {
m0j0.net ©2008
|
Disclaimer The views expressed on this site are solely those of the author. Quotations are attributed as far as possible to their authors. The author of this site is not responsible for the content of external internet sites. |