[BM]Crusher Posted April 14, 2004 Posted April 14, 2004 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 1I have kernel1.exe in my $OEM$\$$\system32 directoryThe 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$ pathAfter 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)
Alanoll Posted April 14, 2004 Posted April 14, 2004 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.....
[BM]Crusher Posted April 14, 2004 Author Posted April 14, 2004 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...
Alanoll Posted April 14, 2004 Posted April 14, 2004 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 .
[BM]Crusher Posted April 14, 2004 Author Posted April 14, 2004 I just leeched a few boot screens from themexp.org and found two different version numbers:5.1.2600.11515.1.2600.1106obviously the newer one is going to work better?what is the latest version of the ntoskrnl?
Alanoll Posted April 14, 2004 Posted April 14, 2004 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.
[BM]Crusher Posted April 14, 2004 Author Posted April 14, 2004 i'm testing with a different 1151 kernel now, see if it works any better.. should know in 20 minutes
jdeboeck Posted April 15, 2004 Posted April 15, 2004 just a thought... does an intel hyperthreaded processor use the multiprocessor or uniprocessor kernel? I haven't seen one in action yet...
Alanoll Posted April 15, 2004 Posted April 15, 2004 multi. that's what mine uses. but the VMware uses an Uni, so I had to take that into account on my CDs.
cyberdiamond Posted April 15, 2004 Posted April 15, 2004 It would be good if we could detect this.And call the correct kernel depending on the processorUse the same disk no matter what processor multi/Uni
ZoSTeR Posted April 15, 2004 Posted April 15, 2004 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.
White Rain Posted August 18, 2004 Posted August 18, 2004 I tried messing w/ some themes and such and ended up messing up my boot screenIf 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
Alanoll Posted August 18, 2004 Posted August 18, 2004 It would be good if we could detect this.And call the correct kernel depending on the processorUse the same disk no matter what processor multi/Uni 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=%%Abootcfg /copy /D "Windows XP Professional" /ID 1if %NUMBER_OF_PROCESSORS%==2 goto DUALREM ----For Single procbootcfg /RAW "/Kernel=OEMKrnl.exe" /A /ID 2goto End:DUALREM ----For Multiprocess/Hyperthread procbootcfg /RAW "/Kernel=dualKrnl.exe" /A /ID 2:Endbootcfg /Timeout 2bootcfg /Default /ID 2I'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.
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