|
使用论坛内的sdi开发包,大家自己找,也可到http://www.dinov.cn取得;
1) Create a new SDI file (sdimgr /new abc.sdi).
2) Before importing your target partition, add the following files
in the root folder:
* ntdetect.com
* boot.ini
Its content should be:
[boot loader]
default=ramdisk(0)\WINDOWS
[operating systems]
ramdisk(0)\WINDOWS="Windows XPE From RAM" /fastdetect
(you can customize the name and add options like /debug)
Note: Your partition may be compressed (using compressed NTFS), but these two
files need to be uncompressed.
3) Import the partition in the SDI file (sdimgr xpe.sdi /readpart:D:).
The size of the partition must be less than 500 MB.
4) Import the boot program STARTROM.COM
(sdimgr xpe.sdi /import:BOOT,0,C:\Program Files\Windows Embedded\Remote Boot Service\Downloads\startrom.com)
5) Import the nt loader NTLDR in the SDI file
(sdimgr xpe.sdi /import:LOAD,0,C:\Program Files\Windows Embedded\Remote Boot Service\Downloads\ntldr)
Note: only this version of NTLDR provided by Remote Boot Service Setup
and located in this directory seems to work.
6) Pack the SDI file (sdimgr abc.sdi /pack) |
|