hngovr1 Posted November 21, 2007 Posted November 21, 2007 so, i'm trying to make a custom bootscreen. resource hacker - no go. boot editor seems to work, but wont ever produce a finished **krnl**.exe file. bootlogo made a great one that seemed to work, but it crashes installation at T-34. even after i replaced the one in sp2.cab. and none of these will let me edit ntkrnlmp. anybody got any tips for me? or maybe a current tutorial with a prog that works? Quote
Kelsenellenelvian Posted November 21, 2007 Posted November 21, 2007 #1 you can only use a 16color .bmp#2 Expand the cab file first and moifype BEFORE you makecab#3 Don't do it as a direct replacment use the $OEM$ folder to add your custom krnl name oemkrnl.exe to your system32 dir and use this .cmd in cmdlines.txtbootcfg /RAW /A /Kernel=OEMKrnl.exe /ID 1bootcfg /Timeout 0 Quote
hngovr1 Posted November 21, 2007 Author Posted November 21, 2007 thanks man, i appericate the advice. yeah, i can get the $oem$ "workaround" to work, direct replacement has been a disaster everytime. what prog would you suggest for editing ntkrnlmp? the only one i can i get to open it is reshack....oh, and is importing the palate info nessecery? Quote
hngovr1 Posted November 21, 2007 Author Posted November 21, 2007 i found this tutorial:http://www.thetechguide.com/howto/xpbootlogo/it seems more recent than mostgonna give that a shot.... Quote
hngovr1 Posted November 21, 2007 Author Posted November 21, 2007 i thought it was the palettes giving me probs. i corrected them in paintshop pro, but still no luck in direct integration, i'll try the oem approach again... Quote
hngovr1 Posted November 24, 2007 Author Posted November 24, 2007 i'm still not having any luck guys...a few more pointers? Quote
cro-man Posted November 25, 2007 Posted November 25, 2007 (edited) For adding your ntoskrnl to your XP CD,Try this:Make a directory on your XP CD, under this path:$OEM$\$$\System32The next thing you need to do, is rename your ntoskrnl.exe file to oemkrnl.exe and place it in the folder you just created above.Now, in your winnt.sif file, add these commands:[Unattended]UnattendedMode=FullUnattendedOEMPreinstall=YesOEMSkipEULA=Yes[GUIRunOnce]bootlogo.cmdNext create a bootlogo.cmd file which contains this:bootcfg /RAW /A /Kernel=OEMKrnl.exe /ID 1bootcfg /Timeout 0Here's a brief explanation of the above code:When you install Windows XP, it copes the $OEM$\$$\System32 folder to %windir%\system32, thus, placing your oemkrnl.exe file into your system32 folder. When XP Setup then processes the GUIRunOnce section of your winnt.sife file, it adds the switch /kernel=oemkrnl.exe to your boot.ini file, which forces windows to use your edited file, instead of the one shipped with windows. Edited November 25, 2007 by cro-man Quote
hngovr1 Posted November 25, 2007 Author Posted November 25, 2007 Thanks cro-man,heres a question, will that work if installed on a multi-processor machine, or do i need to edit the ntkrnlmp as well, and useFOR /F "tokens=3 delims= " %%A IN (\'REG QUERY "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v NUMBER_OF_PROCESSORS\') DO SET NUMBER_OF_PROCESSORS=%%Abootcfg /copy /D "Windows XP Professional" /ID 1if %NUMBER_OF_PROCESSORS%==2 goto DUALREM ----For Single procbootcfg /RAW "/Kernel=singkrnl.exe" /A /ID 2goto End:DUALREM ----For Multiprocess/Hyperthread procbootcfg /RAW "/Kernel=dualkrnl.exe" /A /ID 2:Endbootcfg /Timeout 2bootcfg /Default /ID 2as a bootcmd? Quote
cro-man Posted November 25, 2007 Posted November 25, 2007 On a multiprocessor you need to edit ntkrnlmp too. Quote
hngovr1 Posted November 27, 2007 Author Posted November 27, 2007 the boot**.cmd's work fine. i still seem to be having an issue with the **krnl's.... Quote
Kelsenellenelvian Posted November 27, 2007 Posted November 27, 2007 OK here is the best and safest way I have found.#1 You can only replace the #1 .bmp with a 16bit 640x480 file.#2 Don't use direct replacement, it is too risky.#3 Modify your ntoskrnl.exe with your custom bitmap and save it as oemkrnl.exe. #4 Using $OEM$ folders, txtsetup methods, runonce or however you know you can do it get it copied to your system32 dir.#5 save the following as a .cmd file and run it via cmdlines, runonce or whatever.bootcfg /RAW /A /Kernel=OEMKrnl.exe /ID 1bootcfg /Timeout 0 Quote
hngovr1 Posted November 27, 2007 Author Posted November 27, 2007 yeah, like i said, putting it in $oem$ and running the cmds works great. it my actual krnls that arent working. switches back to the default windows one everytime. i must be doing something wrong... Quote
hngovr1 Posted November 27, 2007 Author Posted November 27, 2007 this is how i'd like it to look...and this is how it looks after i import the palette.... Quote
hngovr1 Posted November 27, 2007 Author Posted November 27, 2007 btw, thanks for your help Kel....much apreciated Quote
Kelsenellenelvian Posted November 27, 2007 Posted November 27, 2007 hmmmmm: Let me play some more with the pallete also which SP are you using?And what do you want done with the progress bar? Quote
Kelsenellenelvian Posted November 27, 2007 Posted November 27, 2007 Mwahhaahahahaahahah tell me what you wnat done with the progress bar and then I'll upload it for you. ( AND SP ) Quote
hngovr1 Posted November 27, 2007 Author Posted November 27, 2007 (edited) wow looks good. i'm using sp2. i'd like to have a ntoskrnl and a ntkrnlmp, if its not too much trouble. what prog are you using?was trying to get a gray/silcerish progress bar... Edited November 27, 2007 by hngovr1 Quote
cro-man Posted November 27, 2007 Posted November 27, 2007 (edited) Something like this? Edited November 27, 2007 by cro-man Quote
hngovr1 Posted November 27, 2007 Author Posted November 27, 2007 yeah, cool.think it was an issue with the image? is that why i cant seem to get it to work/? Quote
cro-man Posted November 27, 2007 Posted November 27, 2007 You must convert it to 16 colors bmp. Quote
hngovr1 Posted November 27, 2007 Author Posted November 27, 2007 (edited) it is..., photobucket turned it into a jpg. but them image i'm working with is a 16 color, 4 bit bitmap. Edited November 29, 2007 by hngovr1 Quote
cro-man Posted November 27, 2007 Posted November 27, 2007 If you want, i make this knrls for you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.