Inhoud

Simpele PXE/tftp boot files om mee te testen

Wordt nog aan gewerkt

installeer de TFTP server

yum install tftp-server

Set up de boot files

yum install syslinux

cp -r /usr/share/syslinux/* /var/lib/tftpboot
cp /images/isolinux/initrd.img /var/lib/tftpboot
cp /images/isolinux/vmlinuz /var/lib/tftpboot

mkdir /var/lib/tftpboot/pxelinux.cfg
touch /var/lib/tftpboot/pxelinux.cfg/default

vi /var/lib/tftpboot/pxelinux.cfg/default

en zet hier in:

default menu.c32
prompt 0
timeout 300
ONTIMEOUT local

menu title ########## PXE Boot Menu ##########

label 1
menu label ^2) Install CentOS 7 x64 with http://mirror.centos.org Repo
kernel centos7/vmlinuz
append initrd=centos7/initrd.img method=http://mirror.centos.org/centos/7/os/x86_64/ devfs=nomount ip=dhcp

label 2
menu label ^4) Boot from local drive

start de TFTP server

Bronnen

https://www.tecmint.com/install-pxe-network-boot-server-in-centos-7/

https://www.golinuxcloud.com/configure-kickstart-pxe-boot-server-linux/#Step_3_Setup_PXE_boot_server