Jump to content

need help making a bootscreen


hngovr1

Recommended Posts

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?

Link to comment
Share on other sites

#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.txt

bootcfg /RAW /A /Kernel=OEMKrnl.exe /ID 1
bootcfg /Timeout 0

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

For adding your ntoskrnl to your XP CD,Try this:

Make a directory on your XP CD, under this path:

$OEM$\$$\System32

The 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=FullUnattended
OEMPreinstall=Yes
OEMSkipEULA=Yes

[GUIRunOnce]
bootlogo.cmd

Next create a bootlogo.cmd file which contains this:

bootcfg /RAW /A /Kernel=OEMKrnl.exe /ID 1
bootcfg /Timeout 0

Here'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 by cro-man
Link to comment
Share on other sites

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 use

FOR /F "tokens=3 delims=  " %%A IN (\'REG QUERY "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v NUMBER_OF_PROCESSORS\') DO SET NUMBER_OF_PROCESSORS=%%A

bootcfg /copy /D "Windows XP Professional" /ID 1
if %NUMBER_OF_PROCESSORS%==2 goto DUAL
REM ----For Single proc
bootcfg /RAW "/Kernel=singkrnl.exe" /A /ID 2
goto End
:DUAL
REM ----For Multiprocess/Hyperthread proc
bootcfg /RAW "/Kernel=dualkrnl.exe" /A /ID 2
:End
bootcfg /Timeout 2
bootcfg /Default /ID 2

as a bootcmd?

Link to comment
Share on other sites

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 1
bootcfg /Timeout 0

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...