Jump to content











Photo

How to place your own Boot screen in XP setup CD


  • Please log in to reply
44 replies to this topic

#1 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 17 April 2008 - 01:39 PM

How to place your own Boot screen in XP setup CD
================================================================================
===
Autor : Shirin

---------------------------
I have seen a lot of sites that talk about XP boot screen,but most
of them are not complete,and also some of them will not work in all
kinds of windows xp.
So here i am going to tell you almost all you need.

================================================================================
===
Notes befor talking about changing boot screen:
-----------------------------------------------
Windows XP always uses NTOSKRNL.EXE (inside ..system 32 directory) to show
boot screen.But this file is defferent for each kind of systems.
so if you make a boot screen that works perfectly in your system,there is
posibility that not work in your friend's computer.

so what we should know and what we must do:
-------------------------------------------
There is 4 kinds of boot screen file in windows XP CD as below:

ntoskrnl.exe
ntkrnlmp.exe
ntkrnlpa.exe
ntkrpamp.exe

These 4 kernel files are located in "SP2.cab" inside I386 directory of XP setup CD.
At the time that XP setup begins to copy needed files to hard, it detects the kind
of Processor used in system.

If it is Windows Single Processor Kernel type,then setup process copies ntoskrnl.exe
from sp2.cab to system32 directory of computer.

If it is Windows Multi Processor Kernel type,then setup process copies ntkrnlmp.exe
from sp2.cab to system32 directory of computer,and also renames that to ntoskrnl.exe.

ntkrnlpa.exe is for Windows Single Processor Kernel with more then 3 GB of RAM

ntkrpamp.exe is for Windows Multi Processor Kernel with more then 3 GB of RAM

Note that:
AMD Processors are ALL considered Single Processor systems.
Intel Pentium 4 processors WITH Hyperthreading are Multi Processors .
All NON Hyperthreaded processors are Single.


(If you do not know your system is single or multi processor kernel,and look at
processors,if there is written the type of your processor in one raw,so you are
using single kernel,but if there is written in two raw so you are using multi).

================================================================================
===
Changing boot screen
--------------------
So if we want to change our boot screen,so that can work on all systems,we must
change all of those 4 kernel files.and we do as steps below:

Step_1.Copy sp2.cab from I386 directory of your XP setup CD to some where.
Step_2.extract sp2.cab by winrar (or any cab extractor) to a folder for example
foder xxx.
Step_3.Change boot screens files that you have made before (I will tell you how to make
them in step_5),with those are inside xxx.
Step_4.Use iexpress (by going start,then run and typing iexpress,and pressing enter),and
make new sp2.cab ,then replace this sp2.cab by the one inside I386 directory of XP
setup CD.If you do not know how to use this program,searck in web or Email me to
get help.
Step_5.Making boot screen files:
---------------------------
A).There are several ways to make your own boot screen,but most of the times your
boot screen will differ less or more by the BMP file that you have made.I have
tested several programs to make boot screen by my BMP picture,and i have found
Tuneup utilities and BootLogo to work more perfect most of the times.So i
recommand you to use one of them,but any it is up to you which way to select.
Any way that you want to use is not very important,just pay attention to
paragraph below.

:lol:.When you have a system that uses single kernel,all of the programs will make
ntoskrnl.exe
and if you have a system that uses Multi Processors kernel,all of the programs
will make ntkrnlmp.exe,but will rename that to ntoskrnl.exe.
So we do as below:
for example our system is multi proccessor, Know we make a boot screen by a
program and then we change the name of file made by that program to ntkrnlmp.exe
( because in this example i sayed that we are using multi kernel),and keep it
some where.
if you want to do every thing your self,you should copy your ntoskrnl.exe from
system32 directory,change its BMP picture by resource haker or any other program
and then rename it to ntkrnlmp.exe and keep it some where.
Know we should make single type boot screen,it is better we use other computer that
is single kernel,and do as i told you above,and this time keep it by the name of
ntoskrnl.exe some where.if you do not find other computer you can use virtualPC or
vMWare because even you have multi kernel,these virtual programs will make as single.

Step_6.When you have made your files (Most of the times changing two files ntoskrnl.exe and
ntkrnlmp.exe are enough for most computers),you should use file Modifype.exe and modify
your files by that (Modifype.exe is acommand type file,is about 9KB,you can download it
from MSFN links and must put it inside your windows system32 directory)
any way after placing Modifype.exe in your system32 directory go to command prompt and
type:
modifyPE.exe ntoskrnl.exe -c and hit enter and again type
modifyPE.exe ntkrnlmp.exe -c and hit enter
Now your files are modified and you use them as i toled in steps 3 and 4

Thats all,if you had any trouble or need help I will be glad to help you.
MCS group
Shirin
  • Manjunath.G likes this

#2 ispy

ispy

    Silver Member

  • Tutorial Writer
  • 592 posts
  • Location:PILGRIM

Posted 17 April 2008 - 06:58 PM

Hi Shirin, :lol:

Firstly many thanks for the shared information, very good tutorial!!!

However, secondly can I advise you to edit your post & remove your "E" mail address, you could become a target for spammers never openly display your "E" Mail or you could be sorry!

Regards & Best Wishes,

ispy :thumbup:

#3 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 18 April 2008 - 10:01 PM

Hi Shirin, :lol:

Firstly many thanks for the shared information, very good tutorial!!!

However, secondly can I advise you to edit your post & remove your "E" mail address, you could become a target for spammers never openly display your "E" Mail or you could be sorry!

Regards & Best Wishes,

ispy :thumbup:


Hi ispy
Thank you for advise,I did that
shirin

#4 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10452 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 18 April 2008 - 10:45 PM

Good tutorial, this taught me to distinguish between the different NTOSKRNL existent out there.

I remember using resource hacker to also replace the BMP's inside this file a long time ago, hope things are easier now.

:lol:

#5 Frank77

Frank77

    Newbie

  • Members
  • 11 posts

Posted 21 April 2008 - 03:35 PM

Great :lol:

#6 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 23 April 2008 - 09:39 PM

Hi
I have missed to say one mor comment to this tutor,so read that here:

There are 5 kernel files In XP setup CD ,i talked about 4 of them above,but there is another file
by the name of NTOSKRNL.EX_ in I386 directory,that should be changed as below:

take the file ntoskrnl.exe that you have made as tutorial,and ,in command prompt type command:

makecab ntoskrnl.exe

and heat enter.the file ntoskrnl.ex_ (cabed ntoskrnl.exe) will be made and you should put it inside I386
directory and overwrite the existance one.

have fun

shirin

#7 komsboy_more

komsboy_more

    Newbie

  • Members
  • 17 posts
  •  
    Iran

Posted 26 May 2008 - 10:31 AM

hi guys ....
i want to complete SHIRIN guide .... and it's about new SP3 that Microsoft release ...
when u integrate the last service pack into your XP.... you must do this for compatibility depend on your processor ....
you have :

ntoskrnl.ex_
ntkrnlmp.ex_
in your I386 folder and ...

ntoskrnl.exe
ntkrnlmp.exe
ntkrnlpa.exe
ntkrmamp.exe
in your latest service pack CAB file (there SP3.cab)

you can modify ntoskrnl.exe and then aplly the modified image to other KRNEL files:
to modify ntoskrnl.exe open it in ResHacker .... in the left panel ... in BITMAP .....select 1 dir to open it ....now you have a black image in 640 x 480 BMP file...
save it in your desktop....
i use Jasc Paint Shop Pro to modify my KERNEL file ......... like this ....

enter these in a text file and rename it to 16.pal


JASC-PAL
0100
16
0 0 0
0 0 0
32 26 21
45 62 210
83 101 1
178 53 5
70 70 70
137 146 0
74 127 252
247 107 32
141 166 255
142 220 4
243 188 27
188 188 188
255 255 255
255 255 255


and enter these and then rename it to win.pal


JASC-PAL
0100
16
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0



open the black picture in jasc pait shop pro .... then press "Shift + O" to open color pallete
select 16.paland mark "Maintain indexes" ...
then click open...
the boot screen will be appear ...
now modified it at your own ....
when you want to save it be aware that restore the pallete .... how do it .....continue ...
to restore to windows original pallete press "Shift + O" again and load win.pal
now press "Ctrl + S"
now go back to ResHacker and replace your bitmap

now you have modified all krnl files and have no problem with your processor

use SHIRIN guide to replace your files in XP source
Finishd

#8 mahdi

mahdi

    Newbie

  • Members
  • 29 posts
  •  
    Iran

Posted 02 March 2009 - 08:41 PM

Complete and very useful tutor
But what about boot screen of windows xp sp3

#9 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 02 March 2009 - 10:31 PM

Complete and very useful tutor
But what about boot screen of windows xp sp3


Hi maryam

For windows xp sp3 ,do as i said in tutor,just work with
sp3.cab instead of sp2.cab

have nice times

shirin zaban

#10 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 03 March 2009 - 11:33 PM

Hi komsboy_more

can you advice and tutorial a free software than "jasc paint shop pro" to create own boot screen?

