Virtualization

From OSx86
(Difference between revisions)
Jump to: navigation, search
(VMware Fusion: Removed problems that Beta 3 addresses)
(Quick Comparison: Update comparison table)
Line 16: Line 16:
 
   <td>'''Latest Development'''</td>
 
   <td>'''Latest Development'''</td>
 
   <td>'''Guest Tools'''</td>
 
   <td>'''Guest Tools'''</td>
 +
  <td>'''Run from Boot Camp'''</td>
 
   <td>'''Unique Features'''</td>
 
   <td>'''Unique Features'''</td>
 
  </tr>
 
  </tr>
Line 25: Line 26:
 
   <td>N/A</td>
 
   <td>N/A</td>
 
   <td>Windows only</td>
 
   <td>Windows only</td>
   <td>Coherence<br>Boot Camp integration</td>
+
   <td>Yes</td>
 +
  <td>Coherence</td>
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
Line 32: Line 34:
 
   <td>unknown</td>
 
   <td>unknown</td>
 
   <td>N/A</td>
 
   <td>N/A</td>
   <td>1.0b2 (41385)</td>
+
   <td>1.0b3 (43733)</td>
 
   <td>Windows, Linux, Solaris, FreeBSD, Novell</td>
 
   <td>Windows, Linux, Solaris, FreeBSD, Novell</td>
 +
  <td>Yes</td>
 
   <td>[http://www.youtube.com/watch?v=xF_CoXsXtk4 3D acceleration] <br>Single Snapshot <br>64-bit guests <br>Multiprocessor guests <br>Battery information in the guest <br>Built-in VNC server <br>Maybe other unannounced stuff?</td>
 
   <td>[http://www.youtube.com/watch?v=xF_CoXsXtk4 3D acceleration] <br>Single Snapshot <br>64-bit guests <br>Multiprocessor guests <br>Battery information in the guest <br>Built-in VNC server <br>Maybe other unannounced stuff?</td>
 
  </tr>
 
  </tr>
Line 41: Line 44:
 
   <td>free</td>
 
   <td>free</td>
 
   <td>0.8.1a35</td>
 
   <td>0.8.1a35</td>
   <td>0.8.2d52</td>
+
   <td>0.9.0d74</td>
   <td>none (?)</td>
+
   <td>None (?)</td>
 +
  <td>No (?)</td>
 
   <td>?</td>
 
   <td>?</td>
 
  </tr>
 
  </tr>
Line 51: Line 55:
 
Guest tools improve performance of the virtualized system and can allow useful things like drag-and-drop or shared folders between guest and host.
 
Guest tools improve performance of the virtualized system and can allow useful things like drag-and-drop or shared folders between guest and host.
  
"Latest Stable/Development" is as of March 7, 2007.
+
"Latest Stable/Development" is as of April 5, 2007.
  
 
<nowiki>*</nowiki>: 3188 is a GA build, but [http://forums.parallels.com/showthread.php?t=10054 there will be future versions of 2.5] - think of the build number as a revision number.
 
<nowiki>*</nowiki>: 3188 is a GA build, but [http://forums.parallels.com/showthread.php?t=10054 there will be future versions of 2.5] - think of the build number as a revision number.

Revision as of 03:57, 6 April 2007

Contents

Introduction

This is the virtualization section of the osx86project wiki. Here you will be able to acquire information about tools for running virtual x86 machines inside of Mac OSx86, and how each method reacts with your hardware.

Virtualization lets users create completely self-contained virtual machines on a single PC. Virtual machines can be created to run anything that will run natively on x86 hardware, including the entire Windows family, Linux distributions (such as Mandrake, Red Hat and SUSE), OS/2 and FreeBSD.

"Host" means the OS that the virtualization program runs on, OSx86. "Guest" means the OS running inside the virtual machine, like Windows or Linux.

Quick Comparison

Product License Price Latest Stable Latest Development Guest Tools Run from Boot Camp Unique Features
Parallels Desktop Commercial $79.99 2.5 (3188*) N/A Windows only Yes Coherence
VMware Fusion (beta) Commercial unknown N/A 1.0b3 (43733) Windows, Linux, Solaris, FreeBSD, Novell Yes 3D acceleration
Single Snapshot
64-bit guests
Multiprocessor guests
Battery information in the guest
Built-in VNC server
Maybe other unannounced stuff?
Q
(Developer site)
Open source free 0.8.1a35 0.9.0d74 None (?) No (?) ?

Notes

Guest tools improve performance of the virtualized system and can allow useful things like drag-and-drop or shared folders between guest and host.

"Latest Stable/Development" is as of April 5, 2007.

*: 3188 is a GA build, but there will be future versions of 2.5 - think of the build number as a revision number.

Parallels Desktop

You can download it from the official site.

Overview

Parallels is a new virtualization company, a subdivision of SWsoft. Parallels' programs rely on recent virtualization hardware extensions by Intel (VT-x) and AMD (Pacifica).

Parallels uses GTK+, which eases cross-platform development but occasionally makes Desktop not behave like other Mac applications.

CPU Requirements

Every Intel Mac (Except Mac Pro & Xserve) uses CORE CPUs wich are intel VT enabled (or not? see update below). OSx86 thanks to some patches works with Intel and AMD CPUs alike, infact every CPU with at least SSE2 (through SSE3 -> SSE2 Emulation).

On the Windows and Linux Versions of Parallels you can either enable or disable VT via Checkbox, because of course not every "PC CPU" supports it. Parallels for OSX however requires VT, as any LEGAL hardware it runs on supports it, that could be a problem for your Frankenstein Box unless you plan on using a VT enabled Intel CPU.

UPDATE: I've bought Parallels and I'm using version RC2 on a Celeron M which does not have VT. Mac version also has a VT enabled checkbox.

Specifications

Parallels Workstation virtualizes a full set of the standard PC hardware including:

  • CPU Pentium or AMD Duron
  • Generic motherboard compatible with Intel i815 chipset
  • RAM up to 1500 Mb
  • VGA and SVGA with VESA 3.0 support
  • 1.44 Mb floppy drive (mapped to a physical drive or to an image file)
  • Up to four IDE devices
  • AC97 compatible sound card
  • 104-key Windows enhanced keyboard
  • PS/2 wheel mouse

More information on this page

Guides, Hacks and Tips

Here we have developed some guides, hacks and tips which can better your experience with Parallels Workstation. Please feel free to add any info that can better our experience with this software.

CD-ROM Issues

If you are using Parallels and it doesn't recognize your CD, try closing Parallels and ejecting the CD. Then put the CD in again and start Parallels. Check if you can use the CD.

If that doesn't help you, you can make an ISO of your cd and then use it in Parallels. To do this go to Applications -> Utilities -> Disk Utility. Select your cdrom and then go to New Image and select Master DVD/CD, type a name for it and make the image. This way you'll have a file ending with .cdr. Rename the .cdr to .iso and mount it in your Parallels virtual machine.

Install Parallels on AMD64

  • 1) Download it
  • 2) Mount the image
  • 3) Launch Parallels.pkg... Ta-daaan! XD It says that you haven't a compatible system, in italian it says "Parallels non può essere installato in questo computer. Assicurati che il tuo sistema possieda i requisiti necessari.", in english "Parallels cannot be installed on this computer. Make sure that your system meets the requirements."
  • 4) Copy Parallels.pkg on your desktop
  • 5) Right click on it and choose "Show package contents"
  • 6) Right click on "Contents", show informations and under "Ownership and permission" make you owner of it with a read/write access
  • 7) Apply to enclosed items...
  • 8) Open "Info.plist" with TextEdit and delete the following:
