Coder Social home page Coder Social logo

mkusz / macos-guest-virtualbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from myspaghetti/macos-virtualbox

0.0 2.0 0.0 263 KB

Semi-automatic installation of macOS Mojave guest in Virtualbox on Windows or Linux

License: GNU General Public License v2.0

Shell 100.00%

macos-guest-virtualbox's Introduction

One-key semi-automatic installer of macOS Mojave 10.14 on VirtualBox

The "one key" is enter, which has to be pressed whenever the virtual machine is ready for the next command. (Contrary to the script's name, the user has to use more than one key! There is one instance when the right control key or "host key" is used to release the mouse from the virtual machine, and a couple of instances where the user has to choose [y]es or [n]o!)

The goal of the script is to allow for a very easy installation without any closed-source additions or extra bootloaders.

Tested on Cygwin and WSL, should work on most Linux distros.

iCloud and iMessage connectivity

iCloud and iMessage and other connected Apple services require a valid device serial number. Set it before the installation by replacing NOTAVALIDSN0 with a valid serial number, or after the installation with VBoxManage setextradata "${vmname}" "VBoxInternal/Devices/efi/0/Config/DmiSystemSerial" "${serialnumber}". An invalid serial number that matches the correct structure for the device name and board ID might work, too.

Storage size

The script assigns the minimum required storage size for the installation. After the installation is complete, the storage size may be increased. First increase the virtual disk image size through VirtualBox Manager or VBoxManage, then in Terminal in the virtual machine run sudo diskutil repairDisk disk0, and then from Disk Utility delete the "Free space" partition, allowing the system APFS container to take up the available space.

Unsupported features

Developing and maintaining VirtualBox or macOS features is beyond the scope of this script. Some features may behave unexpectedly, such as USB device support, audio support, and other features.

Dependencies

  • VirtualBox≥5.2 with Extension Pack
  • Bash≥4 (run on Windows through Cygwin or WSL)
  • coreutils, unzip, wget (install through package manager)
  • dmg2img (install through package manager on Linux or WSL; let the script download it automatically on Cygwin)

macos-guest-virtualbox's People

Contributors

bronson avatar jonathanweinberg avatar kiendang avatar myspaghetti avatar natecraddock avatar wesselvanderlinden 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.