I got network booting to work using nothing more than a Microsoft DHCP
server and the builtin Microsoft tftp client.  No RIS, no third party tftp
daemons needed.  It works quite well.

It is possible to setup a PXE server on Widows 2000 server without
installing RIS.  Do all of this on whatever machine is serving DHCP.


DHCP Configuration

1.  Open the DHCP control panel from administrative tools.

2.  Expand the server you are wanting to configure.  Expand the "Scope"
folder.  Right click on "Scope Options" and select "Configure Options".

3.  Put a check mark in "013 Boot File Size" and enter the file size in 512
octet blocks.  Example, your boot image file is 12 KB (kilobytes).  Convert
12 KB to bytes (12288).  This must be exact, don't just multiply 12 by 1000.
Divide the file size in bytes by 512 (12288 / 512).  Enter the resulting
number (24) in the text dialog that is enabled when you put a check in 013.

4.  PUt a check mark in "043 Vendor Specific Info" and enter the following
binary value: 01 04 00 00 00 00 ff.

5.  Open a command window and type the following:
        c:\>netsh
        netsh>dhcp
        netsh dhcp>server \\server_name
        netsh dhcp server>add optiondef 60 ClassID String 0
        netsh dhcp server>set optionvalue 60 STRING PXEClient

6.  Put a check mark in "066 Boot Server Host Name" and enter the i.p. of
the server

7.  Put a check mark in "067 Bootfile Name" and enter the name of the boot
image file.

8.  Right click on the server name in the DHCP control panel, go to all
tasks, and select "restart".

9.  Go back to scope options and verify that all the information is there.
You should see the five entries on the right.  They should look like this:

013  Boot File Size             Standard        0x18
043  Vendor Specific Info       Standard        01 04 00 00 00 00 ff
060  ClassID                    Standard        PXEClient
066  Boot Server Host Name      Standard        Server I.P.
067  Bootfile Name              Standard        pxelinux.0 (boot file name)

If any of the options don't match what is shown, doubleclick on the option
and change the values so they look like above.  More than likely option 060
will be wrong.  Change it so it looks like above.


You are now ready to set up tftp.




TFTP Configuration

1.  Copy "tftpd.exe" from "c:\winnt\system32\dllcache\tftpd.exe" to
"c:\winnt\system32\tftpd.exe"

2.  Get a copy of "sc.exe" from the system32 folder on any windows xp box
and place it in "c:\winnt\system32"

3.  Open a command window and type "sc create tftpd binpath=
'c:\winnt\system32\tftpd.exe' "

4.  The service "tftpd" is now available in the service control panel.  Open
the control panel, find the service, and start it.  (If you want it to start
automatically, you can set it to do so from the control panel.)

5.  open the registry to the following key.
\\hkey_local_machine\system\currentControlSet\services\tftpd.  Add a subkey
to the tftpd folder "parameters".  Add a string value "Directory" to the
"parameters" key.  Give "Directory" the path location where your boot image
file is located. (example c:\tftpd).


Credit for much of this go to Willis Doiron.
http://pxes.sourceforge.net/howtos/ms_only_environment


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to