Solved

pxe boot server

Posted on 2011-02-17
6
1,234 Views
Last Modified: 2012-05-11
hi
i want to set debian machine as a pxe boot server for my windows enviorment
i install tftp on debian and i know that i need to configure my windows server 2008 dhcp to work with pxe booting

how do i do that?
if you can tell me step by step instruction it will be most helpfull
0
Comment
Question by:ywainberg
  • 3
  • 2
6 Comments
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34916145
In the scope options you need to define a few extra options:

060 PXEclient with value: PXEClient
066 Boot server host name with value: x.x.x.x (ip address of your bootserver)
067 bootfile name with value: boot\x86\boot.com (the path to the bootfile on your system, this is an example).
0
 
LVL 2

Author Comment

by:ywainberg
ID: 34916323
hi
1. i don't have option 060 PXE client
2.067 bootfile name -i need to give a linux path like : debian-server/srv/tftp/images ?
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34916694
1. Did you also check under server options to add it there?
2. The path without the server name (you allready defined that) and with the boot image name so like: srv/tftp/images/image.name
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 2

Author Comment

by:ywainberg
ID: 34936244
when i try to add a value to the 060 string that i created ,it doesn't allow me to give PXE client value it ask me to give a numeric value
0
 
LVL 11

Accepted Solution

by:
pmasotta earned 500 total points
ID: 35315331
What you have to do is leave the Windows DHCP Server w/o changes and implement a "proxy DHCP" on Debian.
A "Proxy Dhcp" does not assign IPs; it just only sends a complementary DHCP packet telling the PXE client where the TFTP server is located and which one is the boot file to retrieve.
You can implement a proxy DHCP with dnsmasq see the man page
--------
--pxe-prompt=[tag:<tag>,]<prompt>[,<timeout>]

Setting this provides a prompt to be displayed after PXE boot. If the timeout is given then after the timeout has elapsed with no keyboard input, the first available menu option will be automatically executed. If the timeout is zero then the first available menu item will be executed immediately. If pxe-prompt is ommitted the system will wait for user input if there are multiple items in the menu, but boot immediately if there is only one. See pxe-service for details of menu items.
Dnsmasq supports PXE "proxy-DHCP", in this case another DHCP server on the network is responsible for allocating IP addresses, and dnsmasq simply provides the information given in pxe-prompt and pxe-service to allow netbooting. This mode is enabled using the proxy keyword in dhcp-range.

--------

if you want a quick windows PXE server (including proxy DHCP) try Serva32/64
http://www.vercot.com/~serva/
0
 
LVL 2

Author Closing Comment

by:ywainberg
ID: 35322968
not a detailed answer but a suitable solution
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question