THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | Join | Help
in Search

Aaron Bertrand

Aaron is a senior consultant for SQL Sentry, Inc., makers of performance monitoring and event management software for SQL Server, Analysis Services, and Windows. He has been blogging here at sqlblog.com since 2006, focusing on manageability, performance, and new features; has been a Microsoft MVP since 1997; tweets as @AaronBertrand; and speaks frequently at user group meetings and SQL Saturday events.

[OT] : OS X Lion, Boot Camp & VMWare Fusion

I recently upgraded my MacBook Pro and Mac Pro to OS X Lion, and I've only come across two minor issues.

  1. On the Mac Pro I have a really skittish Magic TrackPad ... regardless of the settings I apply in system preferences, the cursor is very jumpy and moves too far for the amount of swiping I am doing. I am hoping that Apple comes up with an update to fix this soon... I've tried out BetterTouchTool and, while it gives me more granular control over things like tracking speed, it hasn't done much to alleviate this specific issue.
     
  2. On the MacBook Pro I also added a second SSD drive (the original that shipped with the laptop is running thin, so I grabbed a data doubler from OWC to replace my SuperDrive, which I never use). Not sure if it was the Lion upgrade or the addition of the SSD that caused the issue, but I suddenly couldn't run my Boot Camp partition as a virtual machine under VMWare Fusion. When I tried to start it up, I would get this error:
    Cannot open the disk '/Users/AaronBertrand/Library/Application Support/VMware Fusion/Virtual Machines/Boot Camp/Boot Camp.vmwarevm/Boot Camp.vmdk' or one of the snapshot disks it depends on.

    Reason: The partition table on the physical disk has changed since the disk was created. Remove the physical disk from the virtual machine, then add it again.
    I verified that I could boot to the Windows partition on bare metal, and that the virtual machine was intact and running as expected. It also took me a few minutes to find the vmdk file and verify its location, since all Library paths are hidden by default in Lion. To unhide them, open a Terminal window and run:
    chflags nohidden ~/Library/
    So I booted back into OS X Lion and followed these steps:

    • Shut down all VMs
    • In the Virtual Machine Library, right-clicked the Boot Camp VM and selected Delete
      (Don't panic: this doesn't delete the VM, just VMWare's pointers/config files)
    • When asked whether to keep files or move to trash, I kept them (just in case)
    • Clicked on the "Home" option in Virtual Machine Library
    • Clicked on the "Run Windows from your Boot Camp partition" option

    Now, when you start up your VM for the first time, VMWare will have to re-initialize the VM, so it will take a few minutes. I suspect this just changes a bunch of bits to the same bits, since the VM should already be optimized to run under Fusion (you'll notice it doesn't go through the VMWare Tools install like it does when you first create a VM or initialize a Boot Camp partition for VMWare).

    You might also find performance a bit sluggish once you're up and running again - this is because VMWare set the CPU and RAM back to their defaults (1 core, 1GB). You will also notice that if you had set a custom CD/DVD drive prior to the OS X Lion upgrade, this is back to the default as well - and you may have to update other custom settings such as shared folders, sound, what have you. Shut down the VM, adjust the settings, and then you should be all set.

    Hope this is useful to some of my fellow Mac converts. :-)

     
Published Thursday, July 28, 2011 11:05 AM by AaronBertrand

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Ken Saggy said:

Thanks Aaron! The *exact* same thing happened to me (Macbook Pro/Bootcamp/VMware Fusion)... I suspected the fix was along these lines but had to google just to verify it was really like that and to see if someone else encountered this issue.

I followed your instructions and now everything works as it did before.

So thanks for taking the time to blog about it, you helped out at least one person (but I'm sure many more).

Ken.

July 29, 2011 4:09 PM
 

AaronBertrand said:

Ken, great to hear, thanks for confirming the fix. It's nice to know when I've actually helped someone. :-)

July 29, 2011 4:23 PM
 

Ali said:

Thank you. Same as Ken, I also had the exact problem. I tried deleting hard disks in VMWare but that didn't work but your method worked :)

July 29, 2011 7:24 PM
 

Ace said:

Thanks!!!  Just discovered that I could no longer open this VM in Fusion.  :-)

August 7, 2011 11:57 AM
 

Verity said:

Thank you - that helped me as well!

August 8, 2011 2:24 PM
 

Karel Vanderfeesten said:

This was absolutely useful !

Thanks a lot for sharing it with us..

August 18, 2011 3:29 PM
 

J Maxfield said:

Super helpful. Thanks!

August 19, 2011 10:41 AM
 

Nate said:

Thanks!  Fixed it for me too.

September 11, 2011 9:22 AM
 

Robert Mathews said:

Thank You!!!!! Exactly my problem, and the instructions are so well written.

February 22, 2012 6:16 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

About AaronBertrand

...about me...

This Blog

Syndication

Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement