自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Windows 7實戰(zhàn)之使用 PXE 部署映像

系統(tǒng)
本文介紹如何使用 Windows(R) PE 2.0 設(shè)置第三方預(yù)啟動執(zhí)行環(huán)境 (PXE) 服務(wù)器。該過程包括將 Windows PE 2.0 源文件復(fù)制到 PXE 服務(wù)器,然后配置 PXE 服務(wù)器啟動配置以使用 Windows PE。

本文介紹如何使用 Windows(R) PE 2.0 設(shè)置第三方預(yù)啟動執(zhí)行環(huán)境 (PXE) 服務(wù)器。該過程包括將 Windows PE 2.0 源文件復(fù)制到 PXE 服務(wù)器,然后配置 PXE 服務(wù)器啟動配置以使用 Windows PE。

  步驟 1:將源文件復(fù)制到 PXE 服務(wù)器上

  在此步驟中,會將 Windows PE 源文件復(fù)制到 PXE 服務(wù)器。

  1、在技術(shù)人員計算機上,單擊"開始",依次指向"程序"、Windows OPK 或 Windows AIK,然后單擊"Windows PE 工具命令提示符"。

  菜單快捷方式將打開"命令提示符"窗口,并將環(huán)境變量自動設(shè)置為指向所有必需的工具。默認(rèn)情況下,所有工具都安裝在 C:\Program Files\<version>\Tools 中,其中 <version> 可以是 Windows OPK 或 Windows AIK。

  2、運行 Copype.cmd 腳本。該腳本需要使用兩個參數(shù):硬件體系結(jié)構(gòu)和目標(biāo)位置。

  copype.cmd <arch> <destination>其中 <arch> 可以是 x86、amd64 或 ia64,<destination> 是本地目錄的路徑。例如,

  copype.cmd x86 c:\winpe_x86此腳本會創(chuàng)建以下目錄結(jié)構(gòu)并復(fù)制該體系結(jié)構(gòu)的所有必要文件。例如,

  C:\winpe_x86

  C:\winpe_x86\ISO

  C:\winpe_x86\mount

  3、使用 ImageX 工具將基本 Windows PE 映像裝載到 \Mount 目錄。例如,

  imagex /mountrw C:\winre_x86\winpe.wim 1 C:\winpe_x86\mount

  4、將網(wǎng)絡(luò)連接映射到 PXE/TFTP 服務(wù)器上的 TFTP 根目錄,并創(chuàng)建 \Boot 文件夾。例如,

  net use y: \<PXEServer>\TFTPRoot

  y:

  md Boot

  5、將 PXE 引導(dǎo)文件從裝載目錄復(fù)制到 \Boot 文件夾。例如,

  cd \temp\Windows\Boot\PXE

  copy c:\winpe_x86\mount\Windows\Boot\PXE\*.* y:\Boot

  6、將 Boot.sdi 文件復(fù)制到 PXE/TFTP 服務(wù)器。

  copy c:\Program Files\<version>\Tools\PETools\x86\boot\boot.sdi y:\Boot其中,<version> 可以是 Windows OPK 或 Windows AIK。

  7、卸載當(dāng)前的 Windows PE 映像,并將可啟動的 Windows PE 映像復(fù)制到 \Boot 文件夾。

  Imagex /unmount C:\winpe_x86\mount

  copy c:\winpe_x86\winpe.wim y:\Boot\boot.wim必須將基本的 Windows PE 映像 (Winpe.wim) 重命名為 Boot.wim。

 

內(nèi)容導(dǎo)航
  步驟 2:配置啟動配置

  在此步驟中,將使用 BCDEdit 工具創(chuàng)建 BCD 存儲。BCDEdit 工具只能在 Windows? 7 計算機或 Windows PE 環(huán)境中運行。BCDEdit 工具位于 \Windows\System32 目錄中。

  1、在 Windows 7 計算機或 Windows PE 環(huán)境中,使用 BCDEdit 工具創(chuàng)建一個 BCD 存儲。例如,

  Bcdedit -createstore c:\BCD

  2、創(chuàng)建 RAMDISK 設(shè)置。例如,

  Bcdedit -store c:\BCD -create {ramdiskoptions} /d "Ramdisk options"

  Bcdedit -store c:\BCD -set {ramdiskoptions} ramdisksdidevice  boot

  Bcdedit -store c:\BCD -set {ramdiskoptions} ramdisksdipath  \boot\boot.sdi

  3、(可選)創(chuàng)建內(nèi)核調(diào)試程序設(shè)置。例如,

  Bcdedit -store c:\BCD -create {dbgsettings} /d "Debugger settings"

  Bcdedit -store c:\BCD -set {dbgsettings} debugtype serial

  Bcdedit -store c:\BCD -set {dbgsettings} baudrate 115200

  Bcdedit -store c:\BCD -set {dbgsettings} debugport 1

  4、為 Windows PE 映射創(chuàng)建 OSLoader 設(shè)置。例如,

  Bcdedit -store c:\BCD -create /d "MyWinPE Boot Image" /application osloader如果 s 命令成功,則計算機將返回 GUID 值。下列示例將此值指代為 guid1。

  Bcdedit -store c:\BCD -set {guid1} systemroot \Windows

  Bcdedit -store c:\BCD -set {guid1} detecthal Yes

  Bcdedit -store c:\BCD -set {guid1} winpe Yes

  Bcdedit -store c:\BCD -set {guid1} osdevice ramdisk=[boot]\Boot\boot.wim,{ramdiskoptions}

  Bcdedit -store c:\BCD -set {guid1} device ramdisk=[boot]\Boot\boot.wim,{ramdiskoptions}

  5、創(chuàng)建 BOOTMGR 設(shè)置。例如,

  Bcdedit -store c:\BCD -create {bootmgr} /d "Windows BootManager"  /inherit {dbgsettings}

  Bcdedit -store c:\BCD -set {bootmgr} timeout 30

  Bcdedit -store c:\BCD -displayorder {guid1} {guid2}其中,guid1、guid2 等等是每個 .wim 文件條目對應(yīng)的 GUIDS。

  6、將 BCD 文件復(fù)制到服務(wù)器。例如,

  copy c:\BCD \server\TFTPRoot\Boot

  7、將 PXE/TFTP 服務(wù)器配置為指向要下載 WDSNBP.COM 的 PXE 客戶端。

  現(xiàn)在已配置了 PXE/TFTP 服務(wù)器。

  部署過程

  下面概括了下載過程。

  1、指導(dǎo)客戶(使用 DHCP 選項或 PXE 服務(wù)器響應(yīng))下載 Wdsnbp.com

  2、Wdsnbp.com 將驗證 DHCP/PXE 響應(yīng)數(shù)據(jù)包并繼續(xù)下載 PXEBoot.com。

  3、PXEBoot.com 將下載 Bootmgr.exe 和 BCD 存儲。BCD 存儲必須位于 TFTP 根文件夾的 \Boot 目錄中。此外,必須將 BCD 存儲稱為 BCD。

  4、Bootmgr.exe 將讀取 BCD 操作系統(tǒng)條目,并下載 Boot.sdi 和 Windows PE 映像。

  5、Bootmgr.exe 通過運行 Windows PE 映像中的 Winload.exe 來開始啟動 Windows PE。

【編輯推薦】

  1. Windows 7上市,微軟的翻身仗?
  2. 測試顯示微軟Windows 7仍存在軟件兼容性問題
  3. 分析稱由于成本高 上網(wǎng)本廠商或不選用Win7
責(zé)任編輯:龐桂玉 來源: 騰訊科技
相關(guān)推薦

2009-09-11 08:12:36

Windows 7企業(yè)部署網(wǎng)絡(luò)部署

2010-06-20 11:13:59

虛擬化VMControl

2011-02-23 09:52:40

批量部署DebianFAI

2009-09-18 08:40:56

Windows 7企業(yè)部署VHD

2021-04-09 08:00:00

容器開發(fā)云原生

2010-12-08 11:11:15

Windows 7

2010-05-17 13:47:02

2009-07-10 10:46:00

Windows 7企業(yè)Vista企業(yè)版微軟

2009-09-15 08:30:36

Windows 7系統(tǒng)部署系統(tǒng)遷移

2009-03-24 09:12:06

Windows 7使用技巧微軟

2009-07-17 13:16:45

微軟操作系統(tǒng)WIndows 7Windows AIK

2016-03-29 11:03:30

DISM命令Windows 10

2009-03-18 09:39:01

HPC微軟高性能計算

2009-01-14 12:20:59

MacBookWindows 7安裝

2011-12-26 11:21:50

虛擬化SRM桌面虛擬化

2009-03-31 08:51:02

微軟Windows 7操作系統(tǒng)

2010-12-23 13:44:10

Windows 7桌面部署

2009-03-26 08:33:21

微軟Windows 7操作系統(tǒng)

2009-12-04 16:47:42

Windows 7

2010-03-04 09:07:44

點贊
收藏

51CTO技術(shù)棧公眾號