I had a "cosmetic project idea" for livexp booting but as you know palette is important to get what you want at boot. I have and old bartpe plugin including pictures for bartpe login which can be used with livexp (or an active windows as explained on post1). With Shirin's tutorial now it is much more easier to go through steps.

ps: i like to comunicate with pm which is easier for me to maintain than email, pm me when you want (boot-land is my homepage), i will respond as quickly as possible when i have time, please dont use "comment" because it is open to public, sharing your email address on "comment" will make you a target to spammers. (For that reason i delete your comment now)



Shrin:
Thank you again, some set of ready working pictures (maybe links for graphical website(s) that introduce boot pictures for xp) maybe nice for this topic. Sorry that i can not find the bartpe plugin to share the pictures at the moment because of being away from home.


I am not good at edit/create pictures but i like to see nice things on LiveXP :cheers:.

#11 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 04 March 2009 - 01:27 PM

HI Lancelot

May be the freeware software "Boat logo - boat image Setter 1.17c" will be some
help.This program does not need to be installed,It is about 100k,put it some where
give the address of your favorite image (640x480x16 BMP) to it,then click on
"set this boot-image"button.

The program will do 2 jobs:

1.will create "NTOSBOOT.EXE" as boot file of XP and will put it in your system32 directory.

2.will add line below to your bootini.file

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP Professional (Boot-Logo)" /noexecute=optin /fastdetect /KERNEL=NTOSBOOT.EXE

I have used this file by bat file too

Get the file from attachment

have nice times

shirin zaban

Attached Files



#12 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 04 March 2009 - 08:59 PM

HI
You can see My Boot screen and wallpaper i use for WinBuilder LiveXP in attachment

Attached Files



#13 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 04 March 2009 - 11:21 PM

Thanks a lot Shirin Zaban for the utility and pictures (and thanks again for tutorial). Now everything ready but i am not at home, i will modify your boot.png in future and use with livexp when i settle down to my new home :cheers: (~2months)

#14 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 29 May 2009 - 02:49 AM

Shirin, one could also use the /BOOTLOGO switch instead of kernel patching. ;)

#15 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 29 May 2009 - 09:35 AM

Shirin, one could also use the /BOOTLOGO switch instead of kernel patching. ;)


Just for the record: /BOOTLOGO switch http://technet.micro...s/bb963892.aspx

/BOOTLOGO
Use this switch to have Windows XP or Windows Server 2003 display an installable splash screen instead of the standard splash screen. First, create a 16-color (any 16 colors) 640x480 bitmap and save it in the Windows directory with the name Boot.bmp. Then add "/bootlogo /noguiboot" to the boot.ini selection.


BUT, it won't have a progress bar:
http://www.911cd.net...showtopic=15140

This new feature will merely load a static bitmap image and the old familiar animated scrolling progress bar is no longer supported for custom logos.


;)

jaclaz

#16 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 31 May 2009 - 01:53 AM

Hi Shirin Zaban

Keeping my promise i worked hard :angry:. a month late but promise is a promise.
Taking the whole idea from you, i make another boot image which looks like yours, (no color loss since i prepare with default color palette and progress bar box is in right position), i hope you like.
http://img195.images...oot20090531.png
need some more eastern minutes to script it for LiveXP :cheers: .

And here the links i found which maybe useful for this topic:

boot-logo:
http://www.tofahrn.d...t_bootlogo.html
does the job for the hostos32bit user (also site is very nicely explain things)
but requires msvbvm60.dll and comctl32.ocx :(
and doesnt work nicely on hostosx64 (some suspects: AxImage.ocx, FreeImage.dll)
and no x64 support for nt kernel exe file (well i dont bother since my objective is LiveXP)

picture editor tutorial:
komsboy_more explanation can be followed with a tutorial here (thank you a looooot komsboy_more)
http://www.thetechgu...wto/xpbootlogo/
for anyone who wants to make own pictures by using default color palette of ntos kernel
(well better to have a freeware picture editor with a tutorial which have color palette, maybe a free gif editor or gif animator !)


Looking around on web there are tons (but not much heavy :cheers: ) of marvelous examples of boot logo. (thanks to swissboy for wonderful examples and keeping them on net). The key is color palette. With my awful picture skills i prefer using a simple picture which uses default nt kernel color palette (also makes life easier :cheers: ). I would like any suggestion for a better picture using default color palette.

For the ones who like to make more progress :angry:
Here is a wonderful link
http://www.infocella...rtup-screen.htm
Besides its nice tutorial it also shows the way to patch default color palette of nt kernel.
We have tons of 4bit (16 color) pictures around on the web which are suitable for boot screen.
All we need a batcher which:
1st) A volenteer who likes to make this batcher :cheers:
2nd) read color palette of this 4bit (16 color) bmp picture
3rd) reverse this color palette info to BGR
4th) patch this color palette info (BGR) into the nt kernel file
Maybe but not very much important) horiztontal-vertial position of progress bar :cheers:.
rest is
adding the picture to this kernel file with a resource editor. (i would prefer a x64 compatible for tests for my hostos :cheers: )
and using modpe (i guess)
well so far these are all i found (yep some more non essential steps can be added i know). I hope these info helps.



