Oracle's VirtualBox hypervisor runs as an application on your OS X devices, allowing you to can run a virtual machine inside the application. You can specify how much disk space to give to that virtual machine, and load another operating system on it. There are two post-installation configuration issues you might run into: getting VirtualBox to play nicely with modern screen resolutions -- especially with Retina Display devices -- and increasing the amount of disk space allocated to a given VirtualBox instance on your computer.
Adjusting Screen Resolution
Search for "com.apple.Boot.plist," one of the configuration files for VirtualBox. It resides in your VirtualBox folders, but depending on the version of VirtualBox you have installed, it may be in the Extra or SystemConfiguration subfolder.
Make a backup copy of this file by copying and pasting it somewhere else.
Open the original file with a text editor.
Search within the file for "Graphics Mode," which should be in XML tags. Underneath the tag containing the element "Graphics Mode" there's a String tag containing the element "1280x1024x32" or something fairly similar. That string contains the pixels and color depths that VirtualBox uses for your display. Change that to whatever resolution your OS X machine supports.
Save the file. Make sure to uncheck the check box that says "save with a .txt extension" to save it with the .plist file extension.
Start VirtualBox; it now uses the new screen resolution.
Resizing the VirtualBox Disk
Back up your existing virtual drive, or VDI, file by starting the VBoxManage utility in VirtualBox, and then entering the following command at the command prompt:
clonehd <path to your original vdi file> <path of the copy>
This may take a few minutes to complete.
Resize the virtual box drive by typing the following command into VBoxManage:
modifyhd <path to your vdi> --resize <new size in megabytes>
Note that the "resize" flag has two hyphens preceding it. Remember that there are 1024MB in a gigabyte.
Shut down and restart VirtualBox to access the additional disk space.
- Use your guest operating system's disk management tools to extend the partition it sees to cover the enlarged VDI file. For Windows, search for "Computer Management," and then right-click on the partition corresponding to your VDI file and click the "Extend Volume" button so that the guest operating system formats the remaining unallocated disk space.
- Jack Hollingsworth/Photodisc/Getty Images