Preparatory work
- Download and install VirtualBox for MAC
Download VirtualBox < version > for OS X hosts to Https://www.virtualbox.org/wiki/Downloads
- Download and install VirtualBox Extension Pack
On the page of step 1, click VirtualBox < version > Oracle VM VirtualBox Extension Pack to the right of the link to download.
- Download windows XP image (please search by yourself ^ ^)
Installing Windows XP in VirtualBox
Detailed steps I will not list, here I only focus on the more critical configuration parameters.
- Virtual Disk Type Select "VDI disk image", this type of disk is the best virtualbox support;
- Disk capacity recommended setting greater than 20GB
- Name the virtual machine, assuming it's called Winxp-vbox (the name will be used later)
- If the number of processors is greater than 1, check the "Enable I/O APIC" option under System > Motherboard simultaneously
- On the Port >usb device tab, tick "Enable USB 2.0 (EHCI) Controller"
Installing the VirtualBox daemon in the virtual Machine guest Additions
When the virtual machine operating system is installed, after the first boot, select Devices > Insert Guest Additions CD Image under the virtual machine's menu, and then install the daemon in the virtual machine system according to the wizard. Be sure to install it, this program when the virtual machine and the host to communicate the intermediary medium.
Support for host hardware
- Graphics card: Default support, if you need 3D support, modify the corresponding virtual machine settings
- sound card and microphone: Default support
- Camera: This is a little more complicated, here is a detailed explanation of the following specific steps
To enable virtual machines to support calling host cameras
- If you install the VirtualBox expansion pack (Extension pack), the first time you open the virtual machine, the system will pop up a lot of driver Installation Wizard, all installed;
- Under host, open terminal, enter the following command to find the identifier of the camera device:
Vboxmanage List Webcams
A result similar to the following will be returned:
Video Input devices:1
.1 "FaceTime HD Camera"
Djh4166a3glf6vtdg
The third line is the camera's label.
- Run the following command at the terminal to enable the camera for the virtual machine system:
Vboxmanage CONTROLVM "< virtual machine name >" Webcam Attach < camera identity >
For example, my virtual machine is named Winxp-vbox, and the camera is labeled DJH4166A3GLF6VTDG, then the command is:
Vboxmanage CONTROLVM "Winxp-vbox" webcam attach DJH4166A3GLF6VTDG
Other questions
1. How do I enable write operations for the NTFS file system for Mac OS x systems?
Online methods I have tried, mount and mount_ntfs command-line method in the Mavericks system does not work, so still spend money to buy a software to solve it, I use the Tuxera NTFS
2. How do I remove the connection between the host camera and the virtual machine?
When you want to use the console Skype or FaceTime for video chat, you need to first release the camera from the virtual machine. You can remove the relationship between the camera and the virtual machine by running the following command:
Vboxmanage CONTROLVM "< virtual machine name >" Webcam Detach < camera identity >