Contents

Setting Up Hardware Profiles

If you have a dual-boot system and want to use a virtual machine to boot a previously installed operating system (such as Windows 95, Windows 98, Windows NT or Windows 2000) from an existing partition, you must set up real and virtual hardware profiles. Certain operating systems use hardware profiles to load the appropriate drivers for a given set of hardware devices. VMware recommends using them only if you are familiar with VMware GSX Server virtual machines and the Windows hardware profiles concept. Also, if you haven't already done so, look at the information about configuring dual- or multi-boot systems to run with VMware GSX Server before proceeding.

Each virtual machine provides a platform that consists of the following set of virtual devices:

This set of virtual devices is different from the set of real hardware devices and is independent of the underlying hardware with a few exceptions (the processor itself is such an exception). This feature provides a stable platform and allows operating system images installed within a virtual machine to be migrated to other virtual machines, regardless of the configuration of the real machine.

If an operating system is installed directly into a virtual machine, the guest operating system properly detects all the virtual devices by scanning the hardware. However, if an operating system is already preinstalled on the physical machine (such as in a dual-boot configuration), the operating system already is configured with the actual hardware devices. In order to boot such preinstalled operating systems in a virtual machine, you need to create separate hardware profiles in order to simplify the boot process.

Microsoft operating systems (including Windows 95, Windows 98, Windows NT 4.0, Windows 2000, Windows XP and Windows .NET Server) have the notion of hardware profiles. Each hardware profile is associated with a set of known devices. If more than one hardware profile exists, the user is prompted to choose between different hardware profiles at boot time. Windows 95, Windows 98, Windows Me, Windows 2000, Windows XP and Windows .NET Server use Plug and Play at boot time to confirm that the actual devices match the chosen hardware profile. Mismatches lead to the automatic detection of new devices. Although this operation succeeds, it can be a fairly slow one. Windows NT does not have Plug and Play support and uses the hardware profiles to initialize its devices. Mismatches lead to errors reported by the device drivers and the devices are disabled.

To set up hardware profiles for your real and virtual machines, VMware recommends that you follow these steps.

  1. Before running VMware GSX Server to boot a preinstalled operating system on a disk partition, boot it natively and create two hardware profiles: Real Machine and Virtual Machine. To do this:
    1. Open Control Panel > System.
    2. Click the Hardware Profiles tab.
    3. Click the Copy button and name the copies appropriately.
  2. Windows NT only: While still running natively, use the Device Manager to disable some devices from the virtual machine hardware profile. To do this:
    1. Open Control Panel > Devices.
    2. Select the individual devices to disable from the virtual machine hardware profile, including: audio, MIDI and joystick devices, Ethernet and other network devices and USB devices.
  3. Reboot the machine into the Windows host operating system.
  4. Use the VMware Configuration Wizard to configure your virtual machine. See the information on configuring virtual machines for dual- or multi-boot systems.
  5. Boot the virtual machine and select the guest operating system via your existing boot manager. Choose Virtual Machine at the hardware profile menu prompt. Device failure messages appear and delays occur during this initial boot.
  6. Windows 2000, Windows XP and Windows .NET Server only: After you log in to Windows (now running as a guest operating system):
    1. A Found New Hardware dialog box appears for the video controller as Plug and Play runs and discovers the virtual hardware. Do not install drivers at this time. Click Cancel.
    2. Do not reboot the virtual machine — click No in the System Settings Change/Reboot pop-up message. Windows 2000 automatically detects and loads the driver for the AMD PCnet PCI Ethernet card.
    3. Install VMware Tools inside the virtual machine.
    4. Allow the virtual machine to reboot after the VMware, Inc. SVGA video driver (included in VMware Tools) has been installed.
    5. Once Windows reboots inside the virtual machine, select Start > Control Panel > Display and click the Settings tab. Choose a new SVGA resolution to increase the size of the virtual machine's display window, then click OK.
    6. If you want to enable the virtual machine's sound adapter to work inside the Windows guest operating system, complete the remaining steps in this procedure.
  7. Windows 95/98 only: After you log in to Windows 95/98 (now running as a guest operating system):

    A New Hardware Detected dialog box appears as Plug and Play runs and discovers the virtual hardware. Windows prompts you for locations to search for device drivers. Most of the device drivers are available in the existing operating system installation, but you may need the installation CD-ROM for some networking device drivers.

    Windows also asks you to reboot your system several times as it installs the device drivers. In some instances, Windows may not recognize the CD-ROM drive when it prompts you to insert the CD-ROM to look for device drivers during the initial hardware detection. In such cases, you can cancel the installation of the particular device or try pointing to C:\windows\system\ to search for device drivers on the hard disk. Any failed device installations may be performed at a later time after the CD-ROM drive is recognized.

    After Windows has installed the virtual hardware and its drivers, you can remove the failed devices corresponding to the physical hardware using the Device Manager (Control Panel > System > Device Manager tab). Select the device, then click the Remove button. If a device appears in multiple hardware profiles, you can select the hardware profile(s) from which to remove the device.

  8. Windows NT only: After the operating system has finished booting:
    1. View the event log to see which real devices have failed to start properly.
    2. Disable failed devices them from the Virtual Machine hardware profile using the Device Manager (Control Panel > Devices).
  9. Confirm that your virtual devices are working properly, specifically the network adapter.
  10. Windows 95/98 only: If any virtual device is missing, you can detect it by running Control Panel > Add New Hardware.
  11. Install VMware Tools. VMware Tools appear and run in both hardware configurations but have an effect only in the Virtual Machine hardware configuration.
  12. Windows 95 only: See the information about enabling the SVGA video driver for Windows 95 guest operating systems booted from a raw disk.
  13. Windows 98 only: See the information about enabling the SVGA video driver for Windows 98 guest operating systems booted from a raw disk.

Note: The next time you reboot Windows natively using the Real Machine hardware profile, some virtual devices may appear in the device list. You can disable or remove these virtual devices from the Real Machine hardware profile in the same way that you removed real devices from the Virtual Machine hardware profile.

Related Topics:

Back to top

© 2001-2002 VMware, Inc. All rights reserved.