AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / computer / 问题 / 1436347
Accepted
SPlatten
SPlatten
Asked: 2019-05-14 11:25:31 +0800 CST2019-05-14 11:25:31 +0800 CST 2019-05-14 11:25:31 +0800 CST

在 macOS 下的安全和隐私中不允许安装 VirtualBox

  • 772

macOS Mojave,版本 10.14.5 和 VirtualBox 6.0.6。

我正在尝试在我的 iMac 上安装 VirtualBox,我的 iMac 运行的是最新的 Mojave。我已经为此寻找解决方案,虽然有很多结果,但没有一个对我有用。我发现的所有帖子都在“安全和隐私”对话框中显示了一个我没有的选项:

用于安全和隐私的 Mac 对话框

我的没有允许按钮或其左侧的文本。我一遍又一遍地阅读它,我很确定我已经正确地按照说明进行操作,但我没有那个选项。

我可以安装 VirtualBox 吗?

[编辑] 我尝试从终端运行,在我的 iMAC 上,路径:

  • /卷/Macintosh

不存在,我有:

  • /卷/VirtualBox
  • /卷/iMAC

当我尝试时:

sudo installer -pkg /Volumes/VirtualBox/VirtualBox.pkg -target /Volume/iMAC

我有:

installer: Package name is Oracle VM VirtualBox
installer: Upgrading at base path /
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)

[编辑#2]

这就是我所做的:

在 ~/Downloads 中使用“VirtualBox-6.0.6-130049-OSX.dmg”并使用 Finder 打开 DMG 文件。

VirtualBox 安装程序

然后我双击 VirtualBox.pkg 图标。

显示如下: 安装 VirtualBox

我单击弹出对话框中的“继续”按钮,然后单击剩余对话框中的“继续”。

iMAC 上的标准安装

我单击“安装”按钮,然后以超级用户身份输入我的密码并单击“安装软件”按钮。

很短的时间后显示:

安装失败

我单击“关闭”按钮,显示如下:

保留或移至垃圾箱

我点击“保留”按钮。现在已经这样做了好几次但都失败了,我在网上搜索并找到了执行以下操作的说明:

点击苹果图标(左上角),选择“系统偏好设置”,在弹出的窗口中选择“安全与隐私”,“通用”默认是打开的。我点击挂锁并解锁。我的图像不会改变以反映我发现的许多其他页面上显示的内容:

安全与隐私

就是这样,我不能再进一步了......

[编辑#3]

尽管报告了错误,我只是检查了“LaunchPad”和“VirtualBox 6.0”已经安装。我启动它并添加了我想使用的虚拟机:

已安装

我的虚拟机:

虚拟盒子管理器

当我尝试开始这个时,我得到:

错误信息

和

错误消息 2

Having searched for the message displayed in the last error dialog, I uninstalled VirtualBox and tried again, no difference, I then uninstalled and this time rebooted the system then installed again, as some posts stated that this would solve the issue with the permission being displayed in the "Security & Privacy" dialog, still I don't see this and still no further forward.

Any help gratefully received...

virtualbox macos
  • 4 4 个回答
  • 19378 Views

4 个回答

  • Voted
  1. Best Answer
    SPlatten
    2019-05-15T10:47:39+08:002019-05-15T10:47:39+08:00

    The solution was posted:

    https://forums.virtualbox.org/viewtopic.php?f=8&t=84092&p=448559#p448559

    Install Virtual box on mac OS +10.3 with security kernel can failed. After you have this message :

    Kernel driver not installed (rc=-1908)

    because you have to add editor Oracle in the list of security kext.

    If you have chance, you can see the ask for authorisation in Preference -> "Security and Privacy".

    But it was not my case. I want to share the solution, because it was a really pain for me: Add Oracle editor in this authorization list.

    Restart your mac in Recovery mode (cmd + R)

    Then open a Terminal and enter : spctl kext-consent add VB5E2TV963

    Restart your mac.

    VB5E2TV963 is the code for oracle.

    • 16
  2. theguy
    2019-08-09T11:22:40+08:002019-08-09T11:22:40+08:00

    Apple states in tech note tn2459 that it only prompts once and that the text in the system preferences is only visible for 30 minutes.

    I did the following to view the allow button again:

    • close the system preferences
    • install virtual box again (it states that it failed)
    • open system preferences - security: and the allow button appeared again
    • Virtual Box worked for me
    • 5
  3. Max S.
    2019-10-31T01:52:25+08:002019-10-31T01:52:25+08:00

    In Terminal run:

    sudo kextcache --clear-staging

    For me it worked without a reboot, if it didn't work for you try with a reboot.

    • 4
  4. cho_biz
    2021-08-18T08:10:48+08:002021-08-18T08:10:48+08:00

    First, you might try install via terminal:

    ~ brew install virtualbox
    

    VirtualBox 需要内核扩展才能工作。
    如果安装失败,请在以下位置启用后重试:

    系统偏好设置 → 安全和隐私 → 常规

    有关详细信息,请参阅供应商文档或此Apple 技术说明。

    • -1

相关问题

  • 来宾运行时主机 MacOS 自动更新后虚拟框 linux 来宾死机

  • 如何强制chrome在macos中使用pac文件?

  • “npm config set prefix”在 macOS Mojave 中的用户拥有的目录上失败

  • Genymotion 如何绕过 VirtualBox 缺乏 Wi-Fi 仿真?

  • virtualbox 是否需要 CPU 来支持 VT-d 以托管 64 位客户操作系统?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    Windows 10 服务称为 AarSvc_70f961。它是什么,我该如何禁用它?

    • 2 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Marko Smith

    ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] 证书验证失败:无法获取本地颁发者证书 (_ssl.c:1056)

    • 4 个回答
  • Marko Smith

    我如何知道 Windows 安装在哪个驱动器上?

    • 6 个回答
  • Martin Hope
    Albin 支持结束后如何激活 WindowsXP? 2019-11-18 03:50:17 +0800 CST
  • Martin Hope
    fixer1234 “HTTPS Everywhere”仍然相关吗? 2019-10-27 18:06:25 +0800 CST
  • Martin Hope
    Kagaratsch Windows 10 删除大量小文件的速度非常慢。有什么办法可以加快速度吗? 2019-09-23 06:05:43 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    Inter Sys Ctrl+C 和 Ctrl+V 是如何工作的? 2019-05-15 02:51:21 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve