I moved the winpe file out of the win7x32 folder and directly into the tftpboot folder.
the client pc now locates the winpe file. The client pc gives the dots across the screen. then prompts, Press any key to boot from dvd/cd.
hit enter and the screen goes blank. I'm should get a command prompt? inside a windows pre install enviroment, right?
I'm not sure what to do next.
Windows 7 install from PXE server
Re: Windows 7 install from PXE server
Rather than guessing, look at what the client is doing. Capture the packets (Wireshark can decode for you). Look at what the client is trying to do and adjust accordingly.
-
- Posts: 171
- Joined: 2017/02/07 21:47:51
Re: Windows 7 install from PXE server
I will give wireshark a try and see what it says. Should be a good skill to learn.aks wrote:Rather than guessing, look at what the client is doing. Capture the packets (Wireshark can decode for you). Look at what the client is trying to do and adjust accordingly.
inside /var/lib/tftpboot, I can set sub folders for different RHEL distros.
e.g. I have the initrd and vmlinuz for CentsOS 7 in "/var/lib/tftpboot/cent7" same with ubuntu "/var/lib/tftpboot/ubuntu"
seems like the winPE needs to be directly in "/var/lib/tftpboot"
-
- Posts: 171
- Joined: 2017/02/07 21:47:51
Re: Windows 7 install from PXE server
**Update**
I've been experimenting while installing the new OS(from: 7/32-bit To: 6.8/32-bit) on my netbooks.
It seems that any modification to the named folder containing either the initrd/vmlinuz or the named folder containing the installation files; Results in an error.
Using mv to rename the folder will break the configuration.
Using rm to remove the folder and or the contents.
re-creating the folder with the same name with mkdir and using mv to place new files inside.
All create an error during boot. Regardless of corresponding changes to the corresponding .conf file.
The folder and files will work on the initial setup. However, any changes from there out will break the process.
I'm configuring currently configuring dhcpd on srv1 to work with tftpboot on srv2. As soon as I have it configured, I'm going to run wireshark while attempting to re-configure the broken menu options.
I've been experimenting while installing the new OS(from: 7/32-bit To: 6.8/32-bit) on my netbooks.
It seems that any modification to the named folder containing either the initrd/vmlinuz or the named folder containing the installation files; Results in an error.
Using mv to rename the folder will break the configuration.
Using rm to remove the folder and or the contents.
re-creating the folder with the same name with mkdir and using mv to place new files inside.
All create an error during boot. Regardless of corresponding changes to the corresponding .conf file.
The folder and files will work on the initial setup. However, any changes from there out will break the process.
I'm configuring currently configuring dhcpd on srv1 to work with tftpboot on srv2. As soon as I have it configured, I'm going to run wireshark while attempting to re-configure the broken menu options.
Re: Windows 7 install from PXE server
If that mv is on CentOS then it could be an selinux problem. If you use mv then it moves the file/directory and preserves its selinux context from the original location and moves that to the new place too. If you use cp and not mv then it will assign the correct selinux context to the new data based on its new location.
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
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
-
- Posts: 171
- Joined: 2017/02/07 21:47:51
Re: Windows 7 install from PXE server
Thanks TrevorH,
Yes. Working in CentOS.
I'm still confused.
let's say my folder containing vmlinuz and initrd.img for booting CentOS-7.3 64-bit is named "CentOS", Located @ /var/lib/tftpboot/
If I use "MV" to rename the folder from "CentOS" to "64-bit" and make to corresponding changes to the .config files, I have success.
The error begins with any attempt to return the folder name to "CentOS". Using mkdir or mv errors out on the client computer.
I'm using:
Or:
Both will work for creation of a folder with a NEW name. .e.g "CentOS" to "64-bit"
Both create errors when attempting to use the OLD folder name. .e.g. "64-bit" to "CentOS"
Also any changes to the initrd.img file or vmlinuz file will break the configuration.
If I wanted to use the same folder but change distro's
e.g.
Followed by the proper .conf file changes makes errors on client computers during pxe.
Is this a Syslinux issue? I'm going to troubleshoot this more in the morning. I'll attempt:
And see if that causes errors on the client during pxe and report back.
Yes. Working in CentOS.
I'm still confused.
let's say my folder containing vmlinuz and initrd.img for booting CentOS-7.3 64-bit is named "CentOS", Located @ /var/lib/tftpboot/
If I use "MV" to rename the folder from "CentOS" to "64-bit" and make to corresponding changes to the .config files, I have success.
The error begins with any attempt to return the folder name to "CentOS". Using mkdir or mv errors out on the client computer.
I'm using:
Code: Select all
mkdir CentOS/
cp /original/mount/point/vmlinuz Cent0s/
cp /original/mount/point/initrd.img CentOS/
Code: Select all
mv 64-bit/ CentOS/
cp /original/mount/point/vmlinuz Cent0s/
cp /original/mount/point/initrd.img CentOS/
Both create errors when attempting to use the OLD folder name. .e.g. "64-bit" to "CentOS"
Also any changes to the initrd.img file or vmlinuz file will break the configuration.
If I wanted to use the same folder but change distro's
e.g.
Code: Select all
rm -fR CentOS/*
cp /original/mount/point/new/initrd.img CentOS/
cp /original/mount/point/new/vmlinuz Cent0s/
Is this a Syslinux issue? I'm going to troubleshoot this more in the morning. I'll attempt:
Code: Select all
cp CentOS/ 64-bit/
rm -fR CentOS/
cp 64-bit/ CentOS/