REM
REM
REM
set PARTITION_OPTIONS=[boot]
set RAMDISK_OPTIONS=[boot]
REM
REM {821471aa-e35b-11e3-bee5-d6b2bda8901f}, GUID for the WinPE boot entry
REM
set WINPE_GUID={821471aa-e35b-11e3-bee5-d6b2bda8901f}
REM
REM Set Timeout
REM
bcdedit.exe -timeout 5
REM
REM Create Ramdisk device options for the boot.sdi file
REM
bcdedit.exe -create %PARTITION_OPTIONS% -d "Windows PE" -device
//bcdedit.exe -set %RAMDISK_OPTIONS% ramdisksdidevice partition=D:
bcdedit.exe -set %RAMDISK_OPTIONS% ramdisksdipath \boot\boot.sdi
REM
REM Create WinPE boot entry
REM
bcdedit.exe -create %WINPE_GUID% -d "Windows PE" -application OSLOADER
bcdedit.exe -set %WINPE_GUID% device partition=%PARTITION_OPTIONS%
bcdedit.exe -set %WINPE_GUID% device ramdisk=%RAMDISK_OPTIONS%
bcdedit.exe -set %WINPE_GUID% path \f7ldr.mbr
//bcdedit.exe -set %WINPE_GUID% osdevice ramdisk=%RAMDISK_OPTIONS%
//bcdedit.exe -set %WINPE_GUID% systemroot \windows
//bcdedit.exe -set %WINPE_GUID% detecthal yes
//bcdedit.exe -set %WINPE_GUID% nx optin
//bcdedit.exe -set %WINPE_GUID% winpe yes
bcdedit.exe -displayorder %WINPE_GUID% /addlast
这是我百度改写人的,但启动错误。主贴图片中的Bcd是正确可以启动的。作者: ge 时间: 2014-6-3 20:33
用bootice编辑bcd有智能编辑模式!作者: 1198398 时间: 2014-6-3 20:42