maanu, on 15 January 2012 - 02:50 PM, said:
It's by chenall? http://chenall.net/post/ntboot/
That's a direct approach to boot once from USB.
The firadisk registry entry is added to txtsetup.oem
There are # added to txtsetup.oem
Quote
###############################################################################################################################################################
title Setup Windows from ISO set XPISO=XP.ISO set fira.opt=cdrom,vmem=find:/images/%XPISO%; map /images/%XPISO% (222) map --mem /images/firadisk.IMG (fd0) map (hd0) (hd1) map (hd1) (hd0) map --hook #chenall's ntboot http://chenall.net/post/ntboot/ cat --locate=###### --number=1 (fd0)/TXTSETUP.OEM > nul || call :error firadisk.img file error.. set offset=%?% write --offset=%offset% (fd0)/TXTSETUP.OEM value=Parameters,StartOptions,REG_SZ,"%fira.opt%"\r\n cat --skip=%offset% --locate=/ --replace=\\ (fd0)/TXTSETUP.OEM chainloader (222)/I386/SETUPLDR.BIN
This works at USB boot friendly BIOS, almost all cases nowadays.
Quote
Do you have a idea:
how does chinese friends solve hard disk mapping?
Edited: %ISO_TYPE%/ removed
This post has been edited by cdob: 18 January 2012 - 11:22 PM



Help


Back to top












