HP BL10e Setting up a Linux PXE server and integrating clients - Page 19

syslinux.cfg script, Kickstart file, controls how a Red Hat Linux installation is performed.

Page 19 highlights

syslinux.cfg script A typical "syslinux.cfg" file for Red Hat Linux 8.0 is similar to the following. This script controls which kernel, initrd, and kickstart files are used to boot the PXE clients. default ks prompt 1 timeout 20 display rhl80-bootnet.img-boot.msg F1 rhl80-bootnet.img-boot.msg F2 rhl80-bootnet.img-options.msg F3 rhl80-bootnet.img-general.msg F4 rhl80-bootnet.img-param.msg F5 rhl80-bootnet.img-rescue.msg F7 rhl80-bootnet.img-snake.msg label ks kernel rhl80-bootnet.img-vmlinuz append ks=nfs:172.48.0.1:/var/ftp/pub/kickstart/rhl80-ks.cfg initrd=rhl80-bootnet.img-initrd.img lang= devfs=nomount ramdisk_size=9216 ksdevice=eth0 # Perform a boot to local media; for example, exit pxe. label localboot localboot 0 # Boot to an image file such as a boot floppy. label rhl80-bootnet.img kernel memdisk append initrd=rhl80-bootnet.img Kickstart file A typical "kickstart" file generated by Kickstart Configurator is similar to the following. This script controls how a Red Hat Linux installation is performed. # Merged from Red Hat Linux versions: 7.2, EL 2.1, 7.3, 8.0. # Change the line nfs --server 172.48.0.1 --dir /var/ftp/pub/rh73 # to reflect the correct installation directory # for the OS version being installed. # Also, you may need to update the %packages section. # System language lang en_US # The following are the language modules to install. langsupport --default=en_US langsupport en_US # System keyboard keyboard us # System mouse mouse --emulthree genericps/2 # System timezone 19

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21

syslinux.cfg script
A typical "syslinux.cfg" file for Red Hat Linux 8.0 is similar to the following. This script controls which
kernel, initrd, and kickstart files are used to boot the PXE clients.
default ks
prompt 1
timeout 20
display rhl80-bootnet.img-boot.msg
F1 rhl80-bootnet.img-boot.msg
F2 rhl80-bootnet.img-options.msg
F3 rhl80-bootnet.img-general.msg
F4 rhl80-bootnet.img-param.msg
F5 rhl80-bootnet.img-rescue.msg
F7 rhl80-bootnet.img-snake.msg
label ks
kernel rhl80-bootnet.img-vmlinuz
append ks=nfs:172.48.0.1:/var/ftp/pub/kickstart/rhl80-ks.cfg
initrd=rhl80-bootnet.img-initrd.img lang= devfs=nomount ramdisk_size=9216
ksdevice=eth0
# Perform a boot to local media; for example, exit pxe.
label localboot
localboot 0
# Boot to an image file such as a boot floppy.
label rhl80-bootnet.img
kernel memdisk
append initrd=rhl80-bootnet.img
Kickstart file
A typical "kickstart" file generated by Kickstart Configurator is similar to the following. This script
controls how a Red Hat Linux installation is performed.
# Merged from Red Hat Linux versions: 7.2, EL 2.1, 7.3, 8.0.
# Change the line nfs --server 172.48.0.1 --dir /var/ftp/pub/rh73
# to reflect the correct installation directory
# for the OS version being installed.
# Also, you may need to update the %packages section.
# System language
lang en_US
# The following are the language modules to install.
langsupport
--default=en_US
langsupport en_US
# System keyboard
keyboard us
# System mouse
mouse --emulthree genericps/2
# System timezone
19