Results with patched color palette are pretty good, here are some pictures to say yummy.
http://img199.images...7/yinyang01.png
http://img200.images.../5989/18003.jpg
http://img200.images...addedroom01.png
http://img200.images.../seatorus01.png


Well i started learning boot screen logo only to get fun and remember my google-fu abilities, but hardly found & learned many things reminding me "MS guys likes to make life more complex" ;).

Cu ;)

Edit1:
Info from olegpov:
StartDock Boot Skin XP
Using Boot Skin Tutorial

Edit2:
A good image utility having command line, maybe it can be useful
http://www.imagemagick.org
reminding: If you have any problems with imagemagick, install the Visual C++ 2008 Redistributable Package (x86) or Visual C++ 2008 Redistributable Package (x64).

Edit3:
After my boot logo adding to createiso, olegpov made a new script, I will try to have it ready on Livexp project :)
http://www.boot-land...?showtopic=8151
:) It seems Shrin Zaban inspired both :angry:

#17 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 31 May 2009 - 10:56 AM

Hi Dear Lancelot

Thanks for your notes and links

have nice times,and hope to see you some time
shirin zaban

#18 Bob K.

Bob K.
  • Members
  • 4 posts
  •  
    United States

Posted 07 February 2010 - 11:49 PM

Shirin, Thank you for these tutorials.. I have yet to read most but from the little I have looked at - the only thing missing would be references for some of terms used. I ran into a few that I had to go google to understand what you were describing. But even so, you got me thinking and learning more - for this, I thank you.

One other thing, will you be updating any of these for Windows 7? Or adding new for W7?

I think I ignored much of the new XP when I went from 98. Having been well into DOS, it's been a shock to move from the DOS world to Windows 7. It is NOT my old "Personal Computer" OS anymore..

Bob K.

#19 sweet

sweet

    Newbie

  • Members
  • 15 posts
  •  
    India

Posted 15 July 2011 - 02:36 PM

i edited ntoskrnl.exe
ntkrnlmp.exe
ntkrnlpa.exe
ntkrpamp.exe
in sp2.cab file
i modified them
but i am unable to make them all in sp2.cab
when i use cabmaster and make them sp2.cab and replace them but
the bootscrene is not changed when i boot from cd
please help me

Edited by sweet, 15 July 2011 - 02:40 PM.


#20 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 15 July 2011 - 05:03 PM

is the xp that you are customizing that sp2 ?
if it is sp3 you should change sp3.cab

shirin zaban

#21 sweet

sweet

    Newbie

  • Members
  • 15 posts
  •  
    India

Posted 15 July 2011 - 05:47 PM

bro that is sp2 professional edition
if u have any video tutorial to edit boot screne in xp sp2 instalation cd than upload it plzzzzzzzzzz

#22 sweet

sweet

    Newbie

  • Members
  • 15 posts
  •  
    India

Posted 19 July 2011 - 01:02 AM

wht happend
why any one is not replying me

#23 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 19 July 2011 - 05:36 AM

Dear friend
This project is tested more than 100 times and allways was OK
there is some thing wrong in the process of your project. and you should find out that.
If you really change the sp2.cab and also the NTOSKRNL.EX_ in I386 directory ,so
their must not be any other screen to be shown .
their is a mistake in your process of work or your system has virus or some thing does
not let process to change.
please do the worke from 1st step and even make your changes in files above again.
i am not sure you are placing changed files

#24 sweet

sweet

    Newbie

  • Members
  • 15 posts
  •  
    India

Posted 19 July 2011 - 08:55 AM

bro
thanks alot
i never edited NTOSKRNL.EX_ file
plz help me how to edit it plz bro
thanks alotttttttt in advance

#25 sweet

sweet

    Newbie

  • Members
  • 15 posts
  •  
    India

Posted 19 July 2011 - 11:53 AM

bro i opend NTOSKRNL.EX_ with winrar and i extract NTOSKRNL
now i edited it
but i am unable to again make it in .EX_ file
how to do it?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users