我有一个问题,我得到的错误“从DHCP服务器获取IP地址时发生错误。 从Windows 7 DVD上的标准WDS boot.wim映像启动时,请检查以确保此网段上有可用的DHCP服务器。
我正在使用Server 2008 R2,并将驱动程序添加到使用WDS启动,但也有问题,如果驱动程序事先注入使用DISM。
当发生错误时,我可以将+ F10和IPCONFIG移位,看到它已经从DHCP获取了一个内部IP。 似乎它可能会在获得IP之前超时? DHCP服务器不在WDS框中,但在同一子网中。
根据我读过的一些修正,我在交换机上启用了RSTP,但没有任何帮助。
我已经包括setupact.log的结束,看看你有没有任何想法。 似乎是失败,但正如我所说,networking初始化,我可以看到运行IPCONFIG时DHCP分配的内部IP。
我不想以任何方式增加超时?
谢谢。
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
@echoclosures
@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
在我看来,这是一个黑客,不应该被要求。 networkingbuild设需要这么长时间才能够实现,但现在这样做肯定是有原因的。
我有兴趣听到其他人是否有更优雅的解决scheme。