Performing a Windows repair on a Windows XP virtual machine in Fusion
Symptoms
- You get a blue error screen when booting to Windows.
- You cannot boot into Windows.
- You see one of these errors when starting Windows:
NTLDR is missing
Hard disk not found.
- You receive an error about:
AGP440.sys
Purpose
This article details how to repair Windows XP running in a virtual machine. The process has a few extra steps that aren't needed to repair Windows XP running on a physical computer.
For virtual machines running Windows Vista or Windows 7, no extra steps are needed. The process is the same as the process Microsoft provides for repairing these OSes on a physical computer. For more information about repairing Windows Vista or 7, see the appropriate Microsoft article:
- Windows Vista:Startup Repair: frequently asked questions
- Windows 7: Startup Repair: frequently asked questions
Note: The preceding links was correct as of March 21, 2011. If you find the link is broken, provide feedback and a VMware employee will update the link.
Resolution
Any of these symptoms can be a sign that Windows needs to be repaired. In order to repair Windows, you need the original Windows installation media (CD or disk image file). You may need a special drivers file from VMware so that your installation media will recognize the virtual hard disk.
Caution: VMware recommends backing up the entire virtual machine bundle before making changes, to avoid possible data loss. For information on backups, see Best practices for virtual machine backup (programs and data) in VMware Fusion (1013628).
These steps are different, depending on your version of Windows XP. Click the link to view the directions for your version:
Windows XP 32-bit
To repair Windows, you must download a drivers file, mount the drivers, and then repair Windows:
- Download the SCSI driver floppy image from http://download3.vmware.com/software/vmscsi-1.2.0.4.flp. (Do not try to open that link; instead, ctrl+click the link, and choose Save Link As... or Download Linked File As....).
Note: When downloading in Google Chrome, the final extension may be doubled. Ensure that this file is saved as vmscsi-1.2.0.4.flp and not vmscsi-1.2.0.4.flp.flp. - Add a floppy drive to the virtual machine and mount the floppy image:
- If you are using Fusion 4.x:
- Shut down the virtual machine.
- Go to Virtual Machine > Settings > Add Device...
- Choose Floppy Drive and click Add...
A dialog appears asking you to choose a floppy image file. - Browse to the location of the .flp file that you downloaded and select the file.
- Beside Enable Floppy Drive, change the switch to Off.
- If you are using Fusion 3.x:
- Shut down the virtual machine.
- Go to Virtual Machine > Settings > Other Device.
- Click + and choose Add Floppy.
A dialog appears asking you to choose a floppy image file. - Browse to the location of the .flp file that you downloaded and select the file.
- De-select Connected.
- If you are using Fusion 4.x:
-
Mount your Windows ISO (or put the Windows disk in the drive) and make sure the CD drive is connected by going to Virtual Machine > Settings > CDs & DVDs and selecting Connected.
- If you are using Fusion 4.x:
- Go to Virtual Machine > Settings > Startup Disk.
- Select CD/DVD.
- Start the virtual machine, and press any key to boot to the CD when prompted.
- If you are using Fusion 3.x:
- Go to Virtual Machine > Settings > Advanced. By default, the Startup Device tab opens.
- Select CD/DVD.
- Start the virtual machine, and press any key to boot to the CD when prompted.
- If you are using Fusion 1.x or 2.x:
- As soon as your virtual machine starts, press ESC to get the Boot menu.
- If you can not press ESC quickly enough, add a 5-second delay to the BIOS screen by adding this line to the .vmx file:
bios.bootDelay = "5000"
For more information, see Editing the .vmx file for your Fusion virtual machine (1014782). - Select Boot from the CD-ROM drive , using the arrow keys.
- Press Enter.
- If you are using Fusion 4.x:
- As soon as the Windows repair starts, press F6 when prompted (or fn+F6 if you have not set your keyboard to send function keys by default), to indicate that you need to load additional drivers.
Note: There is no acknowledgement that this key has been pressed. - After the drivers have finished loading, when Windows prompts you, press S to specify additional devices.
- Press Control + Command to release the mouse from the virtual machine.
- Click the picture of the disk image in the Fusion icon tray and select Connect Floppy.
- After connecting the disk, press Enter on the Insert a Floppy screen.
- Choose VMware SCSI Controller and press Enter.
- Press Enter again to continue past the Specify additional devices screen.
- Continue with the directions for all users.
Windows XP 64-bit
- Mount your Windows ISO (or put the Windows CD in the drive) and make sure the CD drive is connected by going to Virtual Machine > Settings > CDs & DVDs and selecting Connected.
- Boot from the CD drive.
- If you are using Fusion 4.x:
- Go to Virtual Machine > Settings > Startup Disk.
- Select CD/DVD.
- Start the virtual machine, and press any key to boot to the CD when prompted.
- If you are using Fusion 3.x:
- Go to Virtual Machine > Settings > Advanced. By default, the Startup Device tab opens.
- Select CD/DVD.
- Start the virtual machine, and press any key to boot to the CD when prompted.
- If you are using Fusion 1.x or 2.x:
- As soon as your virtual machine starts, press ESC to get the Boot menu.
Note: If you cannot press ESC quickly enough, add a 5-second delay to the BIOS screen by adding this line to the .vmx file:
bios.bootDelay = "5000"
For more information, see Editing the .vmx file for your Fusion virtual machine (1014782). - Select Boot from the CD-ROM drive , using the arrow keys.
- Press Enter.
- As soon as your virtual machine starts, press ESC to get the Boot menu.
- If you are using Fusion 4.x:
- Continue with the directions for all users.
- Press Enter on the Welcome to Setup screen, to indicate you want to set up Windows. This will guide you to the automated repair, rather than the manual repair option through the Recover Console.
- Press F8 to agree to the End User Agreement.
You see a screen that says:
If one of the following Windows XP installations is damaged, Setup can try to repair it. - Select the Windows install that you want to repair, if there is more than one.
- Press R to start the repair.
- Continue with the Windows install wizard to repair Windows, until it completes.
- When the Setup is restarting screen appears, press Control + Command to release the mouse.
- Click the picture of the disk image in the Fusion icon tray and select Disconnect Floppy.
Warning: If you do not do this before rebooting, you may receive an error: NTLDR is missing.
No comments:
Post a Comment