Jump to content

Recommended Posts

Posted

I am using WPI to give a list of options during install... WPI executes during GUI mode setup and installs RunOnce commands for the requested options... one of my options is a custom boot screen...

RunOnce calls %systemdrive%\install\boot.cmd

@REM Changes the Kernel Boot Logo@echo Changing the Boot Screen@bootcfg /RAW /A /Kernel=kernel1.exe /ID 1@bootcfg /Timeout 1

I have kernel1.exe in my $OEM$\$$\system32 directory

The kernel1.exe I am using is the "Windows XP Pirated Edition" boot screen that comes with Style XP 2.0 (it is an SP1 boot screen)... I enabled it via StyleXP, then checked my boot.ini to find what kernel file it was using, which happened to be kernel1.exe :) I copied this file from my system32 directory and placed it on my cd $OEM$ path

After the RunOnce commands are installed, if the custom boot screen was selected, windows freezes on the custom boot logo screen.... when i reboot, it goes to the boot screen and never stops flashing (the bar just keeps on going)


Posted

wierd.....

it could be that the kernel is edited on the fly. Are you testing in VMWare? or the like.

It sounds liek either the Kernel got corrupt or your using the wrong one. There are two for SP1, well technically MANY with different build numbers, but there are two types. Perhaps you're using the wrong one.

And yes, I kno you said you got it from a computer that it did work on.....but still.....

Posted

i'm using virtual pc 2004 to test it....

a few weeks ago i first started playing around with the custom boot screen, installing it via cmdlines.txt and it was killing the install back then (on a real pc)...

so, that leaves me with the question:

where can i get a boot logo kernel that will work with my version of xp?

i have xp volume license disk, slipstreamed to sp1a, with all critical updates etc...

Posted

make it yourself? that always seems to work....

look in the customizing thread for more details, and near the endish area.

Be careful though, if you have a Hyperthreaded process, as it requires the Multiprocessor kernal ntkrnlmp.exe (it's renamed to ntoskrnl.exe during installation) or the Single Processor kernel ntoskrnl.exe .

Posted

I just leeched a few boot screens from themexp.org and found two different version numbers:

5.1.2600.1151

5.1.2600.1106

obviously the newer one is going to work better?

what is the latest version of the ntoskrnl?

Posted

really doesn't matter what version as long as it's the SP1 kernel. The only difference is that the older one isn't going to have the lastest updates to it.

Mine is 1151 if it really matters for you.

Posted

just a thought... does an intel hyperthreaded processor use the multiprocessor or uniprocessor kernel? I haven't seen one in action yet...

Posted

You could enter

wmic cpu >c:\cpuinfo.txt

at the cmd prompt to get the processor properties or use "find" with it in a batch.

I'm not quite sure which attribute distinguishes a SP from a MP (probably two processor entries :)) but it's worth a try.

  • 3 months later...
Posted

I tried messing w/ some themes and such and ended up messing up my boot screen

If anyone could link me kernel1.exe so that I could replace the corrupted one that I now have ( using service pack 2 just wanting the normal boot screen that comes w/ it) I'd be greatly appriciative

Posted
It would be good if we could detect this.

And call the correct kernel depending on the processor

Use the same disk no matter what processor multi/Uni  :w00t:

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=OEMKrnl.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

I've been using a modified form of that since I first wrote it back in October. The only difference being I've used WIHU/XPLODE to get the variable and then just passed it to the batch file.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...