Question

Locked

Urgent - Missing Ntoskrnl.exe

By ITUser101 ·
Our company have an HP server with Windows 2000 server installed which has 6 hard-disks configured as RAID5.
The server had one disk go bad which was replaced then another disk went bad a couple of days later which was also replaced. The next day the Array controller card went and was replaced today.
Everything looks fine with the Array controller card when we run the HP smartstart disk utility it shows the logical partiotion and test ok. The server shows the 6 physical disks are configured as 1 logical disk however now we are getting the follwoing error.

Windows 200 could not start because the following file is missing or corrppt:
<Windows 2000 root>\system32\ntoskrnle.exe
PLease re-install a copy of the above file.
I have tried putting in the Windows 2000 statup disk and got the the part which says setup and chose the repair option but it basically says no hard disks are installed how do we get this file replaced. I know how to do this on a PC but have never had tis eror on a RAID5 server.
Extremely urgent response required and greatly appreciate any assistance with this issue

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

NTOSKRNL Missing or Corrupt

These are a few fixes that you can try out and get your server up and running again.

NTOSKRNL Missing or Corrupt
If you get an error that NTOSKRNL not found:
1.Insert and boot from your WindowsXP CD.
2.At the first R=Repair option, press the R key
3.Press the number that corresponds to the correct location for the installation of Windows you want to repair.
Typically this will be #1
4.Change to the drive that has the CD ROM.
5.CD i386
6.expand ntkrnlmp.ex_ C:\Windows\System32\ntoskrnl.exe
7.If WindowsXP is installed in a different location, just make the necessary change to C:\Windows
8.Take out the CD ROM and type exit
..........................................

HAL.DLL Missing or Corrupt
If you get an error regarding a missing or corrupt hal.dll file, it might simply be the BOOT.INI file on the root of the C: drive that is misconfigured
1.Insert and boot from your WindowsXP CD.
2.At the first R=Repair option, press the R key
3.Press the number that corresponds to the correct location for the installation of Windows you want to repair.
Typically this will be #1
4.Type bootcfg /list to show the current entries in the BOOT.INI file
5.Type bootcfg /rebuild to repair it
6.Take out the CD ROM and type exit
....................................

Corrupted or Missing \WINDOWS\SYSTEM32\CONFIG
If you get the error:
Windows could not start because the following files is missing or corrupt
\WINDOWS\SYSTEM32\CONFIG\SYSTEM or \WINDOWS\SYSTEM32\CONFIG\SOFTWARE
1.Insert and boot from your WindowsXP CD.
2.At the first R=Repair option, press the R key
3.Press the number that corresponds to the correct location for the installation of Windows you want to repair.
Typically this will be #1
4.Enter in the administrator password when requested
5.cd \windows\system32\config
6.Depending on which section was corrupted:
ren software software.bad or ren system system.bad
7.Depending on which section was corrupted
copy \windows\repair\system
copy \windows\repair\software
8.Take out the CD ROM and type exit
.......................................

NTLDR or NTDETECT.COM Not Found
If you get an error that NTLDR is not found during bootup,
If you have FAT32 partitions, it is much simpler than with NTFS.
Just boot with a Win98 floppy and copy the NTLDR or NTDETECT.COM files
from the i386 directory to the root of the C drive.
For NTFS:
1.Insert and boot from your WindowsXP CD.
2.At the first R=Repair option, press the R key
3.Press the number that corresponds to the correct location for the installation of Windows you want to repair.
Typically this will be #1
4.Enter in the administrator password when requested
5.Enter in the following commands (X: is replaced by the actual drive letter that is assigned to the CD ROM drive.
COPY X:\i386\NTLDR C\:
COPY X:\i386\NTDETECT.COM C
6.Take out the CD ROM and type exit
.............................
Hope all goes well.
If this helps at all please give a thumbs up thank you.

Collapse -

Did you see this part?

by Ron K. In reply to NTOSKRNL Missing or Corru ...

<i>"...it basically says no hard disks are installed how do we get this file replaced" </i>

Collapse -

No hard disks are installed ?

by Peconet Tietokoneet In reply to Did you see this part?

If that is the case then they are using "sata" disks of which they will need the SATA drivers from the motherboard drivers disk so that they can see the hdd's. If the person is servicing a server he/she should know that.

Collapse -

Disks

by ITUser101 In reply to No hard disks are install ...

Peconent,

Appreciate the reposnse and you advice on initial post however this is not an XP PC it is a hardware RAID5 Windows 2000server. completely different from a single disk PC which you can access via the recovery console or bootdisk and then boot into DOS.

Guys,

The reason i am getting the no hard-disks installed when i run the Windows recovery console is quite simply because it cannot see RAID5 i.e. recovery console is only designed to work with NTFS or FAT single disks not a RAID controller configuration.

We have a configuraton of 6 disks of 36.0GB one of the 6 disks is used as a hotswap disk.
The logical volume shows as 180GB. e.g 5 *36GB physical disks = 1 logical volume of 180GB or roughly that configuration. therefore the 1 hotswap s not seen as part of the logical volume configuration

The main question i need answered is how do i get to replace the ntoskrnle.exe when i can't simply cd into a C or / as i would with a 1 disk Windows XP pc?

Hope this makes sense

Collapse -

Recovery can't see it because the drivers aren't installed

by seanferd In reply to Disks

You need to have the SATA/RAID drivers handy, press F6 to load them when prompted.

Of course, you would change to the appropriate drive letter if necessary, but if Recovery isn't seeing the drive, I don't know how you can change to it.

Collapse -

Yup agreed, F6 is the answer - and..

by cmatthews In reply to Recovery can't see it bec ...

..this is a HAL driver to be loaded from floppy - don't worry about the drive letter you'd see that after the correct one is used.

But don't get all happy.. I wouldn't boot from that array just yet.

If that partition table is corrupt or that old controller card had battery backup or flash memory relating to anything on disk geometry or LUN orders, I should think you'd want to know beforehand. So I'd wait before sending that old controller back too.

Windows can be configured to have separate boot and system partitions where the HAL is loaded fine, but can't proceed to the next step - the NTOS kernel. This seems likely to be on another volume in your case.
http://support.microsoft.com/kb/306559
(..relates to XP but it's the same at boot)

I may get blasted by some for saying this, but Bart's boot CD (with a certain popular Windows based partition utility on it) may just be what you want before bringing the array back online. You can use F6 to "insert" the HAL driver with this too.
http://www.ubcd4win.com

Ubuntu server edition also may work since the kernel has a boat-load of drivers. But which version? If the controller is older, you may want to use 7.10 or even 6.06. All you really want to do is get a good look at that partition table to see if it even resembles the volume sizes and quantity you remember.
http://mirror.csclub.uwaterloo.ca/ubuntu/dists/

If you want to know what driver to use and can't identify it on the HP site, you could use AIDA from a boot CD like UBCD (changing the boot order to place the CD first).
http://www.ultimatebootcd.com

Hope this helps.

Collapse -

More work, but...

by Bruce Epper In reply to Urgent - Missing Ntoskrnl ...

You could install another stand-alone drive in the system and install the OS on that, making sure you get it to the same patch level as your original install and also making sure you have included the appropriate RAID controller driver. You can then simply copy over the required file(s) and restore your hardware to the original configuration.

This exact scenario is why I NEVER install an OS on hardware RAID. I always configure them with 2 mirrored internal stand-alone drives for the operating system and use the RAID array for data only.

Back to Networks Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums