So, I want to present you the new method of PE-loading. (BTW, what's the difference between boot an load? )
Fast Boot is not fast Food!
This Idea belongs to Alexey32 © from forum.ru-board.com. Usually sequence is setupldr.bin (or it rename into ntldr) -> txtsetup.sif, setupreg.hiv -> forming SYSTEM hive in folder I386\SYSTEM32\CONFIG. There is difference between work setupldr.bin and ntldr. There is specific in work with it of ntdetect.com.
Detect hardware, it loading, forming base SYSTEM hive takes long time. Opposite, when used ntldr аnd pretranslated setupreg.hiv --> SYSTEM hive (txtsetup.sif here not needed in general), then boot time not so long.
After the additional import in hive SYSTEM same data, to avoid Bsod and for corrects work .
~~~~~~~~~
In more detail:
1. Building BartPE project, creating ISO image.
2. Make UFD (HDD) bootable (NT 5.x).
3. Make on UFD (HDD) folder MININT and then copy into content from PE-proects (or from ISO - here not difference) folder I386. (Or copy I386 with rename it to MININT.)
4. Copy files and others needed folders from root proects in root of UFD (HDD).
5. Copy with rename \I386\SYSTEM32\SETUPREG.HIV to \MININT\SYSTEM32\CONFIG\SYSTEM.
6. Extract from archives For_boot_ntldr.rar files srv_txtset.cmd and srv_txtset.reg to \MININT\SYSTEM32\CONFIG\ and then run srv_txtset.cmd.
Litle changed srv_txtset.cmd:
CODE
rem VV2006 -- for other project folders names-- copy /y "BartPE\I386\SYSTEM32\SETUPREG.HIV" "BartPE\I386\SYSTEM32\CONFIG\SYSTEM"
REG LOAD HKLM\t SYSTEM
regedit /s srv_txtset.reg
REG UNLOAD HKLM\t
REG LOAD HKLM\t SYSTEM
regedit /s srv_txtset.reg
REG UNLOAD HKLM\t
7. srv_txtset.cmd and srv_txtset.reg may now be deleted.
8. Extract from archives For_boot_ntldr.rar boot.ini and ntdetect.com in root dir of UFD (HDD).
9. Copy in the UFD (HDD) root other needed files (ntldr, Bootfont.bin).
That is all. Boot time PE decrease.
~~~~~~~~~
This method perfectly worked with USB, HDD. All is Ok and no problem.
For CD boot with this method you need change content ISO: grldr as bootfile, folder name I386 only (with hive SYSTEM in 1386\SYSTEM32\CONFIG as well), in root placed menu.lst and new boot.ini.
My menu.lst:
CODE
timeout 1
title - FastPE (ntldr)
find --set-root /NTLDR
chainloader (cd)/NTLDR
title - FastPE (ntldr)
find --set-root /NTLDR
chainloader (cd)/NTLDR
My boot.ini:
CODE
[boot loader]
timeout=3
default=multi(0)disk(0)cdrom(224)\I386
[operating systems]
multi(0)disk(0)cdrom(224)\I386="CD on Primary Channel" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE
multi(0)disk(0)cdrom(239)\I386="CD on Secondary Channel" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE
C:\grldr="[1;32mGrub"
timeout=3
default=multi(0)disk(0)cdrom(224)\I386
[operating systems]
multi(0)disk(0)cdrom(224)\I386="CD on Primary Channel" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE
multi(0)disk(0)cdrom(239)\I386="CD on Secondary Channel" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE
C:\grldr="[1;32mGrub"
But where is reason of unsuccessful boot from CD?
Chain of load here: grldr as bootfile -->ntldr -->boot.ini --> NT Kernel --> system. Then appears Windows XP logo an then BSoD 0x7b. Why XP lost at this step bootable device? What and where I need correct in reg?
Or is this metod principle impossible in case with CD? What are you thinking about?
Help me pleаse!

