Windows-Server-2008-R2
WDS 2008 R2 DHCP 錯誤
我遇到了一個問題,我收到錯誤“從 DHCP 伺服器獲取 IP 地址時發生錯誤。從 Windows 7 DVD 中獲取的標準 WDS boot.wim 映像引導時,請檢查以確保此網段上有可執行的 DHCP 伺服器。
我正在使用 Server 2008 R2 並正在使用 WDS 將驅動程序添加到引導中,但如果使用 DISM 預先註入驅動程序也會出現問題。
當錯誤發生時,我可以 shift + F10 和 IPCONFIG 並看到它已經從 DHCP 獲取了一個內部 IP。似乎它在獲得 IP 之前就超時了?DHCP 伺服器不在 WDS 盒子上,但在同一個子網中。
根據我讀過的一些修復,我在我的交換機上啟用了 RSTP,但這沒有幫助。
我已將 setupact.log 的末尾包含在內,以查看你們是否有任何想法。似乎失敗了,但正如我所說,網路已初始化,因為我可以在執行 IPCONFIG 時看到 DHCP 分配的內部 IP。
我不認為theres任何增加超時的方法?
謝謝。
2011-04-11 17:26:31, Info [0x0b0022] WDS StartNetworking: Trying to start networking. 2011-04-11 17:26:31, Info WDS Network service dhcp not running or could not be queried: 264d00 1 1 2011-04-11 17:26:31, Info WDS Network service lmhosts not running or could not be queried: 264e18 1 1 2011-04-11 17:26:31, Info WDS Network service lanmanworkstation not running or could not be queried: 264d00 1 1 2011-04-11 17:26:31, Info WDS Network service bfe not running or could not be queried: 264e18 1 1 2011-04-11 17:26:31, Info WDS Network service ikeext not running or could not be queried: 264d00 1 1 2011-04-11 17:26:31, Info WDS Network service mpssvc not running or could not be queried: 264e18 1 1 2011-04-11 17:27:24, Info WDS Installing device pci\ven_14e4&dev_1691&subsys_04aa1028 X:\WINDOWS\INF\oem37.inf succeeded 2011-04-11 17:27:25, Info WDS No computer name specified, generating a random name. 2011-04-11 17:27:25, Info WDS Renaming computer to MININT-VN2P876. 2011-04-11 17:27:25, Info WDS Acquired profiling mutex 2011-04-11 17:27:25, Info WDS Service winmgmt disable: 0x00000000 2011-04-11 17:27:25, Info WDS Service winmgmt stop: 0x00000000 2011-04-11 17:27:25, Info WDS Service winmgmt enable: 0x00000000 2011-04-11 17:27:25, Info WDS Released profiling mutex 2011-04-11 17:27:25, Info WDS Acquired profiling mutex 2011-04-11 17:27:25, Info WDS Install MS_MSCLIENT: 0x0004a020 2011-04-11 17:27:25, Info WDS Install MS_NETBIOS: 0x0004a020 2011-04-11 17:27:25, Info WDS Install MS_SMB: 0x0004a020 2011-04-11 17:27:25, Info WDS Install MS_TCPIP6: 0x0004a020 2011-04-11 17:27:26, Info WDS Install MS_TCPIP: 0x0004a020 2011-04-11 17:27:26, Info WDS Service dhcp start: 0x00000000 2011-04-11 17:27:26, Info WDS Service lmhosts start: 0x00000000 2011-04-11 17:27:26, Info WDS Service ikeext start: 0x00000000 2011-04-11 17:27:26, Info WDS Service mpssvc start: 0x00000000 2011-04-11 17:27:26, Info WDS Released profiling mutex 2011-04-11 17:27:26, Info WDS Spent 967ms installing network components 2011-04-11 17:27:28, Info WDS Spent 2247ms installing network drivers 2011-04-11 17:27:38, Info WDS QueryAdapterStatus: no operational adapters found. 2011-04-11 17:27:38, Info WDS Spent 10140ms confirming network initialization; status 0x80004005 2011-04-11 17:27:38, Info WDS WaitForNetworkToInitialize failed; ignoring error 2011-04-11 17:27:38, Info WDS GetNetworkingInfo: WpeNetworkStatus returned [0x0]. Flags set: 2011-04-11 17:27:38, Error [0x0b003f] WDS StartNetworking: Failed to start networking. Error code [0x800704C6].[gle=0x000000cb] 2011-04-11 17:27:38, Info [0x0640ae] IBSLIB PublishMessage: Publishing message [WdsClient: An error occurred while obtaining an IP address from the DHCP server. Please check to ensure that there is an operational DHCP server on this network segment.]
不是一個完美的答案,但可能會幫助其他人。
- boot.wim 文件的掛載索引 2。
- 在映像的根目錄中將 setup.exe 重命名為 setupx.exe。
- 在已安裝的映像中編輯了 \windows\system32\startnet.cmd
@echo 關閉
@echo Loading WinPE... wpeinit @echo Starting networking... :testagain ping -n 1 SERVERNAME > NUL if %errorlevel% == 0 goto pingok REM wait 3 sec. and try it again ping -n 3 127.0.0.1 >nul goto testagain :pingok @echo Running Setup... x:\setupx.exe /wds /wdsdiscover /wdsserver:SERVERNAME
- 保存並解除安裝索引 2 並添加到 WDS。
在我看來,這是一個 hack,不應該被要求。網路初始化需要這麼長時間肯定是有原因的,但現在就可以了。
我很想听聽其他人是否有更優雅的解決方案。