Soultech Posted June 20, 2010 Posted June 20, 2010 Hi All,I'm wondering if there is some way to add a script into WinPE that inspects the HDD and if it sees a flag file then it will boot the hard drive instead of booting the rest of WinPE? I mean from within WinPE not a 'Press A Key' to boot option.Thanks in advance.
jaclaz Posted June 21, 2010 Posted June 21, 2010 Hi All,I'm wondering if there is some way to add a script into WinPE that inspects the HDD and if it sees a flag file then it will boot the hard drive instead of booting the rest of WinPE? I mean from within WinPE not a 'Press A Key' to boot option.Thanks in advance.It seems to me pretty much pointless to actually load the PE (to be able to execute the script) to unload it in order to boot from the hard disk.What you want to do can be easily achieved by using grub4dos as the primary bootloader for the PE.Which kind of PE are we talking about:PE 1.x XP/2003 basedPE 2.x Vista/Server 2008 basedPE 3.x Windows 7 basedVERY summed up example for PE 1.xx, menu.lst on CD:title PE if NOT file existsroot (hd0,0)find /tagfile.tag || configfile (cd)/PE_menu.lstfind /tagfile.tag && chainloader /ntldrPE_menu.lsttitle PEroot (cd)chainloader /I386/SETUPLDR.BINFor PE 2.xx, last line should invoke BOOTMGR instead.jaclaz
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now