Windows 7 install from PXE server

Issues related to applications and software problems
supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Windows 7 install from PXE server

Post by supertight » 2017/03/16 07:51:47

Hello, Thank you for reading.

I'm using this guide as a base:
http://www.tecmint.com/installing-windo ... in-centos/

My pxelinux.cfg/default configuration file entry:

Code: Select all

label 4
        menu label ^4) "windows 7 x32"
        KERNEL  memdisk
        INITRD win7x32/winpe_x86.iso
        APPEND iso raw
I have the winpe_x86.iso located in /var/etc/tftpboot/win7x32/

Client computer loads memdisk then says:

Code: Select all

Could not find ramdisk image: win7x32/winpe_x86.iso
I've been stuck on this for days. I'm not sure what the problem is. I've done extensive searches with no results.
Thank you for any help.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Windows 7 install from PXE server

Post by aks » 2017/03/16 16:49:30

Um, permissions? Check the permissions on the initrd (winpe). Also selinux? Run in permissive mode, try again and if it works, it's a selinux issue.

supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Re: Windows 7 install from PXE server

Post by supertight » 2017/03/16 18:10:38

aks wrote:Um, permissions? Check the permissions on the initrd (winpe). Also selinux? Run in permissive mode, try again and if it works, it's a selinux issue.
hello, thank you for reply.

Full permissions set via chmod/chown for the file folder containing the initrd file(winpe).

Code: Select all

chmod -R 0777
chown nobody:nobody
Passive mode? forgive my Noob'ness. Run what in passive mode? the ftp?
my ftp shares are working fine. I can easily run the local address in a browser and see the shared folder with windows distro inside.
Or ?? am I mistaking?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Windows 7 install from PXE server

Post by TrevorH » 2017/03/16 18:14:56

Your initrd and kernel files need to be on a tftp server not an ftp server. Are you able to retrieve the iso file with a tftp client?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Re: Windows 7 install from PXE server

Post by supertight » 2017/03/16 18:34:01

TrevorH wrote:Your initrd and kernel files need to be on a tftp server not an ftp server. Are you able to retrieve the iso file with a tftp client?
The initrd file(winpe) is on tftp. Located @ /var/lib/tftpboot/win7x32/ file.
the pxelinux.cfg/default file reflects the accurate location.

The files transferred from the mounted .iso image are shared via ftp.
install files are accessible @ ftp://192.168.1.11/pub/win7x32/

which tftp client should I use to test the winpe.iso file availability?
Thank you again for your help on this issue.

supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Re: Windows 7 install from PXE server

Post by supertight » 2017/03/16 18:52:52

Using tftp-client syntax

Code: Select all

tftp>get 192.168.1.11/pub/win7x32/win_x86.iso /home
I was unable to download the file.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Windows 7 install from PXE server

Post by TrevorH » 2017/03/16 18:53:40

So that sounds like the source of the problem then...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Re: Windows 7 install from PXE server

Post by supertight » 2017/03/16 19:25:27

TrevorH wrote:So that sounds like the source of the problem then...
It's troubling to say the least. I have other distro's up and running on the same machine.
the kernel and initrd files for two(2) separate Cent distro's and one(1) set for ubuntu distro.
All work from the tftp without fail and pxe boot 100%..

What next?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Windows 7 install from PXE server

Post by TrevorH » 2017/03/16 21:51:43

Fix your tftp server so it sends the file out?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Re: Windows 7 install from PXE server

Post by supertight » 2017/03/16 23:27:22

Sounds like a plan. Where should I start?
the ftfp server is already hosting files with success. How can I find out why tftp won't let the winep file out?

Post Reply