Skip to content

Installation Oracle Linux 8 and 9 using PXE (Boot, UEFI) and Kickstart.

License

Notifications You must be signed in to change notification settings

laspavel/pxe-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PXE Boot

Installation experiments Oracle Linux 8 and 9 using PXE (Boot, UEFI) and Kickstart. PXE-Server was deployed on Oracle Linux 8.10 In all configs:

  • 10.1.1.1 is the PXE Server address
  • /var/lib/tfpboot - folder with boot files
  • /var/lib/tfpboot/images - folder with system installation files.

Setting:

  1. Install packages. Configuring firewall.
dnf install -y dhcp-server filewalld rsync tftp-server xinetd syslinux nginx 
firewall-cmd --permanent --add-service=dhcp
firewall-cmd --permanent --add-service=tftp
firewall-cmd --permanent --add-service=http
  1. Configuring dhcp
  • Copy the file from the repository /src/etc/dhcp/dhcpd.conf to /etc/dhcp/dhcp.conf
  1. Configuring tftp.
  • Copy the file from the repository /src/etc/xinetd.d/tftp to /etc/xinetd.d/tftp
  1. Setting up boot files::
  • Copy the file from the repository /src/var/lib/tfpboot to /var/lib/tfpboot
  1. Copy installation files from ISO.
# For Oracle Linux 8
mount -o loop /dev/cdrom /mnt
rsync -av /mnt/. /var/lib/tfpboot/images/ol8/
umount /mnt

# For Oracle Linux 9
mount -o loop /dev/cdrom /mnt
rsync -av /mnt/. /var/lib/tfpboot/images/ol9/
umount /mnt
  1. Configuring kickstart for PXE:
  • Copy the file from the repository /src/var/lib/tfpboot/ol8/ks.cfg to /var/lib/tfpboot/ol8/ks.cfg
  • Copy the file from the repository /src/var/lib/tfpboot/ol9/ks.cfg to /var/lib/tfpboot/ol9/ks.cfg
  1. Making a symbolic link for nginx:
ln -s /var/lib/tftpboot/images /usr/share/nginx/html/
  1. Enable services and reboot:
systemctl enable nginx
systemctl enable dhcpd
systemctl enable xinetd
reboot

About

Installation Oracle Linux 8 and 9 using PXE (Boot, UEFI) and Kickstart.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published