<key>IFRequirementDicts</key>
<array>
<dict>
<key>Level</key>
<string>requires</string>
<key>SpecArgument</key>
<string>machdep.cpu.vendor</string>
<key>SpecType</key>
<string>sysctl</string>
<key>TestObject</key>
<string>GenuineIntel</string>
<key>TestOperator</key>
<string>eq</string>
</dict>
</array>
 
  • 9) Save and exit
  • 10) Go to Resources folder and delete InstallationCheck and pkmkshellutility
  • 11) Exit and launch your modified Parallels.pkg
  • 12) Install it!

Installing Windows XP in Parallels

Prepping
  • First get a copy of windows xp handy.
  • If the copy is in iso form, then great you're a step ahead.
  • If you have a physical XP CD then it is recommended you make an ISO to use with parallels. Parallels seems to handle ISO files better then mounting physical discs. [NOTE: With new beta, CD/DVD support is working much better. Make sure there is a CD/DVD in the drive before launching the program and it works fine.]
Setting Up Virtual Machine
  • This part is actually pretty straight-forward... just click the "New" button at the bottom and follow the prompts. Their website has a FAQ and a support forum for your use. http://www.parallels.com

VMware Fusion

Download the free beta from the official site (requires registration).

Overview

VMware kicked off virtualization on x86 hardware in the late 1990s, and was later acquired by EMC. Although VMware products are capable of using virtualization hardware extensions, this functionality is off by default because for normal workloads, it's actually slower for the current generation of hardware extensions.

Fusion uses the same disk format as other VMware products, so you can move virtual machines between them. Fusion uses a native Cocoa UI. You can download hundreds of free preconfigured virtual machines for use with VMware products (in some cases they may require minor tweaking to work).

Fusion is still in beta, the final version will be available in Summer 2007.

Experimental 3D support

Fusion supports hardware accelerated DirectX 8.1 in guests. For a list of games known to work, see the release notes. VMware developers have stated they are working on support for DX9.

Single Snapshot

Snapshots are a way to create a "save state" of a virtual machine. If something later goes wrong (you get a virus, decide you didn't want to delete that system file, etc.), you can revert to the snapshot and be on your way. This is superior to just making a backup copy because it saves space (future disk operations only need to record the difference between the old state and the new state).

Tips, Common Problems, and Solutions

Read the release notes, FAQ, and check out the forums (requires registration). Many (all?) of these will be fixed in future updates. Be careful about the forums, they don't seem to like FrankenMac owners posting (reading looks OK).

Convert a BootCamp partition into a VM

  1. (optional) Enable RDP in the BootCamp install. This will be useful later.
  2. Use VMware Converter to migrate the BootCamp install
  3. At this point, if you try to run the resulting virtual machine, keyboard and mouse don't work. This is because VMware tools are not installed. However, you can't install them... because keyboard and mouse don't work. This is where RDP comes in: you can either use RDP (or some other such remote connection mechanism) or the built-in VNC functionality of Fusion. Using this, connect to the virtual machine, in Fusion select "Virtual Machine > Install VMware Tools", and use the remote connection to complete the tools install. After this, restart the virtual machine and you should be able to use it normally.
  4. (optional) Turn off RDP.

Enable built-in VNC

There's a hidden feature in Fusion that acts as a VNC server - no need for one in the guest, which saves space if you have multiple guests and lets you get at the guest earlier/later than a guest VNC server would (e.g. at the BIOS screen or during shutdown). To enable this, you have to edit the .vmx file when the virtual machine is off. Add the following lines:

RemoteDisplay.vnc.port = "5900"
RemoteDisplay.vnc.enabled = "TRUE"
# optional password:
RemoteDisplay.vnc.password = "password"

The port number is the VNC port the host will use, you can change this. The password is optional, if you use it you probably want to change that too. To use the built-in VNC server, you'll be connecting to the host, not the guest (in this example, host:5900)

CD-ROM Issues

Make sure it's connected (CD-ROM icon should have a green circle). Usually works, but making an ISO of the disk is more reliable. To do this:

  1. Run /Applications/Utilities/Disk Utility
  2. Select the CD you want to image
  3. Select File > New > New Disk Image from Device
  4. Choose DVD/CD master, no compression, no encryption
  5. Rename the .cdr file to .iso (optional)

Mouse or Keyboard doesn't work

Definitely being worked on. The following things are known to cause problems:

  • Quicken Scheduler, CheckPoint SecureClient

Help! Trapped in full screen

Command-Enter toggles full-screen. Or, move the mouse up to where the menu bar should be and it'll appear. Then you can use the "Toggle Full Screen" option.

Moving a Parallels VM to Fusion

There's a nice guide with pictures on the forums. Basically use VMware Converter.

Q

Download from Apple or go to the developer site.

Overview

Q is a port of the QEMU emulator which uses native technologies such as OpenGL, CoreImage and CoreAudio. Technically, emulation is not the same thing as virtualization (though the casual user will not notice the difference); there is a closed-source accelerator for QEMU (and in the process of being ported to Q?) which does virtualization.

{someone needs to add more information about this}

Powered by MediaWiki © 2015 OSx86 Project  |   InsanelyMac  |   Forum  |   OSx86 Wiki  |   PHP hosting by CatN  |   Designed by Ed Gain   |   Privacy policy   |   About OSx86   |   Disclaimers