Quantcast
Channel: rtrouton – Der Flounder
Viewing all articles
Browse latest Browse all 764

Emulating specific Apple models in VMWare Fusion VMs

$
0
0

Once you have a VM built, you may want to edit it to emulate a specific Mac model. One reason for doing this would be to test model-specific updates from Apple’s Software Update.

To set your VM to report itself as a specific Mac model, you would need to add the hw.model flag to your VM’s .vmx configuration settings. See below the jump for how to do this.

Note: Always test first on a copy of your VM

1. Launch VMWare Fusion

2. Verify that the virtual machine you want to edit is completely shut down. (Do not edit a suspended VM.)

3. In VMware Fusion, go to the Window menu and select Virtual Machine Library.

4. Select the VM you want.

5. Hold down the Option key on your keyboard and right-click the virtual machine.

6. Select Open Config File in Editor. This will open up the VM’s .vmx configuration file for editing.
Figure_16-Selecting_the_vmx_configuration_editor_in_VMWare_Fusion

Figure_17-Opening_the_vmx_configuration

7. Locate the model identifier of the Mac you want to emulate.

Note: You can find this by opening System Profiler on the model you want to emulate, selecting Hardware and looking for Model Identifier on the right side of the window.

8. In the .vmx editing window, add the following line:

hw.model = "model_here"

9. Once your edits are finished, go up to the File menu and select Save to save your changes.

Here’s an example of how to set a VM to identify itself as a 2011 MacBook Pro.

1. Launch System Profiler on a 2011 MacBook Pro and check the model identifier. In this case, the model identifier is MacBookPro8,1

Figure_18-Finding_the_Model_Identifier_in_System_Profiler

2. Launch VMWare Fusion

3. In VMware Fusion, go to the Window menu and select Virtual Machine Library.

4. Select the VM you want.

5. Hold the Option key on your keyboard and right-click the VM.

6. Select Open Config File in Editor. This will open up the VM’s .vmx configuration file for editing.

7. In the .vmx editing window, add the following line:

hw.model = "MacBookPro8,1"
Figure_19-Adding_the_Model_Identifier_to_the_VM_configuration

8. Save changes.

When you launch the VM, it should now identify itself as a MacBook Pro in System Profiler.
Figure_20-VM_identifying_itself_as_a_MacBook_Pro

Hat tip: Pepijn Bruienne and Tim Sutton for their assistance with this.



Viewing all articles
Browse latest Browse all 764

Trending Articles