-
-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install Guest Additions on macOS 10.15 Catalina. #79
Comments
Thanks for this info. I've tried so many different combinations and this is the first and only one that actually works. Should we revert the /System/Library/Extensions/ back to its original ownership and permissions? If so, do you know what they should be set to? Also, do you know if the VBox GA's will persist if I update the OS to Big Sur? I know that installing Vbox GA's on Big Sur is currently not-doable, so not sure if it's safe to update. tHANKS: |
I'm glad it helped you. I did not tried to revert permission changes on /System/Library/Extensions/. I am using this VM as a test machine so I don't really care about vulnerabilities related to this change. I do not have plans to upgrading to Big Sur. Like you said, I have read the same posts about compatibility problem with GA on Big Sur. I don't know if the installation will persist. Actually the files may still be available but they may not load. Installing on Catalina and then upgrading to Big Sur might be a possible workaround. If you every try, keep me posted. |
I did instructions but what i got was share clip board. no full screen, no shared folders. tested on Catalina in Virtual Box 6.1.22. |
Hi. I am sorry but I did not tried the Shared Folder feature of VirtualBox so I cannot help you with that. What I did for file sharing... To enable a higher resolution or full screen... @echo off
cd /d "C:\Program Files\Oracle\VirtualBox\"
set VM_NAME=MacOS Catalina 10.15
REM The following might be required on AMD CPU
REM See https://www.wikigain.com/install-macos-catalina-on-virtualbox-on-windows/
VBoxManage.exe modifyvm "%VM_NAME%" --cpu-profile "Intel Xeon X5482 3.20GHz"
REM Change default resolution of 1024x768
REM https://www.professionaltutorial.com/fix-macos-catalina-screen-resolution-on-virtualbox/
REM VBoxManage setextradata "%VM_NAME%" VBoxInternal2/EfiGraphicsResolution 1024x768
REM VBoxManage setextradata "%VM_NAME%" VBoxInternal2/EfiGraphicsResolution 1920x1080
VBoxManage setextradata "%VM_NAME%" VBoxInternal2/EfiGraphicsResolution 1600x900
pause You need to change the variable I have left the web site references were I have found this information. Feel free to take a look at them. They might explain in details what all these commands are doing. |
Thank a lot. It is better than 1024x768 that i was stuck in.☺ |
I am not able to enter recovery mode with this: is there any other way to enter recovery mode? or am I doing anything wrong? |
@DovahBrownies Thank you for this instruction! |
I've tried this, it works for sharing clipboards |
After do all above, my vm stucks on boot, any suggestions? |
Hello,i followed all steps above but when i try to inject GuestAdditons into macOS i still have a error message: I' m using macOS catalina in VirtualBox. Please help me |
Thanks to your tutorial! |
Only shared clipboard working. Is anyone get a working shared folder? |
Just a tip for who might end up here while trying to install Guest additions on Monterey: every thing listed here is a good suggestion, but there's one small step that seems to make the installation impossible. Since from Monterey and up (or maybe Big Sur), the /System/Library folder is read only for everyone except system, these commands won't work anymore:
I found no way to get around this: I even got an old copy of BatChmod that seemed to be able to change ownership and permissions on the Extensions folder, but it probably just messed up the ownership. Some other apps warned me of this problem in the Library, and repairing the disk through DiskUtility had no effect, so be warned that trying to chown/chmod that folder might have dangerous side effects. |
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
sudo spctl --master-disable
.Source: How to open apps from unidentified developers on Mac in macOS Catalina
Check Gatekeeper is disabled
Anywhere
. If it is, you are done.Anywhere
option under Allow apps downloaded from. Prior to making the change, this option wasn't available.Disable SIP (System Integrity Protection)
csrutil disable
.I tried pressing
F12
,F8
and evenESC
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:sudo nvram recovery-boot-mode=unused && sudo shutdown -r now
Utilities
->Terminal
.csrutil disable
spctl kext-consent add VB5E2TV963
(note the last command is explained in steps below)
nvram -d recovery-boot-mode && shutdown -r now
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
spctl kext-consent add VB5E2TV963
.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:
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.
Devices
menu.Insert Guest Additions CD image...
.VBoxDarwinAdditions.pkg
.Check clipboard sharing is working
Check that clipboard is shared between the host and the guest.
Devices
menu.Shared Clipboard
,Bidirectional
.Copy
.Paste
.Revert disabled security features
Enable Gatekeeper
sudo spctl --master-enable
.Enable SIP
csrutil enable
.The text was updated successfully, but these errors were encountered: