zorphnog Posted September 4, 2007 Posted September 4, 2007 I haven't found a solution for the loading files and progress bar yet. Just know they're stored in the bootmgr.
Rakesh Baldha Posted September 5, 2007 Posted September 5, 2007 I haven't found a solution for the loading files and progress bar yet. Just know they're stored in the bootmgr.I tried to hack %systemroot%\boot\bootmgr.exe using resource hacker appliaction and modified string into this resource file (bootmgr.xsl), but it won't affect, even I got image file for bootmgr (bootmgr.exe.mui), and replace it, still it wont get proper image to replace, I am not sure that I was replacing right image and proper text. thx
zorphnog Posted September 5, 2007 Posted September 5, 2007 The bootmgr file you should be trying to modify is ISO\bootmgr, not the one from the WIM. What resource editor are you using? I still think you are going to run into the checksum issue.
p4ntb0y Posted September 5, 2007 Posted September 5, 2007 Use the mui version to get round the checksum issue
Rakesh Baldha Posted September 6, 2007 Posted September 6, 2007 (edited) The bootmgr file you should be trying to modify is ISO\bootmgr, not the one from the WIM. What resource editor are you using? I still think you are going to run into the checksum issue.zorphnog,I am using resource hacker (reshacker.exe ), that freely available on net. using this editor I can not edit ISO\bootmgr file, it says "this is not win32 executable file", I have to go for another editor, could you please suggest?, but still what about check sum? I have got some link to calculate checksum but its complex to do so. steps to calculate this checksum I got is,1> Read whole file word by word,2> add all word with carry forward,3> split this 32 bit into two 16 bit.4> add two 16 bit w/o carry.you will get checksum. p4ntb0y,I tried even this also, Steps i had performed for it is, 1> open bootmgr.exe.mui using reshacker.exe. 2> open specific resource file bootmgr.xsl and save this resource file as binary. 3> open saved resource file and edit string "Windows is loading files..." 4> replace resource binary that modified with reshacker.exe opened resource file. 5> you will have modified resource binay into bootmgr.exe.mui 6> unmount and commit Wim image,create ISO image, It wont affect this text, when I boot with this ISO image. I modified almost all mui file \mount\Windows\Boot\PXE\en-US\bootmgr.exe.mui, \mount\Windows\Boot\PCAT,\mount\Windows\System32\RemInst\boot\x86\en-US also.Thanks bot of you guys. Edited September 6, 2007 by Rakesh Baldha
p4ntb0y Posted September 6, 2007 Posted September 6, 2007 sounds to me you have nearly done it.How does the bootmgr.exe.mui get picked over the normal one?
Rakesh Baldha Posted September 6, 2007 Posted September 6, 2007 sounds to me you have nearly done it.How does the bootmgr.exe.mui get picked over the normal one?I modified all bootmgr.exe.mui depending upon language en-US, that I got into my ISO folder, but it still not changed text. then after I did peimg /lang=en-us on our mounted image.Is there any way to change resource files (bootmgr.exe.mui) in one shot? thanks for your replies.
zorphnog Posted September 6, 2007 Posted September 6, 2007 I don't know. I tried messing around with the mui file as well, but have not been able to get the regular bootmgr to check for it. I think I'm going to try to mess around with the language packs to see how the boot file is incorporated. My fear is that en-US might be the default.I found some white papers about hacking the bootmgr a while back called VBootKit. It went into detail about the checksum, but I was never able to find where the checksum is stored in the header.
zorphnog Posted September 6, 2007 Posted September 6, 2007 I found a solution for replacing the "Windows is loading files..." text. It involves modifying and adding a bootmgr.exe.mui file. I'm still working out some of the kinks, but I'll post the full instructions soon (probably tomorrow).Until then, here's a few teaser shots.
Rakesh Baldha Posted September 7, 2007 Posted September 7, 2007 I found a solution for replacing the "Windows is loading files..." text. It involves modifying and adding a bootmgr.exe.mui file. I'm still working out some of the kinks, but I'll post the full instructions soon (probably tomorrow).Until then, here's a few teaser shots.Could you please tell me which image you have modified?
zorphnog Posted September 7, 2007 Posted September 7, 2007 (edited) Instructions for modifying the "Windows is loading files..." textTools needed:PE CheckSum: Available at The Code Project (sign up required).A hex editor: I'd suggest HHD's free Hex editor.ProceduresMake a directory called en-US in your ISO\boot directory. (en-US is the default. If you use a different locale then you will need to create a folder corresponding to your specific locale. If you are not sure what your locale is for the bootmgr, run this command on your bcd: bcdedit /store %pebuildingdir%\ISO\boot\bcd /enum. Look for the "locale" value located under the {bootmgr} settings.)Locate the bootmgr.exe.mui file located in your PE image under %imageroot%\Windows\Boot\PCAT\en-US and copy it to your ISO\boot\en-US directory.Open the ISO\boot\en-US\bootmgr.exe.mui file in your hex editor and go to block 0x0000F050 and edit the "Windows is loading files..." section.IMPORTANT: When editing this section you MUST leave a "dot" between every letter. The "dot" is not a period ".", but rather a 0x00 word. When editing this file, the total size of the file CANNOT differ from the original size of the file. Therfore, replaced text must fit into the original space (cannot exceed 27 characters).Save and close the bootmgr.exe.mui file.Open the PE CheckSum tool and browse to your ISO\boot\en-US\bootmgr.exe.mui file. Click the Retrieve button.The "Existing" and "Calculated" values should be different. Copy the "Calculated" value to the "New value" text box and click the write button.The "Existing" value should now match the "Calculated" value. Exit the PE CheckSum tool.Create your iso image as you normally would and your PE image will now load with your custom text. Edited December 4, 2007 by zorphnog
gadget Posted September 7, 2007 Posted September 7, 2007 Glad you cracked it... Well done...We load PE 2 onto around 300 systems a day here, might put up some interesting statements on the loader.....
Rakesh Baldha Posted September 7, 2007 Posted September 7, 2007 Hi Zorphnog, Great! I am also done. Thanks.... But I did it in another way, your way is also helpful to me.Steps 1> Make folder ISO\boot\en-US and copy image bootmgr.exe.mui into it from %imageroot%\Windows\Boot\PCAT\en-US. 2> Modified this resource by resource hacker.( freely available on internet ). 3> Done we will get modified text screen.Thanks really good work you have done for me, thank you very much!
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now