Giter Site home page Giter Site logo

macos_install_virtualbox_guest_addtions's Introduction

Setup the VM

https://github.com/GammaG/macos-virtualbox

Recovery Mode

Enter recovery mode

While beeing inside MacOS enter in terminal

sudo nvram "recovery-boot-mode=unused"
sudo reboot

This sets a firmware variable in nvram indicating that you want to start in Recovery mode on the next boot, and then reboots the machine.

Reboot into system

When done in Recovery mode, run the following from the Terminal in Recovery mode:

nvram -d recovery-boot-mode

This deletes the firmware variable so that the next boot is a normal boot. If Recovery boot fails and you cannot progress, you could also remove the firmware variable by holding down the keys Command, Option, P, and R during boot. This resets the nvram and thus the firmware variable.

Disable Kernel Protection

Deactive SIP

In Recovery Mode Terminal

csrutil disable

to check

Test Protection
csrutil status 

Should show DTrace Restrictions: disabled if not repeat

Deactivate Gatekeeper

In System Terminal

sudo spctl --master-disable

to check

spctl --status

Add Guest Additions Signature

This has to be added in the Recovery Terminal in order to add the signature to the system.

Allow VirtualBox
spctl kext-consent add VB5E2TV963

To check

spctl kext-consent list

Make the folder writeable in MacOS

sudo mount -uw /

sudo chown :admin /System/Library/Extensions/

sudo chmod 775 /System/Library/Extensions/ 

macos_install_virtualbox_guest_addtions's People

Contributors

gammag avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.