MDT2010 Client PE 镜象通过PXELinux 或PXEGrub来启动
1、Microsoft Windows7 AIK提取X86或X64的pxeboot.12及bootmgr.exe文件
2、解壓MDT2010生成的LiteTouchPE_x86.iso文件提取Boot和Sources目錄下的所有文件
3、在PXElinux下把下面的文件和目錄放到PXE服務器的根目錄
pxeboot.12改名為pxeboot.0
bootmgr.exe
boot目錄及目錄下的所有文件
Sources目錄及目錄下的所有文件
配置PXELinux啟動文件pxelinux.cfg下的Default文件
LABEL 1
MENU PASSWD 123456
MENU LABEL ^A----Boot Multek MDT 2010 Deployment Client X86
kernel /boot/pxeboot.0
為了增加安全性通過MENU PASSWD 來設置密碼。
?
?
4、在GRUBPXE下配置,和PXELinux方法是一樣的。
配置GRUBPXE啟動文件在根目錄下的grldr文件或menu.lst下的Default文件
title 【1】-- Boot Multek MDT 2010 Deployment Client? X86
pxe keep
chainloader --force (pd)/boot/pxeboot.0
?
5、默認情況下啟動文件是Sources目錄下的Boot.wim文件,如需要更改位置需要編輯Boot目錄下的BCD文件
可以通過下面的批處理來改變位置:
?
set BCD-File=X:\boot\bcd??? //設置BCD文件存放的路徑
del %BCD-File%
Bcdedit /createstore %BCD-File%
Bcdedit /store %BCD-File% /create {ramdiskoptions} /d "MDT 2010 Client PE"
Bcdedit /store %BCD-File% /set {ramdiskoptions} ramdisksdidevice? boot
Bcdedit /store %BCD-File% /set {ramdiskoptions} ramdisksdipath? \boot\boot.sdi
for /f "tokens=2 delims={}" %%x in ('Bcdedit /store %BCD-File% /create /d "MDT 2010 Deployment Client X86" /application osloader') do set "guid1={%%x}"
Bcdedit /store %BCD-File% /set %guid1% systemroot \Windows
Bcdedit /store %BCD-File% /set %guid1% detecthal Yes
Bcdedit /store %BCD-File% /set %guid1% winpe Yes
Bcdedit /store %BCD-File% /set %guid1% osdevice ramdisk=[boot]\Boot\mdt2010_x86.wim,{ramdiskoptions}??
Bcdedit /store %BCD-File% /set %guid1% device ramdisk=[boot]\Boot\mdt2010_x86.wim,{ramdiskoptions}
Bcdedit /store %BCD-File% /create {bootmgr} /d "MDT 2010 Deployment Client X86"
Bcdedit /store %BCD-File% /set {bootmgr} timeout 30
Bcdedit /store %BCD-File% /set {bootmgr} displayorder %guid1%
Bcdedit /store %BCD-File% /enum all
pause
?
set BCD-File=X:\boot\bcd??? //設置BCD文件存放的路徑
?
Bcdedit /store %BCD-File% /set %guid1% osdevice ramdisk=[boot]\Boot\mdt2010_x86.wim,{ramdiskoptions}?? //設置WIM文件的存放路徑Bcdedit /store %BCD-File% /set %guid1% device ramdisk=[boot]\Boot\mdt2010_x86.wim,{ramdiskoptions}???? //設置WIM文件的存放路徑
轉載于:https://blog.51cto.com/zhcxl/408838
總結
以上是生活随笔為你收集整理的MDT2010 Client PE 镜象通过PXELinux 或PXEGrub来启动的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 30天敏捷生活(3):设计你的生活看板
- 下一篇: 要开始另一个linux操作系统的尝试了,