Setting up a ‘PXE Network Boot Server’ for Multiple Linux Distribution Installations in RHEL/CentOS 7

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

41 Responses

  1. Mostafa Hisham says:


    Great topic and very special and into the point description, every thing worked great with me except one thing, while installing the the centos from the FTP i face many failures and cannot find the root cause for it as the following:

    Then the installation stop and provide a prompt /#

    thanks for your support

    • Matei Cezar says:

      Make sure the content of CentOS ISO image has been completely copied to /var/ftp/pub/. Verify from CLI with ls command ( ls /var/ftp/pub/liveos/) or from a browser ftp://serverip/pub/liveos/. If it was completely copied you should see squashfs file on that directory.

  2. Matt says:

    method= is deprecated; use inst.repo= instead.

  3. Tim says:

    Is there a way to have the “CentOS 7 Local Mirror Installation Source” updated regularly from so that the new installs have fewer updates to install?

  4. jfoucry says:


    Great tutorial, it almost work for me but… I try to boot a VM (for testing) and the boot failed when reading/launching centos7/initrd.img. After about 5 minutes I have the message “Boot failed: press a key to retry”

    The number of dot after loading is 3 (Loading centos7/initrd.img…)

    tftpboot is running, vsftpd too. I ran isc-dhcp on another server, but this part for fine.

    Did someone experimented the same problem and have a solution.

    Thanks in advance for your tutorial and eventual help.

    • Matei Cezar says:

      This topic uses dnsmasq as DHCP server. Check your isc-dhcp-server for misconfigurations on the config file.

  5. Matei Cezar says:

    Check initrd.img and vmlinuz files from tftp server path: /var/lib/tftpboot. Also, check the Local Mirror Installation Source from FTP path and the permissions on those files and Kickstart file.

  6. Tushar says:

    Getting warning /dev/root does’not exit
    Please help.
    thank you

  7. shair says:

    change dhcp option der from 92 to 192

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *