The ntldr file is a boot file of Win NT/win200/WINXP. When this file is lost, the system will prompt "ntldr is missing... "and required to press any key to restart. The system cannot be correctly entered. Therefore, back up data when the system is normal.
What is the ntldr file? How can we fix ntldr file faults?
The ntldr file is a hidden, read-only system file located in the root directory of the system disk, used to load the operating system.
Generally, the guiding process of the system is as follows: Code
1. Power self-checkProgramStart running
2. The Master Boot Record is loaded into the memory and the program starts to execute.
3. The Boot Sector of the active partition is loaded into the memory.
4. ntldr is loaded from the boot sector and initialized
5. Change the real mode of the processor to 32-bit smooth memory mode.
6. ntldr starts to run the appropriate small file system driver.
The small file system driver is built inside ntldr and can read fat or NTFS.
7. Read the boot. ini file through ntldr.
8. ntldr mounts the selected operating system * If NT/XP is selected ,,
Ntldr runs ntdetect.com for other operating systems,
Ntldr loads and runs bootsect. Dos and then transmits control to it.
The Windows NT process ends.
9.ntdetect.com search for computer hardware and send the list to ntldr to write the information into HKE y_local_machinehardware.
10.then ntldrloads ntoskrnl.exe, Hal. dll, and system information.
11. ntldr searches for a collection of system information and loads the device driver configuration so that the device starts to work at startup.
12.ntldrgrant the control permission to ntoskrnl.exe. At this time, the startup program ends and the loading phase begins.
When this file is lost, we can extract it from the installation disc:
1. Go to the system fault recovery console.
2. Switch to drive C.
3. Enter "Copy X: \ i386 \ ntldr c: \" (Note: X is the drive letter) and press Enter,
If the system prompts whether to overwrite, press "Y", and then enter the exit command to exit the console and restart.
Symptom
When you try to install Windows XP on a computer running Microsoft Windows 95, Microsoft Windows 98, or Microsoft Windows Millennium Edition (me) or upgrade to Windows XP, the following error message may be received after the first restart during the installation process:
Ntldr is missing
Press any key to restart
This occurs only when Windows 95, Windows 98, or Windows ME is installed on a large drive that uses the FAT32 file system.
Cause
This behavior may occur if you clone an existing Windows 95, Windows 98, or Windows ME installation that is then applied to a drive with a different layout from the source drive of the cloned copy.
One possible scenario is that Windows 98 is running on a 4 GB drive. After the upgrade, for example, after upgrading to a 30 GB hard disk, use the third-party disk image utility to perform image operations on Windows 98 installation and apply the image to the new drive. Later, install Windows XP on the clone image of Windows 98 to upgrade to Windows XP.
To perform this action, the following conditions must exist:
? Format the system/boot partition with the FAT32 file system.
? The computer is started by using the INT-13 extension (a system-ID type partition larger than 7.8 GB with 0C in the Partition Table.
? Because of the cloning process, the header (edge) value in the FAT32 BIOS parameter block (BpB) does not match the physical drive layout.
Windows 95, Windows 98, or Windows ME startup Code ignores the header value in BPB and starts the program even if the value is invalid. However, the startup code in Windows 2000 and Windows XP requires this value. If this value is invalid, the startup process will not succeed.
Solution
To solve this problem, correct the Invalid Header (edge) value in FAT32 BPB to continue the Windows XP startup process. The simplest way to update this field is to rewrite the startup code of Windows 95, Windows 98, or Windows ME by using the following process:
1. Use a Windows 95, Windows 98, or Windows Me boot disk that contains the sys.com file (which by default contains this file) to restart the computer.
2. Create a backup copy of The msdos. SYS file in the root directory of the system drive. To do this, enter the following command in the command prompt:
Attrib-H-r-s c: \ msdos. sys
Rename msdos. sys *. sys
3. Enter sys C: In the command prompt :. This command uses the correct BPB information to rewrite the Windows 95, Windows 98, or Windows ME startup code. If the command is successfully run, go to step 4.
If you use a Windows Me boot disk and receive an error message, "cannot find the system file in the standard locations on drive C :", one or more files in the Windows ME installer have been deleted. Use the following steps to place the correct files on the drive so that the Sys command can find them:. run the following command to start the command prompt (that is, enter the command and press enter after each command ):
C:
CD \ WINDOWS
A. If Windows is installed in a folder different from the Windows folder, adjust the command accordingly.
B. If Windows is installed in a folder different from the Windows folder, adjust the command accordingly and try to use the following command to switch to the command Folder:
CD command
If an error occurs, the path is not found, use the following command to create the command folder, and then run CD command again:
MD command
C. If Windows is installed in a folder different from the Windows folder, adjust the command accordingly and use the following command to switch to the EBD Folder:
CD EBD
If an error occurs and the path is not found, use the following command to create the EBD folder and repeat the cd ebd command:
MD EBD
D. if Windows is installed in a folder different from the Windows folder, adjust the command accordingly in the EBD folder and use the following command to copy IO from the hard disk root. sys File and. rename the Sys File to winboot. SYS:
Attrib-s-h-R c: \ Io. sys
Copy c: \ Io. sys winboot. sys
Winboot. sys is the file required by sys.com.
E. If Windows is installed in a folder different from the Windows folder, change the command to drive a and run the following command:
A:
Sys C:
Enter the following command and press Enter next to each command to restore the original msdos. SYS:
Attrib-s-h-R c: \ msdos. sys
Copy c: \ msdos. ysy c: \ msdos. sys
Press Y to rewrite the existing msdos. SYS file. The "1 file (s) copied" validation of the file should be received.
4. enter the following command and press Enter next to each command to restore the original msdos. SYS: restart your computer to Windows 95, Windows 98, or Windows ME, and then try the installation or upgrade process of Windows XP again.
Note: Alternatively, after running the Sys C: Command, start to the fault recovery console and use the fixboot command to overwrite the Windows XP startup code. This process allows the original installation to normally continue.