VirtualBox

First, it was dual...triple boot loaders. Now, virtual machines (VM) are getting popular.

In my programming class, we use VirtualBox loaded with Linux guest (*.ova file).

Then, I got curious, and went ahead to install guests Mac OSX (Snow Leopard) and Windows 7. All 64-bit.

Why Win7? VirtualBox is good for testing suspicious programs. I do not have any idea why I needed a OS X guest, except that it is better than none. The virtual Snow Leopard runs a little slower than I would like, so it is unlikely that I would play with it much.

Windows 7 was easy (The catch is the networking settings: Choose Bridged Adapter, select the right name, right Advanced selections: i.e. Promiscuous Mode: Allow VMs, Check Cable connected). I shall only describe how I installed the OS X, thanks to lifehacker and others:

After setting the environment for OS X in VirtualBox (Choose OS X 64-bit, I cannot be sure of the option: Snow Leopard 64bit), Got to the guest's Settings -> System in the left pane and uncheck Enable EFI.

Then select Storage, right below System. And in the next panel, select EMPTY under OSX.vdi. Then on the right panel, mount the OS X ISO file.

Run the guest. When screen shows something about pressing F8, press F8 to type: -v so that we can see error messages, not that there should be any.

Virtual OS X should load from the virtual image. Then, in the OS X, go to menu->Utilities->Disk Utility. Highlight 20GB VBOX HARDDISK, and Erase (format) the drive from the right panel. Exit Disk Utility. Now we can install OS X on the virtual harddisk. But before install, click on Customize button, and for:

AMD Users check:
Any Updates included at the top.
Drop down Kernels and choose Legacy kernel.
AMD option below System support.

Intel Users check:
Any Updates included at the top.
Drop down bootloaders and check the newest Chameleon.
Drop down Kernels and choose Legacy kernel.

Install. After that, when it starts counting down to restart, press the right Ctrl key. Click on Devices at the top to unmount ISO image. Then go to Machine > Reset. Next you'll see the Chameleon loader and then OS X will begin to boot. (In my case, I get a bunch of errors when OS X was shutting down - but it still boots fine). Done...but, there's this issue with resolution & audio (I regret not checking the audio first before I applied the fix: get the VirtualBox ICH AC97 Audio Driver.zip and install it in Mac).

For higher resolution than 1024x768, go to Finder->Extra->edit com.apple.Boot.plist (open with TextEdit):
<key>Graphics Mode</key>
<string>1280x1024x32</string>

right above <key>Timeout</key>

Then, use Save As to save the file in Desktop (Apple does not allow changes in Extra directly). Uncheck the *.txt thing and be sure to save as the *.plist file as Apple tends to remove the extension. After that, drag the file from Desktop to Extra folder to replace the original file. Password will be prompted for authorization. Reboot and higher resolution is used by default.

This entry was posted in Technical. Bookmark the permalink.

One Response to VirtualBox

  1. timlyg says:

    A new update on how to install macOS Sierra on Windows 10 host. It works on my SPG computer. The site provides images and everything.
    http://www.wikigain.com/install-macos-sierra-10-12-virtualbox/

    From the site:
    Install macOS Sierra on VirtualBox
    Update: The Steps below works on macOS Sierra 10.12 Final Version the nearly released by Apple. (20 September)

    First, what you are going to do is make available the following materials.

    Download VirtualBox 5.1.6
    Download macOS Sierra Final (1 Part)
    Download macOS Sierra Final (7 Parts)
    Download VirtualBox Code “Updated.”
    Step #1. Extract macOS Sierra Image File
    Once you downloaded the macOS Sierra image file then, you must extract it via WinRAR or 7zip. To extract the file, simply right-click on file then choose “Extract Here.” It’ll take some minutes to extract so wait for a moment.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Extract macOS Sierra VM File

    Step #2. Install VirtualBox on Your PC
    Download VirtualBox from the link above. Once you have downloaded the VirtualBox, then Install it on your Windows PC. To install VirtualBox, just click on the setup then hit “Next” and “Next.” Finally, click “Finished.”

    Step #3. Create New Virtual Machine
    #1. Now, you have to create a new Virtual Machine. Open the VirtualBox then tap on “New” at the upper left-hand side and name the Virtual Machine “macOS Sierra” then hit the “Next” button.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Name and choose the Version

    #2. Now, you’ll be prompted to select memory size for VM. Choose at least 4 GB of RAM space for the Virtual Machine.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Choose Memory Size

    #3. If you wish, you can add a virtual hard disk to the new machine. You can either create a new hard drive file or select one from the last or another location using the folder icon. Here, you should choose the last option “Use an existing virtual hard disk file“. Select the file and click “Create“.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Select Hard Disk type

    Step #4. Edit the New Virtual Machine
    #1. Open the VirtualBox then tap on “Settings“. In the “General Tab“, put everything to the default.
    Go to the next option “System“. You will see three main tabs. Click on the first tab “Motherboard“. Uncheck “Floppy” drive and set the chipset to “ICH9“.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Motherboard Settings

    #2. Choose two core processors or more than two.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Select Processor amount

    #3. Navigate to “Display option” then put the video memory to 128 MB.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Choose Video Memory

    #4. Now, navigate to “Network” tab then “Enable Network Adapter”. And choose the adapter type “Intel PRO/1000 MT Server (82545EM)”.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Enable Network Adapter

    Step #5. Add VirtualBox Code to the CMD
    #1. Before adding the code you’ve to edit the code first. Open the VirtualBox code then replace the “Virtual Machine Name”. Get help from the screenshot down below.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Replace the Code

    Note: To install macOS Sierra on VirtualBox you must “QUIT” VB otherwise it won’t work.

    #2. Now, run CMD as administrator. Open VBox code and Add the code to the CMD one by one.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Copy and Paste the VirtualBox Code

    Step #6. Play the Virtual Machine
    #1. In this step, you have to open VirtualBox then “Start” or run the macOS Sierra VM.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Launch the Virtual Machine

    #2. After running the macOS Sierra VM, you will see some white code on a black screen. You’re not going to do anything in this step. Just wait for a moment and macOS Sierra welcome page will appear.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Installing macOS Sierra on VirtualBox

    Step #7. Perform a Clean Installation of macOS Sierra
    Now while installing macOS Sierra or El Capitan on VMware or VirtualBox then we don’t need to install that on separate disk because while editing the VM we choose the virtual disk type SATA, and this is the one and only way for now to install macOS Sierra or El Capitan on VMware or VirtualBox. So that’s why now in the very next step we have to perform a clean installation and to set up macOS Sierra.

    #1. Choose your Country and click on Continue.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Choose Language

    #2. Pick a keyboard Layout and click on Continue.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Choose Keyboard Layout

    #3. Now select your method to transfer information to this Mac and click on Continue.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Transfer Information to this Mac

    #4. Enable location services and click on Continue.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Enable Location Services

    #5. In this step, you have to Sign in with your Apple ID. If you have one, then create a free Apple ID, by the article, how to create an Apple ID on iPhone, iPad or iPod Touch. If you don’t want to sign in with Apple ID or don’t want to create Apple ID, then Choose Don’t Sign in and Click on Continue.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Sign in with your Apple ID

    #6. Agree to the Terms and Conditions.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Terms and Conditions

    #7. Fill out the Full name, Account name, Password, Hint and check the box of Set time zone based on Current location. Then finally click on Continue to create your user account for macOS Sierra, which will be installed.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Create a Computer Account

    #8. Select the options for Diagnostics & Usage and click on Continue.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Diagnostics and Usage

    #9. Wait a little while to Setting Up Your Mac. Then it will run on the desktop of macOS Sierra.

    How to Install macOS Sierra 10.12 on VirtualBox?
    Setting up macOS Sierra

    Important: For any kinds of error while installing Mac OS X El Capitan and macOS Sierra visit this article.

    Complete Guide to Fix VirtualBox Errors While Installing Mac OS X
    Watch the full video tutorial

    Conclusion
    After performing a clean installation and Setting up your macOS Sierra then you should see your final result that, macOS Sierra has successfully installed on VirtualBox. In this post, That was all about, how to install macOS Sierra 10.12 on VirtualBox and I have covered;

    Extract macOS Sierra Image File
    Install VirtualBox on Your PC
    Create New Virtual Machine
    Edit the New Virtual Machine
    Add VirtualBox Code to the CMD
    Play the Virtual Machine
    Perform a Clean Installation of macOS Sierra
    Thanks for being with us.

    Searches related to install macos sierra on virtualbox
    Install macOS Sierra 10.12 on VirtualBox – Windows 10, 8,
    virtualbox macos sierra
    virtualbox on sierra
    install mac os sierra on vmware
    install virtualbox on sierra
    virtualbox sierra mac
    virtualbox sierra host
    install virtualbox on mac sierra
    macos sierra virtualbox linux

    About The Author
    Mukhtar Jafari
    Mukhtar Jafari is a new blog writer and CEO of wikigain.com. He is working on WikiGain Website and as well as Amozish.net. Newly I have joined Blogging, Networking which I know MCITP, MCSA CCNA. And I know Microsoft Office 2013 and 2016 as well.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.