установка Windows Xp Pxelinux

 
установка Windows Xp Pxelinux Average ratng: 6,4/10 2189 reviews

Please read this section carefully as the steps used in naming the Windows 2000 files when PXE booting differ from the instructions in the XP and 2003 sections of this guide. The following has been taken from Gianluigi Tiesi's 'OpenSource Implementation of MS RIS Server' guide ...

For instance, you can boot to WinPE via PXE booting, connect via the network to a shared folder on another computer and run Windows 7 Setup to install Windows onto the target computer. Note: Some LAN interfaces will allow a direct connection between computers with no need for a router - i.e. [PC] [Notebook] and most will only require a normal Ethernet cable and not a special 'cross-over' cable.

'A special case is Windows 2000, there is bug(?) in win2k setup loader that appends the needed filename, to the string pxelinux.0 .... you will need to use different names for the ntdetect and the response file'

... the last line '...use different names for the ntdetect and the response file' refers to appending the name of the PXE boot file (e.g. add string pxelinux.0 or grldr if using grub4dos) to the files ntdetect.com and winnt.sif (after they have been copied/created in the tftp root directory). For a more detailed explanation of the files required to install Windows 2000 via RIS please read the Windows 2000/XP/2003 PXE Files and Winnt.sif sections.

  • Copy the i386 folder and all sub-folders from Windows 2000 source to C:PXEtftpbootwin2k (tested with Windows 2000 Service Pack 4 source).
  • Follow the instructions in BINL Service section to set up the BINL service.
  • Copy all .sys files from C:PXEbinlDRIVERS to C:PXEtftpbootwin2ki386 .

Steps 1-7 (below) can be automated by running 6a_RIS.cmd

  1. Extract startrom.n12 from C:PXEtftpbootwin2ki386STARTROM.N1_ to C:PXEtftpboot . Open a command prompt and enter the following command -
    C:PXEtools7za.exe e C:PXEtftpbootwin2ki386startrom.n1_ -o'C:PXEtftpboot' startrom.n12
  2. Extract setupldr.exe from C:PXEtftpbootwin2ki386setupldr.ex_ to C:PXEtftpboot by entering the following command -
    C:PXEtools7za.exe e C:PXEtftpbootwin2ki386setupldr.ex_ -o'C:PXEtftpboot' setupldr.exe
  3. Copy ntdetect.com from C:PXEtftpbootwin2ki386 to C:PXEtftpboot and rename as pxelinux.0ntdetect.com (or grldrntdetect.com if using grub4dos)
  4. Open notepad and enter the following text, then save as C:PXEtftpbootpxelinux.0winnt.sif (or grldrwinnt.sif if using grub4dos). Remember to change the IP address for the server if it was not set as 192.168.2.2 (refer to Winnt.sif section) -
    [SetupData]
    OsLoadOptions = '/fastdetect'
    ; Needed for first stage
    SetupSourceDevice = 'DeviceLanmanRedirector192.168.2.2tftpbootwin2k'
    [data]
    floppyless = '1'
    msdosinitiated = '1'
    ; Needed for second stage
    OriSrc = '192.168.2.2tftpbootwin2kI386'
    OriTyp = '4'
    LocalSourceOnCD = 1
    DisableAdminAccountOnDomainJoin = 1
    AutoPartition=0
    [UserData]
    ; ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    ComputerName='*'
  5. Rename C:PXEtftpbootstartrom.n12 as startrom.0
  6. Rename C:PXEtftpbootsetupldr.exe as ntldr
  7. Add a menu entry -
    • For pxelinux, add the following entries to C:PXEtftpbootpxelinux.cfgdefault -
      LABEL 2k
      MENU LABEL Install Windows 2000
      KERNEL startrom.0
    • For grub4dos, add the following entries to C:PXEtftpbootmenu.lstdefault -
      title Install Windows 2000
      pxe keep
      chainloader --raw (pd)/startrom.0
Windows xp professional

If you plan to add options to install another operating system via RIS or to add a Windows XP/2003 based WinPE image then follow the instructions below as pxelinux.0ntdetect.com (or grldrntdetect.com), ntldr, startrom.0 and pxelinux.0winnt.sif (or grldrwinnt.sif) will need to be renamed and the embedded settings within these files will need editing.

Windows Xp Service Pack 3 Download

To automate the following steps run 6a_RIS.cmd to complete steps 1-6, then run 6c_RIS.cmd -

  • Follow steps 1 to 6 (see above) to extract the required files and create pxelinux.0winnt.sif (or grldrwinnt.sif)
  • Rename C:PXEtftpbootstartrom.0 using a filename with a .0 file extention - e.g. 2k001.0.
  • Rename C:PXEtftpbootntldr using a 5.0 character filename - e.g. 2k001. Note - the new filename must contain exactly five letters/characters and must not have a file extention
  • Rename C:PXEtftpbootpxelinux.0winnt.sif (or C:PXEtftpbootgrldrwinnt.sif if using grub4dos) using a 5.3 character filename appended with the string pxelinux.0 (or grldr) - e.g. pxelinux.02k001.sif (or grldr2k001.sif).
  • Rename C:PXEtftpbootpxelinux.0ntdetect.com (or C:PXEtftpbootgrldrntdetect.com if using grub4dos) using a 8.3 character filename appended with the string pxelinux.0 (or grldr) - e.g. pxelinux.02k001ntd.com (or grldr2k001ntd.com).
  • Download gsar and copy it to C:PXEtools directory
  • Edit C:PXEtftpboot2k001.0 and replace the ntldr text string with 2k001 - this will change the embedded settings and will load C:PXEtftpboot2k001 (renamed setupldr.exe/ntldr). Open a command prompt and enter the following command -
    C:PXEtoolsgsar.exe -i -sntldr -r2k001 C:PXEtftpboot2k001.0 -o
  • Edit C:PXEtftpboot2k001 and replace the winnt.sif text string with 2k001.sif. Open a command prompt and enter the following command -
    C:PXEtoolsgsar.exe -i -swinnt.sif -r2k001.sif C:PXEtftpboot2k001 -o
  • Edit C:PXEtftpboot2k001 and replace the ntdetect.com text string with 2k001ntd.com. Open a command prompt and enter the following command -
    C:PXEtoolsgsar.exe -i -sntdetect.com -r2k001ntd.com C:PXEtftpboot2k001 -o
  • Add a menu entry -
    • For pxelinux, add the following entries to C:PXEtftpbootpxelinux.cfgdefault -
      LABEL 2k001
      MENU LABEL Install Windows 2000
      KERNEL 2k001.0
    • For grub4dos, add the following entries to C:PXEtftpbootmenu.lstdefault -
      title Install Windows 2000
      pxe keep
      chainloader --raw (pd)/2k001.0

To install 2000 to a client PC ensure that C:PXEtftpd32tftpd32.exe and C:PXEbinlbinlsrv.exe have been started, then boot the client PC using PXE boot option and select the Install Windows 2000 menu option.