Showing posts with label Vm Fusion. Show all posts
Showing posts with label Vm Fusion. Show all posts

Monday, March 31, 2008

Boot camp & vm Fision

参考麦客孤独的教程:boot camp和vm fusion 完美合作详细说明,用VM Fusion 启动boot camp 安装的windows。但是在我自己操作中,遇到问题,打开VM后点击Boot camp partition不能运行windows,出现对话框提示:

Cannot open the disk '/Users/binchen/Library/Application Support/VMware Fusion/Virtual Machines/Boot Camp/%2Fdev%2Fdisk0/Boot Camp partition.vmwarevm/Boot Camp partition.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.

系统:

VM fusion Version 1.1.1 (72241) eng,

Leopard 10.5.2

boot camp 2.0 (分区后安装win时用NTFs格式化了)

启动时按option可以选择windows启动,但是在mac的系统设置,启动盘里没有显示windows启动。


不会弄,于是乎,寻找网上,用vmware-rawcreator 手动创建vm引导boot camp 分区系统的。(ref:original thread)自己新建一个vm但是启动的是boot camp安装的windows系统,把原来默认的boot camp partition 虚拟机删掉就可以了。


主要操作如下:

  1. In VMWare Fusion, create a new vmware instance called WindowsXp. Under “Settings” for that vm, you can change or add a new IDE hard drive. This will make life easier, since you won’t have to worry about having the right SCSI driver if you are running a minimalistic Linux distro. From the command line, WindowsXp is really a directory called WindowsXP.vmwarevm (yes, vm appears twice in that extension).
  2. Close WindowsXP in VMWare Fusion, so you can edit it directly.
  3. In a terminal:
    1.  cd "/Library/Application Support/VMware Fusion/"
    2. List the partitions on your hard drive. ./vmware-rawdiskCreator print /dev/disk0
    3. Create a file that points VMWare at your partition. (My bootcamp partition is number 3, so that is why you see a 3 in the following command.) ./vmware-rawdiskCreator create /dev/disk0 3  /Users/USERNAME/WindowsXP.vmwarevm/bootcamp_partition ide
  4. Add or edit these lines in the text file /Users/USERNAME/WindowsXP.vmwarevm/WindowsXP.vmx ide0:0.present = "TRUE"     ide0:0.fileName = "bootcamp_partition.vmdk"
  5.  Run WindowsXP in VMWare Fusion. You will be asked for your administrative password, because VMWare Fusion must be granted access to read and write to your bootcamp partition
倒是可以运行windows了,只是原先的问题不知道在哪里,看log文件说disk0不能打开,不懂啊,抓狂!
Link to that log file: vmware.txt