- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 313
Description
On macOS 10.15 Catalina, Guest Additions cannot be installed by default. The installation cannot be completed as normal because the OS now require packages to be digitally signed. To get around this security limitation, you need to disable multiple security features in order to install the package. I think this applies to macOS 10.14 as well.
I managed to install Guest Additions using VirtualBox version 6.1.16 on Windows 7 to share the clipboard values between the host and the guest. If someone else wants to install this, here is the whole process:
Disable Gatekeeper
- Be sure to exit System Preferences on your Mac.
- Open a Terminal
- Enter the command sudo spctl --master-disable.
Source: How to open apps from unidentified developers on Mac in macOS Catalina
Check Gatekeeper is disabled
- Click on System Preferences on your Mac Dock.
- Choose Security & Privacy.
- Look at Allow apps download from:, it should be set to Anywhere. If it is, you are done.
- If not, click the lock icon at the bottom left of the screen.
- Choose the Anywhereoption under Allow apps downloaded from. Prior to making the change, this option wasn't available.
- Click the unlocked lock again to keep the change.
Disable SIP (System Integrity Protection)
- Restart your computer in Recovery mode.
- Launch Terminal from the Utilities menu.
- Run the command csrutil disable.
- Restart your computer.
I tried pressing F12, F8 and even ESC key in order to configure VirtualBox to boot into the EFI shell but was not able to do so. In the end, this comment from issue 46 had the solution:
- In your VM's terminal enter the following command to reboot in recovery mode:
 sudo nvram recovery-boot-mode=unused && sudo shutdown -r now
- Once in recovery mode open a terminal in  Utilities->Terminal.
- Run the commands you want like:
 csrutil disable
 spctl kext-consent add VB5E2TV963
 (note the last command is explained in steps below)
- Enter the following command to exit recovery mode:
 nvram -d recovery-boot-mode && shutdown -r now
- And you'll get back into normal macOS.
Check SIP is disabled
You can verify that SIP is disabled with the command:
csrutil status
which should display:
System Integrity Protection status: disabled..
Allow Oracle identifier for kext
- Restart your computer in Recovery mode. Refer to previous section to know how to do this.
- Launch Terminal from the Utilities menu.
- Run the command spctl kext-consent add VB5E2TV963.
- Restart your computer.
VB5E2TV963 is the code for oracle.
Source: Install problem 10.14.5 vBox 6.0
Change ownership and permissions on filesystem
Enable writing to /System/Library/Extensions/.
In your VM's terminal enter the following commands:
sudo mount -uw /
sudo chown :admin /System/Library/Extensions/
sudo chmod 775 /System/Library/Extensions/
Source: Guest Additions not installing on macOS 10.15 Catalina guests
Install Guest Additions
At this point, the installation of Guest Addition should succeed. Proceed with normal installation instructions.
- On VirtualBox emulation window, click on Devicesmenu.
- Select Insert Guest Additions CD image....
- In your VM, click on the new CD image on the desktop.
- Click on VBoxDarwinAdditions.pkg.
- Follow the instructions on screen.
- A reboot is required after the installation.
Check clipboard sharing is working
Check that clipboard is shared between the host and the guest.
- On VirtualBox emulation window, click on Devicesmenu.
- Select menu Shared Clipboard,Bidirectional.
- In your VM, open a terminal.
- Select text.
- Right-click on the selected text and select  Copy.
- On your host, open a note taking appplication.
- Right-click and select Paste.
Revert disabled security features
Enable Gatekeeper
- Be sure to exit System Preferences on your Mac.
- Open a Terminal
- Enter the command sudo spctl --master-enable.
Enable SIP
- Restart your computer in Recovery mode.
- Launch Terminal from the Utilities menu.
- Run the command csrutil enable.
- Restart your computer.