原创

    记一次VMware安装MAC系统报错

    一、出现问题

    当我启动虚拟机,然后启动 mac 系统时,VMware 虚拟机给了我这样的提示:客户机操作系统已禁用cpu ,然后我就搜索进行解决,发现一直没有结果。

    二、正式解决

    1、原始 mac.vmx 数据

    .encoding = "GBK"
    config.version = "8"
    virtualHW.version = "16"
    pciBridge0.present = "TRUE"
    pciBridge4.present = "TRUE"
    pciBridge4.virtualDev = "pcieRootPort"
    pciBridge4.functions = "8"
    pciBridge5.present = "TRUE"
    pciBridge5.virtualDev = "pcieRootPort"
    pciBridge5.functions = "8"
    pciBridge6.present = "TRUE"
    pciBridge6.virtualDev = "pcieRootPort"
    pciBridge6.functions = "8"
    pciBridge7.present = "TRUE"
    pciBridge7.virtualDev = "pcieRootPort"
    pciBridge7.functions = "8"
    vmci0.present = "TRUE"
    smc.present = "TRUE"
    hpet0.present = "TRUE"
    ich7m.present = "TRUE"
    usb.vbluetooth.startConnected = "TRUE"
    board-id.reflectHost = "TRUE"
    firmware = "efi"
    smbios.restrictSerialCharset = "TRUE"
    displayName = "macOS-Catalina-15.5.3"
    guestOS = "darwin19-64"
    nvram = "macOS 10.13.nvram"
    virtualHW.productCompatibility = "hosted"
    powerType.powerOff = "soft"
    powerType.powerOn = "soft"
    powerType.suspend = "soft"
    powerType.reset = "soft"
    tools.syncTime = "FALSE"
    sound.autoDetect = "TRUE"
    sound.virtualDev = "hdaudio"
    sound.fileName = "-1"
    sound.present = "TRUE"
    memsize = "4096"
    sata0.present = "TRUE"
    sata0:0.fileName = "macOS 10.13.vmdk"
    sata0:1.deviceType = "cdrom-image"
    sata0:1.fileName = "E:\06_虚拟机相关\01_镜像\MacOS安装资料\darwin-catalina.iso"
    sata0:1.present = "TRUE"
    usb.present = "TRUE"
    ehci.present = "TRUE"
    usb_xhci.present = "TRUE"
    ethernet0.addressType = "generated"
    ethernet0.virtualDev = "e1000e"
    ethernet0.present = "TRUE"
    extendedConfigFile = "macOS 10.13.vmxf"
    numa.autosize.cookie = "40022"
    numa.autosize.vcpu.maxPerVirtualNode = "4"
    uuid.bios = "56 4d 77 d3 90 e7 c9 06-bb 5b f2 04 ed 87 18 bc"
    uuid.location = "56 4d 77 d3 90 e7 c9 06-bb 5b f2 04 ed 87 18 bc"
    sata0:0.redo = ""
    pciBridge0.pciSlotNumber = "17"
    pciBridge4.pciSlotNumber = "21"
    pciBridge5.pciSlotNumber = "22"
    pciBridge6.pciSlotNumber = "23"
    pciBridge7.pciSlotNumber = "24"
    usb.pciSlotNumber = "32"
    ethernet0.pciSlotNumber = "160"
    sound.pciSlotNumber = "33"
    ehci.pciSlotNumber = "34"
    usb_xhci.pciSlotNumber = "192"
    vmci0.pciSlotNumber = "35"
    sata0.pciSlotNumber = "36"
    vmotion.checkpointFBSize = "134217728"
    vmotion.checkpointSVGAPrimarySize = "268435456"
    ethernet0.generatedAddress = "00:0c:29:87:18:bc"
    ethernet0.generatedAddressOffset = "0"
    vmci0.id = "-1464446150"
    monitor.phys_bits_used = "43"
    cleanShutdown = "TRUE"
    softPowerOff = "FALSE"
    usb_xhci:6.speed = "2"
    usb_xhci:6.present = "TRUE"
    usb_xhci:6.deviceType = "hub"
    usb_xhci:6.port = "6"
    usb_xhci:6.parent = "-1"
    usb_xhci:7.speed = "4"
    usb_xhci:7.present = "TRUE"
    usb_xhci:7.deviceType = "hub"
    usb_xhci:7.port = "7"
    usb_xhci:7.parent = "-1"
    toolsInstallManager.updateCounter = "71"
    cpuid.1.eax = "00000000000000010000011010100101"
    gui.enableStretchGuest = "FALSE"
    gui.lastPoweredViewMode = "fullscreen"
    gui.exitOnCLIHLT = "TRUE"
    tools.remindInstall = "FALSE"
    gui.stretchGuestMode = "fullfill"
    toolsInstallManager.lastInstallError = "21004"
    sata0:2.fileName = "macOS 10.13.vmdk"
    sata0:2.present = "TRUE"
    sata0:2.redo = ""
    svga.vramSize = "268435456"
    usb:1.speed = "2"
    usb:1.present = "TRUE"
    usb:1.deviceType = "hub"
    usb:1.port = "1"
    usb:1.parent = "-1"
    guestOS.detailed.data = "bitness='64' buildNumber='19G73' distroName='Mac OS X' distroVersion='10.15.6' familyName='Darwin' kernelVersion='19.6.0'"
    workingDir = "."
    floppy0.present = "FALSE"
    ethernet0.connectionType = "nat"
    numvcpus = "4"
    cpuid.coresPerSocket = "2"
    usb_xhci:4.present = "TRUE"
    usb_xhci:4.deviceType = "hid"
    usb_xhci:4.port = "4"
    usb_xhci:4.parent = "-1"
    

    2、修改 mac.vmx 数据

    # 第一步:删除原来的 cpuid.0.eax 这么一行数据
    
    # 第二步:把 如下数据放到 smc.present = "TRUE" 和 hpet0.present = "TRUE" 这两行之间
    smc.version = "0"
    cpuid.0.eax = "0000:0000:0000:0000:0000:0000:0000:1011"
    cpuid.0.ebx = "0111:0101:0110:1110:0110:0101:0100:0111"
    cpuid.0.ecx = "0110:1100:0110:0101:0111:0100:0110:1110"
    cpuid.0.edx = "0100:1001:0110:0101:0110:1110:0110:1001"
    cpuid.1.eax = "0000:0000:0000:0001:0000:0110:0111:0001"
    cpuid.1.ebx = "0000:0010:0000:0001:0000:1000:0000:0000"
    cpuid.1.ecx = "1000:0010:1001:1000:0010:0010:0000:0011"
    cpuid.1.edx = "0000:0111:1000:1011:1111:1011:1111:1111"
    featureCompat.enable = "TRUE"
    
    # 第三步:保存退出即可
    

    3、修改后的 mac.vmx 数据

    .encoding = "GBK"
    config.version = "8"
    virtualHW.version = "15"
    pciBridge0.present = "TRUE"
    pciBridge4.present = "TRUE"
    pciBridge4.virtualDev = "pcieRootPort"
    pciBridge4.functions = "8"
    pciBridge5.present = "TRUE"
    pciBridge5.virtualDev = "pcieRootPort"
    pciBridge5.functions = "8"
    pciBridge6.present = "TRUE"
    pciBridge6.virtualDev = "pcieRootPort"
    pciBridge6.functions = "8"
    pciBridge7.present = "TRUE"
    pciBridge7.virtualDev = "pcieRootPort"
    pciBridge7.functions = "8"
    vmci0.present = "TRUE"
    smc.present = "TRUE"
    smc.version = "0"
    cpuid.0.eax = "0000:0000:0000:0000:0000:0000:0000:1011"
    cpuid.0.ebx = "0111:0101:0110:1110:0110:0101:0100:0111"
    cpuid.0.ecx = "0110:1100:0110:0101:0111:0100:0110:1110"
    cpuid.0.edx = "0100:1001:0110:0101:0110:1110:0110:1001"
    cpuid.1.eax = "0000:0000:0000:0001:0000:0110:0111:0001"
    cpuid.1.ebx = "0000:0010:0000:0001:0000:1000:0000:0000"
    cpuid.1.ecx = "1000:0010:1001:1000:0010:0010:0000:0011"
    cpuid.1.edx = "0000:0111:1000:1011:1111:1011:1111:1111"
    featureCompat.enable = "TRUE"
    hpet0.present = "TRUE"
    ich7m.present = "TRUE"
    usb.vbluetooth.startConnected = "TRUE"
    board-id.reflectHost = "TRUE"
    firmware = "efi"
    smbios.restrictSerialCharset = "TRUE"
    displayName = "macOS-Catalina-15.5.3"
    guestOS = "darwin17-64"
    nvram = "macOS 10.13.nvram"
    virtualHW.productCompatibility = "hosted"
    powerType.powerOff = "soft"
    powerType.powerOn = "soft"
    powerType.suspend = "soft"
    powerType.reset = "soft"
    tools.syncTime = "FALSE"
    sound.autoDetect = "TRUE"
    sound.virtualDev = "hdaudio"
    sound.fileName = "-1"
    sound.present = "TRUE"
    memsize = "4096"
    sata0.present = "TRUE"
    sata0:0.fileName = "macOS 10.13.vmdk"
    sata0:1.deviceType = "cdrom-image"
    sata0:1.fileName = "E:\DOWNLOADS\ChromeDownload\unlocker-3.0.4\unlocker-3.0.4\tools\darwin.iso"
    sata0:1.present = "TRUE"
    usb.present = "TRUE"
    ethernet0.addressType = "generated"
    ethernet0.virtualDev = "e1000e"
    ethernet0.present = "TRUE"
    extendedConfigFile = "macOS 10.13.vmxf"
    numa.autosize.cookie = "40022"
    numa.autosize.vcpu.maxPerVirtualNode = "4"
    uuid.bios = "56 4d 5e d3 03 f6 b2 4d-c3 13 dc 90 21 df 5d 26"
    uuid.location = "56 4d 5e d3 03 f6 b2 4d-c3 13 dc 90 21 df 5d 26"
    sata0:0.redo = ""
    pciBridge0.pciSlotNumber = "17"
    pciBridge4.pciSlotNumber = "21"
    pciBridge5.pciSlotNumber = "22"
    pciBridge6.pciSlotNumber = "23"
    pciBridge7.pciSlotNumber = "24"
    usb.pciSlotNumber = "32"
    ethernet0.pciSlotNumber = "160"
    sound.pciSlotNumber = "33"
    ehci.pciSlotNumber = "-1"
    usb_xhci.pciSlotNumber = "-1"
    vmci0.pciSlotNumber = "35"
    sata0.pciSlotNumber = "36"
    vmotion.checkpointFBSize = "134217728"
    vmotion.checkpointSVGAPrimarySize = "268435456"
    ethernet0.generatedAddress = "00:0c:29:df:5d:26"
    ethernet0.generatedAddressOffset = "0"
    vmci0.id = "-1464446150"
    monitor.phys_bits_used = "43"
    cleanShutdown = "FALSE"
    softPowerOff = "FALSE"
    usb_xhci:6.speed = "2"
    usb_xhci:6.present = "TRUE"
    usb_xhci:6.deviceType = "hub"
    usb_xhci:6.port = "6"
    usb_xhci:6.parent = "-1"
    usb_xhci:7.speed = "4"
    usb_xhci:7.present = "TRUE"
    usb_xhci:7.deviceType = "hub"
    usb_xhci:7.port = "7"
    usb_xhci:7.parent = "-1"
    toolsInstallManager.updateCounter = "91"
    gui.enableStretchGuest = "FALSE"
    gui.lastPoweredViewMode = "fullscreen"
    gui.exitOnCLIHLT = "TRUE"
    tools.remindInstall = "FALSE"
    gui.stretchGuestMode = "fullfill"
    toolsInstallManager.lastInstallError = "21004"
    sata0:2.fileName = "macOS 10.13.vmdk"
    sata0:2.present = "TRUE"
    sata0:2.redo = ""
    svga.vramSize = "268435456"
    usb:1.speed = "2"
    usb:1.present = "TRUE"
    usb:1.deviceType = "hub"
    usb:1.port = "1"
    usb:1.parent = "-1"
    guestOS.detailed.data = "bitness='64' buildNumber='19G73' distroName='Mac OS X' distroVersion='10.15.6' familyName='Darwin' kernelVersion='19.6.0'"
    workingDir = "."
    ethernet0.connectionType = "nat"
    numvcpus = "4"
    cpuid.coresPerSocket = "2"
    floppy0.present = "FALSE"
    usb_xhci:1.speed = "2"
    usb_xhci:1.present = "TRUE"
    usb_xhci:1.deviceType = "hub"
    usb_xhci:1.port = "1"
    usb_xhci:1.parent = "-1"
    usb_xhci:3.speed = "4"
    usb_xhci:3.present = "TRUE"
    usb_xhci:3.deviceType = "hub"
    usb_xhci:3.port = "3"
    usb_xhci:3.parent = "-1"
    vhv.enable = "TRUE"
    usb_xhci:4.present = "TRUE"
    usb_xhci:4.deviceType = "hid"
    usb_xhci:4.port = "0"
    usb_xhci:4.parent = "1"
    usb.generic.allowHID = "TRUE"
    vm.genid = "6624234288724371323"
    vm.genidX = "-539894993963483220"
    usb:0.present = "TRUE"
    usb:0.deviceType = "hid"
    usb:0.port = "0"
    usb:0.parent = "-1"
    

    提示: 做完上述修改之后,就可以正常启动系统了!

    三、修复mac无法联网问题

    # 一般来说,使用 NAT 模式进行联网是没有问题的
    # 但是我使用了公司的网络,所以需要自己配置 DNS
    # 具体配置过程:
    进入mac系统 ==> 点击设置 ==> 点击网络 ==> 点击高级 ==> 选择DNS ==> 点击左下角加号 ==> 
    输入:144.144.144.144 ==> 点击好 ==> 点击应用即可配置网络
    

    参考连接: https://zhuanlan.zhihu.com/p/166535759

    默认标签
    • 文章作者:GuoShiZhan
    • 创建时间:2021-09-30 13:31:30
    • 更新时间:2021-09-30 16:17:26
    • 版权声明:本文为博主原创文章,未经博主允许不得转载!
    请 在 评 论 区 留 言 哦 ~~~
    1024