Giter Club home page Giter Club logo

install-macos-sierra-on-virtualbox's Introduction

Install-macOS-Sierra-on-VirtualBox

For test purpose only, I created a batch to create Mac OS Sierra on VirtualBox on Windows 10

Not often but sometimes, I need to do some test on Mac OS. Following below instructure, I found create a MacOS Sierra with VirtualBox is very easy.
https://techsviewer.com/install-macos-sierra-virtualbox-windows/

To make it even faster, I created a batch script to finish all the jobs with just one-click.

  1. Save below script as "InstallMacOS.bat";
  2. Find the image at https://techsviewer.com/install-macos-sierra-virtualbox-windows/ and download it;
  3. Put the batch script and vm image at same directory;
  4. Run the script as Adminitrator;
  5. Open your VirtualBox to find a new VM named "macOS 10.12 Sierra"
  6. Enjoy!
    Visit TechsViewer for further information.
set VM="macOS 10.12 Sierra"
set PATH="C:\Program Files\Oracle\VirtualBox\"
VBoxManage createvm --name %VM% --ostype "MacOS1011_64" --register

VBoxManage storagectl %VM% --name "SATA Controller" --add sata --controller IntelAHCI
VBoxManage storageattach %VM% --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium "%~dp0macOS 10.12 Sierra Final by TechReviews.vmdk"

VBoxManage modifyvm %VM% --memory 4096 --vram 128 --cpus 2
VBoxManage modifyvm %VM% --firmware efi --pae on --chipset ich9 --rtcuseutc on 
VBoxManage modifyvm %VM% --accelerate3d on
VBoxManage modifyvm %VM% --boot1 disk --boot2 none --boot3 none --boot4 none

VBoxManage modifyvm %VM% --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata %VM% "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata %VM% "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata %VM% "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata %VM% "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata %VM% "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
pause

install-macos-sierra-on-virtualbox's People

Contributors

erich-chen avatar

Stargazers

 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.