Name (Roles) | IP address / DNS name | Functional |
---|---|---|
SCCM (System Center Configuration Manager) | 192.168.57.102 sccm2012.test.local | Installed System Center Configuration Manager 2012 SP1 |
DC (AD, DHCP, DNS) | 192.168.57.10 dc1.test.local | The role of the domain controller, DHCP server and DNS server |
TEST (Test machine) | 192.168.57.103 test.test.local | For testing |
GW (Gateway) | 192.168.57.1 | Routing between networks. Gateway role |
RootFolder
parameter in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WDSServer\Providers\WDSTFTP
C:\RemoteInstall
smsboot\x86\
and smsboot\x64\
directories depending on the architecture.c:\Remoteinstall\smsboot\x86\
c:\Remoteinstall\smsboot\x86\
:memdisk, chain.c32, ldlinux.c32, libcom32.c32, libutil.c32, pxechn.c32, vesamenu.c32, pxelinux.0
c:\Remoteinstall\smsboot\x86\
rename pxelinux.0
to pxelinux.com
c:\remoteinstall\smsboot\x86\
make a copy of abortpxe.com
and rename it to abortpxe.0
.0
, then for example the instruction Kernel abortpxe.com
will be executed with an error: Booting kernel failed: Bad file number none or other Linux kernel image .0 PXE bootstrap program (NBP) [PXELINUX only] .bin "CD boot sector" [ISOLINUX only] .bs Boot sector [SYSLINUX only] .bss Boot sector, DOS superblock will be patched in [SYSLINUX only] .c32 COM32 image (32-bit COMBOOT) .cbt COMBOOT image (not runnable from DOS) .com COMBOOT image (runnable from DOS) .img Disk image [ISOLINUX only]
Source: http://www.syslinux.org/wiki/index.php/SYSLINUX#KERNEL_file section “Kernel file”x86\wdsnbp.com
from the x86 folder, the boot loader determines the processor architecture and loads the next file from the folder with the corresponding architecture. Thus, for x64, the following file will not be x86\pxeboot.com
, but x64\pxeboot.com
\ISO
where we will place the ISO images. Create a folder \pxelinux.cfg
for configs. # DEFAULT vesamenu.c32 PROMPT 0 timeout 80 TOTALTIMEOUT 9000 MENU TITLE PXE Boot Menu (x86) MENU INCLUDE pxelinux.cfg/graphics.conf MENU AUTOBOOT Starting Local System in 8 seconds # Boot local HDD (default) LABEL bootlocal menu label Boot Local menu default localboot 0x80 # if it doesn't work #kernel chain.c32 #append hd0 # Qwerty, MD5 label av menu label Antivirus and tools menu PASSWD $1$15opgKTx$dP/IaLNiCbfECiC2KPkDC0 kernel vesamenu.c32 append pxelinux.cfg\av.conf label sccm menu label Start to SCCM COM32 pxechn.c32 APPEND sccm2012.test.local::smsboot\x86\wdsnbp.com -W label pxe64 menu label Start to x64 pxelinux COM32 pxechn.c32 APPEND sccm2012.test.local::smsboot\x64\pxelinux.com LABEL Abort MENU LABEL Exit KERNEL abortpxe.0
\pxelinux.cfg
folder, create the file graphics.conf
with the contents MENU MARGIN 10 MENU ROWS 16 MENU TABMSGROW 21 MENU TIMEOUTROW 26 MENU COLOR BORDER 30;44 #00000000 #00000000 none MENU COLOR SCROLLBAR 30;44 #00000000 #00000000 none MENU COLOR TITLE 0 #ffffffff #00000000 none MENU COLOR SEL 30;47 #40000000 #20ffffff MENU BACKGROUND background.png NOESCAPE 0 ALLOWOPTIONS 0
\pxelinux.cfg
folder, create an av.conf
file with the contents DEFAULT vesamenu.c32 PROMPT 0 MENU TITLE Antivirus and tools MENU INCLUDE pxelinux.cfg/graphics.conf label main menu menu label return to main menu kernel vesamenu.c32 append pxelinux.cfg/default label drweb menu label DrWeb kernel memdisk append iso raw initrd=iso\drweb.iso label eset menu label Eset kernel memdisk append iso raw initrd=iso\eset_sysrescue.iso label kav menu label KAV Rescue CD KERNEL kav/rescue APPEND initrd=kav/rescue.igz root=live rootfstype=auto vga=791 init=/init kav_lang=ru udev liveimg doscsi nomodeset quiet splash # ISO , TFTP label winpe menu label WinPE from another TFTP kernel sccm2012.test.local::smsboot\x86\memdisk append iso raw initrd=sccm2012.test.local::smsboot\x86\iso\WinPE_RaSla.iso label clonezilla menu label Clonezilla kernel memdisk append iso raw initrd=iso\clonezilla.iso
c: \ remoteinstall \ smsboot \ x86 \ | pxelinux.cfg \ | |
---|---|---|
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | chain.c32 ldlinux.c32 libcom32.c32 libutil.c32 pxechn.c32 vesamenu.c32 pxelinux.com background.png pxelinux.cfg \ pxelinux.cfg \ pxelinux.cfg \ ISO \ abortpxe.0 wdsnbp.com bootmgfw.efi wdsmgfw.efi bootmgr.exe pxeboot.n12 pxeboot.com abortpxe.com | ') default av.conf graphics.conf * .iso |
c:\remoteinstall\smsboot\x64\
Addition
When using themenu PASSWD
you can set the password either as is, or use a hashing algorithm by adding the appropriate signature at the beginning of the parameterThus for the
Algorithm Signature MD5 $ 1 $ SHA-1 $ 4 $ SHA-2-256 $ 5 $ SHA-2-512 $ 6 $ Qwerty
password and MD5 algorithmYou can generate a password, for example, through an online hash generator www.insidepro.com/hashes.php?lang=rus , the string
menu PASSWD $1$15opgKTx$dP/IaLNiCbfECiC2KPkDC0
MD5(Unix)
wdsutil /set-server /bootprogram:boot\x86\pxeboot.com /architecture:x86
not processed. Make sure that boot images are not specified by running the WDS server configuration output command wdsutil /get-server /show:images
DHCP option | Parameter name | Value |
---|---|---|
066 | Boot server host name | sccm2012.test.local |
067 | Bootfile name | smsboot \ x86 \ pxelinux.com |
006 | DNS Servers | 192.168.57.10 |
015 | DNS Domain Name | test.local |
Addition
More details on the DHCP configuration described by mvgolubev here . But onDC
option 150, the IP address of the TFTP server was missing in the settings of the DHCP area and the indication of option 150 via netsh did not work.
«Start to SCCM»
item and if a task sequence is assigned to the computer, then after some time the “Task Sequence Creation Wizard” window will appear asking you to enter a password«Antivirus and tools»
in the menu and enter the password Qwerty
ip helper-address {ip address}
where {ip address}
address of the DHCP server or the WDS / SCCM server. When using this command, the following UDP broadcast packets are also sent.Port | Protocol |
---|---|
69 | Tftp |
53 | Domain Name System (DNS) |
37 | Time service |
137 | NetBIOS Name Server |
138 | NetBIOS Datagram Server |
67 | Bootstrap Protocol (BOOTP) |
49 | Tacacs |
«PXEClient»
value in all DHCP «PXEClient»
only if the DHCP server is located on the same server as the Windows Deployment Services. In this case, the client communicates with the Windows Deployment Services server directly via TFTP protocol over UDP port 4011, and not via DHCP. This method is not recommended by Microsoft due to problems with load balancing, incorrect processing of DHCP parameters and Windows Deployment Services response parameters on the client side. And also because using only two options 66 and 67 DHCP allows you to bypass the parameters set on the network boot server.The configuration process and the nuances of redirection between different WDS servers are described in more detail in the sources below:
Managing network boot programs http://technet.microsoft.com/ru-ru/library/cc32321 (v=ws.10 ).aspx
Server management http://technet.microsoft.com/ru-ru/library/cc770637(v=ws.10).aspx
Microsoft Product Support Services (PSS) support Microsoft Windows Preinstallation Environment (Windows PE) 2.0 support boundaries http://support.microsoft.com/kb/926172/en-us
How to forward UDP broadcast (BOOTP / DHCP) on Cisco http://www.cisco-faq.com/163/forward_udp_broadcas.html
Features of work and DHCP settings on Cisco routers (Part 2) http://habrahabr.ru/post/89997/
localboot 0
gives this error localboot 0
boot will go from local disk. And if you specify a specific value of 0x00 from the main (primary) floppy disk, if you specify 0x80 from the main (primary) hard disk. Changing the command to localboot 0x80
local OS booted.localboot
command localboot
not work, then you can use the capabilities of the chain.c32
module. After it is loaded, the append command specifies a specific disk or partition of the disk, the numbering of the disks starts from 0, the numbering of sections from 1 because specifying section 0 loads the MBR. When specifying the disk partition can be omitted. KERNEL chain.c32 APPEND hd0 0
or KERNEL chain.c32 APPEND hd0
RootFolder
parameter in the registry branch HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WDSServer\Providers\WDSTFTP
C:\RemoteInstall
ReadFilter
parameter, ReadFilter
are directories where the TFTP server searches for files to download, starting from the root. With SCCM 2012 SP1 installed, this parameter is \boot\* \tmp\* \SMSBoot\* \SMSTemp\* \SMSImages\*
\*
then all files located in the RemoteInstall
directory will be processed.ProvidersOrder
registry key located in the HKLM\System\CurrentControlSet\WDSServer\Providers\WDSPXE
ProvidersOrder
may beSMSPXE | PXE service point in SCCM |
SMS.PXE.Filter | PXE Script Handler from MDT (Microsoft Deployment Toolkit) |
BINLSVC | Standard handler WDS and RIS |
ProvidersOrder
parameter is set to SMSPXE
. By changing the parameter, you can change the order of loading providers.RemoteInstall
directory.wdsnbp.com | A network boot program developed for Windows Deployment Services that performs the following tasks: 1. Discovery architecture. 2. Maintenance of waiting computers. When the auto-add policy is enabled, this network boot program is sent to the waiting computers to pause the network boot and inform the server of the client computer architecture. 3. Using network boot links (including using parameters 66 and 67 of DHCP) |
PXEboot.com | (Default) Requires user to press F12 key to continue network boot |
PXEboot.n12 | Does not require the user to press the F12 key and immediately starts the network boot |
AbortPXE.com | Boot the computer using the next boot item in the BIOS without waiting |
Bootmgr.exe | Windows boot manager (Bootmgr.exe or Bootmgr.efi). Using the firmware, loads the Windows boot loader from a specific disk partition or via a network connection (in the case of network booting) |
Bootmgfw.efi | The EFI version of the PXEboot.com and PXEboot.n12 programs (in EFI, the choice to load or not load PXE is done in the EFI shell, not by the network boot program). Bootmgfw.efi combines the features of PXEboot.com, PXEboot.n12, abortpxe.com and bootmgr.exe. At the moment, it only exists for x64 and Itanium architectures. |
Default.bcd | The boot configuration data store (BCD), REGF format, can be loaded into REGEDIT, replaces the text file Boot.ini |
RemoteInstall
\Boot \Images \Mgmt \Templates \Tmp \WdsClientUnattend
their presence means that before adding the distribution point role to SCCM 2012 (PXE service points in SCCM 2007), there was some action to configure the installed Windows Deployment Services (WDS) that automatically created these folders. \SMSBoot \SMSIMAGES \SMSTemp \Stores
This does not mean that SCCM is installed incorrectly, but may indicate a possible source of errors.Source: https://habr.com/ru/post/175669/
All Articles