Difference between revisions of "Set up PXE boot VM"

From HallCWiki
Jump to navigationJump to search
Line 15: Line 15:
 
cd /tftpboot
 
cd /tftpboot
 
mkdir linux-diskless
 
mkdir linux-diskless
 +
</pre>
 +
* Set up PXE boot configurations
 +
<pre>
 +
cd /tftpboot/linux-diskless
 +
cp /usr/share/syslinux/pxelinux.0 .
 +
mkdir pxelinux.cfg
 
</pre>
 
</pre>

Revision as of 09:53, 26 June 2024

PXE boot VM

  • The ROCs and VTPs are booted using PXEboot. The PXEboot is hosted in a virtual machine located at the Hall ESX clusters. The VM name is "cdaqpxe.jlab.org"

Set up the PXE boot

  • Install required packages: yum install nfs-utils tftp-server syslinux-tftpboot syslinux
  • Enable nfs-server and tftp as root:
systemctl enable nfs-server.service
systemctl start nfs-server.service
systemctl enable tftp
systemctl start tftp
  • Create PXE boot directory:
cd /tftpboot
mkdir linux-diskless
  • Set up PXE boot configurations
cd /tftpboot/linux-diskless
cp /usr/share/syslinux/pxelinux.0 .
mkdir pxelinux.cfg