# cp initrd linux /tftpboot/ Step 5: Create pxelinux.cfg DirectoryĬreate the directory pxelinux.cfg under /tftpboot and define the pxe boot definitions for the client. Step 4: Copy the vmlinuz and initrd images into /tftpbootĬopy the initrd to the tftpboot directory as shown below. Refer to our earlier article on How to mount and view ISO files. Here, the iso image has been mounted as follows: # mkdir /tftpboot/sles10_sp3 If you have the SUSE10-SP3 DVD insert it in the drive or mount the ISO image which you have. Let us assume that we are going to install the SLES10 SP3 Linux distribution on a remote server. # cp /usr/share/syslinux/pxelinux.0 /tftpboot Step 3: Create the mount point for ISO and mount the ISO image Copy this to /tftpboot path as shown below. PXE Linux image will be available once you installed the syslinux package. # mkdir /tftpboot/ Step 2: Copy the pxelinux image Steps to setup tftpboot Step 1: Create /tftpboot directoryĬreate the tftpboot directory under root directory ( / ) as shown below. Verify that the packages are successfully installed.ĭownload the appropriate tftpserver from the repository of your respective Linux distribution. This is required to load install kernel and initrd images on the client machine. $ rpm -ivh syslinux-3.11-20.14.26.x86_64.rpmĪfter installing the syslinux package, pxelinux.0 file will be created under /usr/share/pxelinux/ directory. Install the packages for the dhcp server services: $ rpm -ivh dhcp-3.0.7-7.5.20.x86_64.rpm The following packages needs to be installed for the tftpboot setup. However, these steps are pretty much similar to any other Linux distributions. Step by step procedure is presented in this article for the SLES10-SP3 in 64bit architecture. In those scenarios, you can setup the tftpboot services accordingly and the OS installation can be done remotely (you need to have the autoyast configuration file to automate the OS installation steps). In order to perform the OS installation successfully, there should be a way to reboot the remote server - either using wakeonlan or someone manually rebooting it or some other ways. TFTP boot service is primarily used to perform OS installation on a remote machine for which you don’t have the physical access. In this article, let us discuss about how to setup tftpboot, including installation of necessary packages, and tftpboot configurations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |