u must build bart with the plugins u want + firadisk plugin
u must put these lines in ur firdisk plugin inf
CODE
[SetupReg.AddReg]
0x2, "ControlSet001\Control\Session Manager\Environment", "temp", "%SystemDrive%\temp\"
0x2, "ControlSet001\Control\Session Manager\Environment", "tmp", "%SystemDrive%\temp\"
; Add ramdrv environment variable...
0x2, "ControlSet001\Control\Session Manager\Environment", "ramdrv", "%SystemDrive%"
just build dont create iso
bart hd image means first
u have to create a ramdrive as fixed disk (i use rramdisk to create one) theres option to create fixed disk in rramdisk
then format that drive as compressed ntfs drive
next u must copy bartpe in ramdrive
in this u have to rename the i386 folder to minint
then copy ntdect.com to root of ramdrive
then copy setupldr.bin to root as ntldr
u must change ntldr's property to non compressed otherwise it 'll not boot
u have to first decide how much ur ram drive size must be
this how u can decide the ramdisk size
i normally build bartpe on compressed drive
so when u see bartpe folder size in prooperties u 'll see two sizes
"size" and "size on disk"
for eg
my values a like this
size 37.8
size on disk 28.5
so i set ramdisk size to 35mb which gives me 4mb of free space
u can have more ramdisk size to have more free disk space
[note] u must use robocopy.exe to copy bartpe to ramdisk ,otherewise it 'll not get copied by regular copy pasteu must defrac this drive with contig.exe
thats it next u save the drive as image say pe.img by using rramdisk or any other tool
thats it u have ur pe's hd image ready
this is gub menu
title barpte
find --set-root /usbboot
map --mem /pe.img (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)
map --harddrives=1
i have created a script to automate this whole process
i will share it if u wanna try