2.3. Configuring the TFTP ServerΒΆ
In the next step, you need to configure the TFTP server that you installed in the previous step. This section describes the process of configuring the TFTP server for BIOS-based systems. For information on how to configure the TFTP server for installing Acronis Storage on EFI-based systems, see the Red Hat Enterprise Linux Installation Guide.
To configure the TFTP server:
On the PXE server, open the
/etc/xinetd.d/tftpfile, and edit it as follows:service tftp { disable = no socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -v -s /tftpboot per_source = 11 cps = 100 2 flags = IPv4 }Once you are done, save the file.
Copy the following files to the
/tftpbootdirectory (if this directory does not exist, create it under the root (/) directory):vmlinuzinitrd.imgmenu.c32pxelinux.0
These files are necessary to start the installation of Acronis Storage. You can find the first two files in the
/images/pxebootdirectory of the Acronis Storage distribution. Themenu.c32andpxelinux.0files are located in thesyslinuxinstallation directory on the PXE server (usually, this is the/usr/share/syslinuxor/usr/lib/syslinuxdirectory).Create the
/tftpboot/pxelinux.cfgdirectory, and inside this directory, make thedefaultfile.Open the default file for editing, and add the following strings to it:
default menu.c32 prompt 0 timeout 100 ontimeout VZ menu title Boot Menu label VZ menu label Install kernel vmlinuz append initrd=initrd.img ip=dhcpFor detailed information on the parameters you can specify in the
/tftpboot/pxelinux.cfg/defaultfile and their configuration, see the documentation forsyslinuxand its man pages.Restart the
xinetdservice:# /etc/init.d/xinetd restart
If necessary, configure your firewall on the PXE server to allow access to the TFTP server.
Note
When running the TFTP server, you might get the “Permission denied” error. In this case, you may try to fix the problem by running the following command on the server:
# restorecon -Rv /tftboot/.