广告

本站里的文章大部分经过自行整理与测试

2016年5月26日星期四

VirtualBox - Mac OS X 10.11 启动设置

VirtualBox 安装 OS X 虚拟机
什么都不设置的话,会出现 FATAL: No bootable medium found! System halted.

1. 先弄个虚拟机名为 ElCapitan, 设置

Settings... - General - Basic 

Name: ElCapitan
Type: Mac OS X
Version: Mac OS X 10.11 El Capitan (64-bit)
 

- Enable EFI (Special OSes only) 
* 不启动 EFI, 会出现错误 Configuration error: Querying "UUID" failed (VERR_CFGM_VALUE_NOT_FOUND)

2. 通过命令, 修改 ElCapitan.vbox 文件 

开启 command prompt, 输入以下

> cd "C:\Program Files\Oracle\VirtualBox" 

# VirtualBox 4.X.X
> VBoxManage modifyvm "ElCapitan" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
# VirtualBox 5.0.X
> VBoxManage modifyvm "ElCapitan" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
 

# EFI
> VBoxManage setextradata "ElCapitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
> VBoxManage setextradata "ElCapitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
> VBoxManage setextradata "ElCapitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
 

# SMC
> VBoxManage setextradata "ElCapitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
> VBoxManage setextradata "ElCapitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

# 0:640x480, 1:800x600, 2:1024x768, 3:1280x1024, 4:1440x900, 5:1920x1200
 > VBoxManage setextradata "ElCapitan" "VBoxInternal2/EfiGopMode" 4

3. 启动虚拟机 

启动虚拟机成功后, 
如果不能输入, 关闭虚拟机设置以下驱动, 后再启动..

Settings... - USB - USB Device Filters 

a) USB OPTICAL MOUSE
b) SIGMACHIP USB Keyboard

3 条评论:

  1. hello,
    i am having this problem please help:

    Failed to open a session for the virtual machine macOS Sierra 10.12.

    Configuration error: Querying "UUID" failed (VERR_CFGM_VALUE_NOT_FOUND).

    Result Code: E_FAIL (0x80004005)
    Component: ConsoleWrap
    Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

    回复删除
    回复
    1. Settings - System - Motherboard
      - Extended Features: Enable EFI(special OSes only)

      删除
  2. 谢谢博主,网上的教程都是关闭efi,始终弄不好,开启efi就好了,O(∩_∩)O

    回复删除