you need to get a cd from somewhere and follow this
If you do a repair installation of Windows (XP?), you won't have to re-install any of your apps. However, you will have to install all of your windows hotfixes and updates. You shouldn't have to do a repair install, however.
You can use the Recovery Console on your Windows CD .
Just follow the instructions at the above link.
Once at the command prompt, type in the following commands:
copy "..\driver cache\i386\ntoskrnl.exe"
If prompted to overwite the existing file, type y and enter.
If you receive a file not found error, make sure that the path in the copy command is correct. If it is correct and you still receive the error, then try the following commands:
cd "c:\windows\driver cache\i386"
expand sp1.cab -F:ntoskrnl.exe c:\windows\system32
Again, if you are prompted to overwrite the file, type y and then enter.
Also, if your OS is installed on a partition/drive other than C:, then replace any occurance of C: with the correct letter. (D: for example).
Replace any occurence of 'windows' with what is appropriate for your system. (winnt for example)
Reboot. Your system should start up normally