Jump to content

[Help]Integration of custom ntoskrnl.exe


Recommended Posts

If WFP is disabled it should work. I still say you're better off just making yourself a custom addon pack, though. It would literally take 5min and would be a completely permanent setup from the getgo.

Link to comment
Share on other sites


if you ever want to make a addon for custom kernals just hack both the kernals drop them in a cab with the folowing in entries.ini

[general]

blah......

[drivercab_move]

ntoskrnl.exe

ntkrnlpa.exe

this is the setup i use for my addons

Link to comment
Share on other sites

I done this using $OEM$\$$\System32 folder (file name is mybootscreen.exe) and i created *.inf file to change kernel in boot.ini...

QUOTE

[VERSION]Signature="$CHICAGO$"

[DEFAULTINSTALL]

UpdateInis=Boot.ini

[boot.ini]

c:\boot.ini, Boot Loader, "timeout=", "timeout=0"

c:\boot.ini, Operating Systems, "multi(0)disk(0)rdisk(0)partition(1)\WINDOWS", "multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP" /noexecute=optin /fastdetect /KERNEL=mybootscreen.exe"

but it works only when boot.ini is on c:\ partition

(almost always) and when system is installed on first partition...

maybe somebody will know how to add only "/KERNEL=mybootscreen.exe"

and how to found partition witch boot.ini automatically ??

its not related with editing boot.ini,, its regarding integration of ntoskrnl.exe

Link to comment
Share on other sites

its not related with editing boot.ini,, its regarding integration of ntoskrnl.exe

It's absolutely related. What he's recommending is a method where you don't even have to replace your original ntoskrnl.exe. You can just rename the modified one to something like purdykrn.exe and call that from boot.ini instead of ntoskrnl.exe. The advantage to it is that all it takes is one change to boot.ini and you're back on the original one again in case anything breaks.

Link to comment
Share on other sites

Wait... maybe i can do it in other way... i will make a html page to chose bootscreen... after cilick on some bootscren on menu it will execute batch...

@echo off

copy %systemdrive%\windows\system32\ntoskrnl.exe %systemdrive%\windows\bootscreens\oldkrnl.exe

copy /y %systemdrive%\windows\bootscreens\mybootscreen_01.exe %systemdrive%\windows\system32\ntoskrnl.exe

can i use "if errorlevel=" to get sometching like this:

if errorlevel=0 echo The ntoskrnl.exe was succesfully changed !!!

if errorlevel=1 echo I cannot change ntoskrl.exe...

Link to comment
Share on other sites

This is my first post

i have made a custom ntoskrnl.exe

then >>modifype it

then>makecab

then>>replaced my i386 folder of my UAXP,,

problem>>

even i replace the original ntoskrnl with my custom made bootscreen,, it gives the same old original display.

Searching forum i came to know that it is replaced by the file from *.cab and depends upon the processor..

but couldn't find the solid defination to replace silently without any problem which lead to display my bootscreen instead of original.

any help/link will be greatful..

Note:

i want it to integrate,, i don't wan't the method of replacing strings in boot.ini

The last line

Note:

i want it to integrate,, i don't wan't the method of replacing strings in boot.ini

Coz i wan't my bootscreen untouched....

i think ryan idea is the best (to create custom addon pack)

Edited by Nepali
Link to comment
Share on other sites

I know, but i want to know is my method is good... cause i want to do something like that, but i want to chose my bootscreen everytime when i will install my unattend DVD...

You can do it probabely using that:

copy %systemdrive%\windows\system32\ntoskrnl.exe %systemdrive%\windows\system32\oldkrl.exe

/maybe you should delete old kernel/

del /f /q %systemdrive%\windows\system32\ntoskrnl.exe

copy /y %patch_to_your_bootsreen%\yourbootscreen.exe %systemdrive%\windows\system32\

in cmdlines of course...

Edited by Greg00pl
Link to comment
Share on other sites

Regarding changing the bootscreen from boot.ini

i have been using this script,, in my install.cmd

REM Change the kernel in boot.ini

bootcfg /RAW /A /Kernel=myui.exe /ID 1

bootcfg /timeout 0

the main thing is i wan't my boot.ini untouched

currently i am working on addon pack as told by ryan

Link to comment
Share on other sites

coz sometimes,, i use shellpacks,,(gant, brico, kids, vista)

shell packs has its own bootscreens,,

due to this method,, it is unable to change the bootscreen on the fly

coz shellpack are programmed to change the original files

later we have to manually edit the strings of boot.ini to view the changed bootscreen (this is really annoying for me)

what i wan't is ,, the computer always act on its default..

ie

i want my boot.ini to act on default

Link to comment
Share on other sites

OK...

Hm... Maybe you will know some easy method to get bootscreens from themexp.org, without New.Net and SaveNow ?? I use "/x" switch to uncompress installer to folder... and then from file %exename% or %exefile% i can unpack the bootscreen file...

Maybe you know some better method ??

OK...

Hm... Maybe you will know some easy method to get bootscreens from themexp.org, without New.Net and SaveNow ?? I use "/x" switch to uncompress installer to folder... and then from file %exename% or %exefile% i can unpack the bootscreen file...

Maybe you know how to do it in other way ??

Link to comment
Share on other sites

I did it ,,

but bit tricky,,

how i did ?

i modified all necessary file

ntkrnlmp.ex_

ntkrnlpa.exe

ntkrpamp.exe

ntoskrnl.ex_

and placed in one folder (assum: edited)

now i ran ryanvm integrator 1.1

while ryanvm integrator was performing its procedue up to

10-03-2007 21¦37¦25

Log Startup @ 21:37:25 On 10-03-2007

21:37:49 -

21:37:49 - Source Drive = E:\XP2007

21:37:49 - Destination Drive = E:\XP2007

21:37:49 - Destination Size = 7999.59375

21:37:49 -

21:37:49 - Starting Integration

21:37:49 - Checking Destination For OS Type.

21:37:49 - Windows XP Professional With SP2 Found

21:37:49 - Clearing any Read Only Attributes.

21:38:24 - Extracting RVMUpdatePack2.0.3.cab

21:38:37 - Extracting addon_msn75322_dgelwin.cab

21:38:38 - Extracting Kels_Fedora_addon_v1.CAB

21:38:39 - Extracting Kels_OpenAL_addon_v1.1.CAB

21:38:39 - Extracting Kels_WGA_addon_1.5.512.CAB

i copied my edited files and

replaced the file of

xpsource\i386\rvmtemp\extracted

Rest thing was done by intregator 1.1 itself (created driver.cab with all my edited files,,,

voila !@!!!

Link to comment
Share on other sites

:hello:

Experts!! Like ryanVM werent able to do this simple things :o:no:

It was unfortunate that i didnt saw this thread

Ok here all what you need to do

1.Remove this rubish like all drivers or orther things using nlite

2.Make your customized bootscreen and replace it with your ntoskrnl.exe and others (Remember modifype.exe and makecab before replacing)

3.Disable Windows file protection (WFP)

4.You re done :thumbup

Link to comment
Share on other sites

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