Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Repairing boot sector problems in Windows NT-based operating systems (1006556)

Last Updated: 4/26/2015Categories: TroubleshootingTotal Views: 128219Language:
Chinese (Simplified)Portuguese (European)JapaneseEnglish

10 like this article

Subscribe to get an email
newsletter with new updates

10 people found this helpful Please provide article feedback:

Symptoms

The virtual machine fails to start the operating system

The virtual machine fails to boot and does not issue a STOP error

Bootup halts at a black screen with a blinking cursor

You may receive these errors:

Operating System not found

Non-system disk or disk error

Windows could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM

NTLDR is missing

Press any key to restart

A disk read error occurred

The Master boot record (MBR) of this virtual machine's hard disk does not contain valid bootstrap code. It is likely that the MBR was corrupted by an incorrect guest operating system installation or some other reason. The virtual machine cannot continue and will now power off. (For advanced user: The MBR is the last disk sector accessed by the virtual machine before the error.) Please consult our Web site at http://www.vmware.com/info?id=18 for common troubleshooting help.

Windows could not start because of a computer disk hardware configuration problem. Could not read from the selected boot disk. Check boot path and disk hardware.

Purpose

This article guides you through the process of restoring the boot sector of an operating system based on Windows NT including, Windows NT 4.0, Windows 2000, Windows XP and Windows 2003. This article also covers restoring critical boot files.

For more recent operating systems -- Windows Vista, 7, and Server 2008 -- see Microsoft Knowledge Base article 927392 .

Note: The preceding link was correct as of April 27, 2015. If you find a link is broken, provide feedback and a VMware employee will update the link.

For more information relevant to Fusion customers, see Performing a Windows repair on a Windows XP virtual machine in Fusion (1013846).

Resolution

Windows 2000/XP/2003

To repair boot sector problems for Windows 2000/XP/2003

Boot the Windows Setup disc and start the Recovery Console. Log in to the damaged operating system. For more information, see Microsoft Knowledge Base article 314058.

Type fixmbr and press Enter to repair the master boot record.

Type fixboot and press Enter to repair the boot sector. In some cases, you may have to type fixboot c:.

Check the disk for corruption in the file system, if applicable. Type chkdsk c: /p and press Enter.

Verify that the required boot files are present on the startup disk. Type dir \ and press Enter.

Note: The ntldr, NTDETECT.COM files are listed and have a size greater than zero. If either ntldr or NTDETECT.COM are missing, copy the files from the Windows disc using the COPY command. For example, copy d:\i386\ntldr c:.

Rebuild the boot.ini file. For more information on this command, see Microsoft Knowledge Base article 291980.

Type bootcfg /rebuild and press Enter.

At the prompt Enter Load Identifier, type the version of the Windows installation (for example Windows 2000 Server) and press Enter.

At the prompt Enter Operating System Load Optionsif running Windows XP or 2003, type /fastdetect. Otherwise do not type anything and press Enter.

Exit the recovery console. Type exit and press Enter.

Warning: If you do not use the exit command to quit the Recovery Console, your changes may be discarded.

Attempt to start the virtual machine normally. If the problem persists, create a Windows boot diskette to start the operating system and set the active partition.

Insert or connect the Windows boot diskette, and boot from the diskette. For instructions on creating a Windows boot diskette, see the Microsoft Knowledge Base article 305595.

Log in to Windows as an Administrator.

Open the Disk Management console. Click Start > Run. Type diskmgmt.msc and press Enter.

Right-click the system partition and select Mark Partition as active.

Windows NT

Note: Windows NT does not supply a Recovery Console tool. You must use another virtual machine to perform recovery on the damaged disk, another installation of Windows NT installed on the affected disk, or the Windows NT Emergency Recovery Diskette (ERD) created from the rdisk utility. Choose the most appropriate option for your situation. If you have an ERD diskette, use this option first. If you have used VMware Converter to create this virtual machine, you can run the rdisk tool on the source or attempt another conversion.

Using an existing virtual machine to repair problems with the damaged disk

If you have another functioning Windows virtual machine running Windows NT proceed with these steps. If you do not, you may not be able to complete all types of repairs possible.

Use an existing helper virtual machine to edit the contents of the virtual hard disk on the newly created virtual machine.

Warning: The helper virtual machine must be running Windows NT otherwise the NTFS file system is automatically upgraded and prevents the native CHKDSK utility from running on the volume in the future.

Edit the configuration or settings of the helper virtual machine and include the virtual hard disk of the new virtual machine as a secondary disk.

Power on the helper virtual machine.

Perform a file system integrity check:

Open a command prompt. For more information, see Opening a command or shell prompt (1003892).

Type chkdsk d: /f

Where d: is the drive letter of the damaged virtual machine disk.

Press Enter.

Verify that critical boot files are present on the damaged disk.

Open My Computer.

Click View > Options > View.

Select Show all files.

Browse the root of the file system of the damaged disk.

Ensure that these files are present and have a file size greater than zero bytes: boot.ini, ntldr, NTDETECT.COM.

If the files are missing, copy them from helper virtual machine's hard disk.

Create a Windows NT boot diskette. You need this to start the damaged virtual machine and complete repairs. For instructions creating a Windows boot diskette, see the Microsoft KB article 305595.

Note: The instructions are the same for Windows XP, except use the helper to create the floppy image or alternately another computer running a Windows-NT based operating system. You can use the files from the root of the helper virtual machine's hard disk or the Windows NT setup disc. Using a second installation of Windows NT to repair startup problems

Attach the VMware SCSI boot diskette to the virtual machine's virtual floppy drive.

Boot the virtual machine into the Windows NT Setup disc. Press F6 repeatedly when you see the message: Setup is inspecting your computer.

Type s to specify an additional disk controller driver and select the VMware SCSI controller option.

Proceed with the installation of Windows NT with the following options:

When prompted to remove or reformat partitions, do not do so.

When prompted for the installation directory for Windows NT, specify a new name that is not the same as the existing installation, typically \WINNT.

When Windows NT is installed you can use it to run CHKDSK on the system volume and perform other operations from the previous section of this document. If you are unable to complete the second Windows NT installation due to a boot issue, create a Windows NT boot diskette per step 6 above and use it the boot the system into the second phase of setup.

Creating and Using an Emergency Repair Disk to restore the boot files

If you have an existing and recent ERD disk you can use it to repair boot problems.

If you used VMware Converter to create the virtual machine, use this process to create the ERD on the source computer:

Click Start > Run.

Type rdisk and press Enter.

Click Create Repair Disk

To use the ERD disk to repair the Windows NT installation:

Attach the VMware SCSI boot diskette to the virtual machine's virtual floppy drive.

Boot the virtual machine into the Windows NT Setup disc. Press F6 repeatedly when you see the message:

Setup is inspecting your computer

Type s to specify an additional disk controller driver and select the VMware SCSI controller option.

Insert the Windows NT ERD diskette into the floppy diskette drive and assign the virtual floppy drive to the physical floppy diskette drive.

When prompted type r to use the ERD diskette to repair Windows NT. Follow the instructions on the screen to complete the process.

Repairing the boot sector to allow the Windows NT virtual machine to boot without a boot diskette

Boot the virtual machine using the Windows NT boot diskette.

Open the Disk Administrator. Click Start > Run. Type windisk and press Enter.

Select the system partition. Click Partition > Mark Active.

Copy the critical boot files from the Windows NT startup diskette boot.ini, ntldr, NTDETECT.COM, onto the root of the system disk.

Remove or disconnect the Windows NT startup diskette and restart the virtual machine.

If the system fails to boot you must recreate the Master Boot Record (MBR).

Obtain an MS-DOS 6 or Windows 95/98 or ME boot diskette or diskette image.

If applicable, boot to an MS-DOS prompt when prompted.

Note: MS-DOS cannot read or recognize the NTFS formatted system partition. You can still proceed despite this.

Type fdisk /mbr and press Enter.

Remove or disconnect the boot diskette, and reboot the virtual machine.

Note : The preceding links were correct as of April 27, 2015. If you find a link is broken, please provide feedback and a VMware employee will update the link.

Related Information

For more information related to being unable to boot a virtual machine, see:

Cannot boot or start a virtual machine converted by VMware Converter (1006296)

Microsoft Knowledge Base articles 308041 and 321626

Solucionar problemas no setor de inicialização em sistemas operacionais baseados no Windows NT
修复 Windows NT 的操作系统中引导扇区的问题
Windows NT ベースのオペレーティング システムにおけるブート セクタ の問題の修正

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation

VMware vSphere ESXi

VMware View

VMware Server

VMware Player

VMware GSX Server

VMware ESX Server

VMware Converter

VMware ACE

view all

Related Versions:

VMware P2V Assistant

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant