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. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  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...

11 Responses

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

  2. ashutosh says:

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

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

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

    • Matei Cezar says:

      Try to change samba shared folder permissions with chmod -R 777 /windows, and if that doesn’t work add a samba user with smbpasswd -a system_user, restart samba daemon and login with smba user credentials from windows cmd (net use Q : \\192.168.1.20\install /user:samba_username)

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

    Thanks,
    Nick

    • Ravi Saive says:

      @nick,
      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..

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

    Cordialy

    • 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

      smb.conf
      [install]
      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 *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?