ちょっと話題の記事

[OS X Yosemite] VMware Fusion 5 からVirtualBoxへの移行にハマった時のメモ

2014.10.18

この記事は公開されてから1年以上経過しています。情報が古い可能性がありますので、ご注意ください。

はじめに

昨日、OS X Yosemiteにアップデートできるようになりました。

しかし、問題がひとつありまして、VMware Fusion 5がYosemiteに対応していないらしいのです。(VMware Fusion 6以降であれば大丈夫なようです) Yosemiteへアップデートした後に自分でも試してみましたが、VMware Fusion 5で使用していた仮想マシンは起動しませんでした。

環境等

移行前/移行後の環境は以下の通りです。自分の場合は、凝った仮想環境を作り上げていたわけでもなく、Window版のExcelが使用できればOKという感じです。

移行前の環境

  • OS X Mavericks (version 10.9.4)
  • VMware Fusion 5 (細かいバージョンは忘れました...) + Windows 7 Enterprise 64bit

移行後の環境

  • OS X Yosemite (version 10.10)
  • VirtualBox 4.3.18. + Windows 7 Enterprise 64bit

行った作業

基本的な作業内容

基本的に、VMware Fusionで使用していた.vmwarevmファイル(実体はフォルダ?) の中からファイルを取り出し、それをVirtualBoxで読みこめば、移行完了です... のはずでしたが、仮想マシンを起動すると、ブルースクリーンが出て正常に起動しません。(復元機能みたいなやつを使用しましたが、原因を特定できませんでした)

vmware5-to-virtualbox-with-yosemite_00

結局うまくいきました

いくつかの方法を試してみましたが、こちらのページの手順を参考に試したらうまくいきました。作業内容は、以下のとおりです。

  1. Uninstall the VMWare tools and shutdown windows
  2. Copy the disk files from VMWare image to a new folder
    1. In Documents/Virtual Machines right click on the image, Show package contents
    2. Copy all *.vmdk files to a new folder
  3. Create a new VirtualBox machine with the same characteristics
    1. Make sure you choose Windows 7 64 bits if that’s what you used
    2. On Virtual Hard Disk, choose the main vmdk file you copied in previous step (although you’ll need to change the default storage config later)
    3. Customize created VM settings:
      1. General: Windows 7 64 bits
      2. System/Motherboard: set the same amount of base memory as the VMWare one
      3. System/Motherboard: Enable IO APIC
      4. Storage: By default VirtualBox adds it to SATA controller but you have to remove the SATA controller, and use IDE PIIX4 without host I/O cache, attaching vmdk to primary master IDE, leave CD/DVD drive
  4. Boot the VirtualBox VM and follow any prompt to restart Windows to install new devices
  5. On the VirtualBox Devices menu, click on install guest additions

Migrating Windows 7 from VMWare Fusion to VirtualBox - Carlos Sanchez's Weblog

.vmdkファイルをマウントするHDDをIDEコントローラのprimary masterにするという部分が他のやり方との違いのようでした。

補足

VMWareのイメージを取り出した後の「仮想マシン」フォルダのスクショです。VirtualBoxでは 仮想ディスク.vmdkファイルを使用します。

vmware5-to-virtualbox-with-yosemite_01

VirtualBoxにマウント後の、VirtualBoxの仮想マシン -> 設定 -> ストレージ画面のスクショです。

vmware5-to-virtualbox-with-yosemite_02

vmware5-to-virtualbox-with-yosemite_03

参考記事、関連リンク

あわせて読んだほうが良さそうな記事