前面的话:
杂七杂八花了近15小时,浏览了大量国内外资料,遇到了大量问题,希望能让有类似需求(例如iOS
Development等)朋友少走弯路。
vmware虚拟机安装Mac Snow leopard指南
一、配置和引导启动
1、
找到合适的引导文件,例如雪豹10.6.x版本的系统,就需要darwin_snow_legacy.iso的引导盘,而网上通常的darwin或者ief可能未必都有用;
2、
下载需要的dmg系统盘,不需要转成iso,但如果转也是可以的,用dmg2img.exe或者dmg2iso.exe就可以;
3、
配置时的系统选择freeBSD,因为Mac用的是这个的内核;
4、
如果没有修改过vmx配置文件,需要将guestOS改成guestOS = "darwin10",尝试修改或添加为如下配置:
guestos = "darwin10"
ich7m.present = "TRUE"
smc.present = "FALSE"
keyboard.vusb.enable = "TRUE"
mouse.vusb.enable = "TRUE"
monitor.virtual_exec = "hardware"
monitor.virtual_mmu = "software"
二、安装驱动
虚拟机需要安装声卡EnsoniqAudioPCI 2.mpkg、显卡等驱动,可以搜索VMDRIVES
三、更新
1、
在vmware中保存snapshot;
2、
更新可以利用系统中的更新,也可以从Apple官网上去下载更新包,后者往往在网络不理想情况下更快;
3、
系统更新后会导致鼠标、键盘不可使用,为此,安装完更新后需要回复原来的键盘、鼠标设置。为此,在更新后进行重新启动之前,务必备份好/System/Library/Extensions
下的两个驱动文件:IOUSBFamily.kext和IOUSBMassStorageClass.kext;
4、 升级;
5、
替换以上两个驱动,利用root权限在命令行终端运行kextcache
-system-caches命令进行刷新,并在启动盘中用磁盘工具修复文件权限;
6、
重启系统;
7、 What to
do if you already updated?(未尝试)
a) Restore
to previous Snapshot.
This is a solid fix. If you have a snapshot before updating, while
USB devices working properly, then restore to that. Later, update
to 10.6.6 and replace USB kexts files.
b) Start
with –f option.
I’m
not sure with this method. In case you don’t have snapshot, then
start the Mac VM with –f option.
Press F8 in first Darwin boot black screen which will take to next
screen where you can start the Snow leopard with extra switches.
Type –f and press ENTER.
Most of the time this will bring USB option again. Install the
package or replace kexts files mentioned earlier and restart
VM.
版权声明:本文系原创作品,转载请保留原文出处,并尊重作者含署名权在内的等一切知识产权,谢谢!
加载中,请稍候......