Setting Up Prerequisites to ‘Install Windows 7’ over ‘PXE Network Boot Server’ on RHEL/CentOS 7 – Part 1

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...

16 Responses

  1. Suprio Mukherjee says:

    Hi !
    Can you mention the configurations changes in if I have no control over DHCP (DHCP server is configured in Cisco switches) and DNS server? Can we configure Linux and Windows PXEBoot server in same box?

    • Matei Cezar says:

      You can disable dhcp service on cisco and configure dhcp, pxe server and all required repos on a linux box. Why the cisco switch is not under your control since it operates on your network?

  2. Lee Logan says:

    I would like to use this and use the rescue cd to access a WindowsBackupImage. I already have samba set up and am backing up my windows to that share. Can this be done. I already have a rescue cd built as well.
    Thanks in advance.

  3. ashutosh says:

    i’m trying install windows 7 through linux pxe server.. but after kernel load show window logo and open cmd … so what is next step for successfully installing win. i;m using winpe_amdiso aik

  4. Bik says:

    Do I have to move the winPE via the samba shared directory or can I download it from the web into the shared directory?

    • Matei Cezar says:

      You can move the WinPE image to the shared directory using any protocol or method as you like! You can use http, ftp, smb, nfs, with local usb stick, cd/dvd, rsync, scp, ….you name it! It has no importance how you copy the winPE image, it’s important to be there!

  5. Rohan says:

    Also i am facing the same issue like #Bruno i can see shared folder install but unable access that folder getting error you don’t have sufficient
    privilege to access this folder

  6. nick says:

    So I followed these instructions and the instructions on setting up the PXE server. I can get Centos to install but when I select the install windows 7 option from the PXE boot menu, PXE is unable to find the windows ISO.

    I have checked and rechecked the config files and file placement on my server. Any ideas?


    • Ravi Saive says:

      Are you able to view Windows 7 share folders of samba from any windows machine? If you able view them then they must available to install..

      • Joe says:

        No Ravi. Nick not referring to the samba shared files. He’s referring to WinPE_x86.iso file located in /var/lib/tftpboot/windows.

        I’m having the same problem, Nick is having memdisk starts then client computer shows error:

        "Could not find ramdisk image: win7x32/winpe_x86.iso"

        I’m looking for a solution now.

  7. Bruno says:

    Hi !

    I tried to install windows with your method (who very help me), but for an unknown reason, the samba share doesnt work. My smb.conf is exatly like your (with my own workgroup and folder to share).

    When i try to connect from a Windows PC, it say me “access denied” but only for the path “install”, i can browse the host (where i have only “install”)

    I used CentOS 7 for the server and windows vista to access this server, i’ve not idea why this dont work and i guess you can help me.

    Finaly, sorry if my english is bad, i’m a french student


    • Kenneth says:

      9. After both DVD’s images are copied, issue the following commands to setup the right owner and permissions in order to make the share readable and fully accessible without authentication.

      # chmod -R 0755 /windows – R
      # chown -R nobody:nobody /windows – R

      comment = Windows 7 Image
      path = /windows
      read only = no
      browseable = yes
      public = yes
      printable = no
      guest ok = yes
      oplocks = no
      level2 oplocks = no
      locking = no

Got something to say? Join the discussion.

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