VirtualBox

How to Install Mac OS X El Capitan on PC on VirtualBox

Written by John

OS X EI Captain is now available for easy download and at present, this new revolution is known to all. This lucrative downloading opportunity is now widely grabbed enthusiastically by the dedicated Mac owners as they can enjoy benefits with the latest version of OS X installed. Apart from Mac, OS X EI captain also offers sudden yet astonishing benefits over PC. However installing MAC OS X on non- Apple hardware is a bit tiresome and complicated. This is an easy guidebook, Install OS X El Capitan on VirtualBox on PC.

What is a VirtualBox? VirtualBox is basically a program, over which you can install and eventually run OS X with Intel-based and AMD processor. You would be happy to know that, this latest technology is free to all. Its current available version is exclusively designed to meet domestic net surfing issues successfully.

When you are planning to run Mac OS X 10.11 EI Captain on VirtualBox and that too on windows, it will kill a fraction of your extra energy but when done it is awesome. So, download Image and install the same and get a first-hand look and feel into the whole virtual set up and how it operates and helps you. Experience is always something worth of experiencing, and OS X on VirtualBox deserves a fraction of your time.

Steps to Use Mac OS X 10.11 El Capitan On VirtualBox on Windows

1. Download OS X  El Capitan from Mac App Store

Apple released Mac OS X El Capitan that many Mac users have been rushing to install on their devices. If you wish to join the crowd, below is a quick guide to help you download El Capitan from Mac App Store. And you need a Mac or Virtual Mac to create a ISO file.

El Capitan is free to download and install. It is available on the Mac App Store. You can open this link with older version (Yosemite). You can't find or open El Capitan link in new macOS Version (Sierra to Catalina).

Read more about this: How to Download macOS Installer in Virtual Machine

2. Create a El Capitan ISO Installer

If you have a "Install OS X El Capitan.app", move it to Application folder. To follow this step. Open Terminal in Application > Utilities.

Mount Installer DMG file to macOS
# hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/Install

Create a DMG Disk
# hdiutil create -o /tmp/elcapitan -size 7900m -volname elcapitan -layout SPUD -fs HFS+J
# hdiutil attach /tmp/elcapitan.dmg -noverify -mountpoint /Volumes/elcapitan

Copy Installer to new Disk
# asr restore -source /volumes/Install/basesystem.dmg -target /Volumes/elcapitan -noprompt -noverify -erase
# rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
# cp -rp /Volumes/Install/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
# cp -rp /Volumes/Install/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System
# cp -rp /Volumes/Install/BaseSystem.dmg /Volumes/OS\ X\ Base\ System

Unmount DMG Disk
# hdiutil detach /Volumes/OS\ X\ Base\ System
# hdiutil detach /Volumes/Install

Convert Disk to ISO File
# ​hdiutil convert /tmp/elcapitan.dmg -format UDTO -o /tmp/elcapitan
# mv /tmp/elcapitan.cdr ~/Desktop/elcapitan.iso

Step 3: Install VirtualBox

VirtualBox is a free download, open it to install VirtualBox on your Windows PC.

Install VirtualBox 6.0

Step 4: Create and Edit Your Virtual Machine

Open your VirtualBox, click on "New" button to create a virtual machine. In Guest OS and Version, choose "Mac OS X" and 10.11 version. Next is set up your RAM with 60% (3GB to 4GB). With Virtual Hard Disk, set up 100GB with "VMDK" type.

El Capitan Guest OS and Virtual Size

In Storage Tab, find and click on "DVD" icon, then open your "El Capitan.iso". Click "Ok" to save your setting.

Open El Capitan ISO File

Step 5: Add Commands for VirtualBox

First, turn off your VirutalBox. Next step, in Windows Search type: cmd then right on "Command Prompt" and click "Run as Administrator".

Open Command Prompt (cmd)

Replace "Your VM Name" with your virtual machine name in VirtualBox. Then, copy this commands to CMD.

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

Step 6: Install El Capitan in VirtualBox

Turn on your El Capitan. Add first boot screen, go to Disk Utility. Format your new virtual disk with "OS X Extended" and "GUID Partition Map".

Open El Capitan Disk Utility

Back to Installation  of OS X screen, then install your El Capitan on new virtual disk.

Install El Capitan on new Virtual Disk

Waiting about 20 min and you have your OS X El Capitan in VirtualBox.

El Capitan on VirtualBox

Featured Posts

1592
Leave a Reply

avatar
638 Comment threads
954 Thread replies
212 Followers
 
Most reacted comment
Hottest comment thread
813 Comment authors
JohnJohnGuestCadenAlexandru Sirb Recent comment authors
newest oldest most voted
John
Guest
John

Preparing the installer image seemed to go well. The virtual machine is able to boot off the installer image. I reformatted the “blank” hard drive. I clicked on it in the installer, but after a minute or two of trying to install, I get a message from the installer that says:

Any thoughts on that? I did all of the VMBoxManage commands to the machine before booting off the installer, they all seemed to work.

Alexandru Sirb
Guest
Alexandru Sirb

Now my virtual machine doesn’t even start anymore ahahahaha. Previously, without any modification, it would go up to “DSMOS has arrived” and it would just stay there, while the spinning mouse cursor was also there. It never showed the installation screen. I use VirtualBox 6 with extension pack. I will delete the virtual machine and try something else. My motherboard has an incompatible ICH7 SATA controller that I couldn’t get working. I only need osx for a little while. Anyway. Thanks for the guide. Cheers!

Caden
Guest
Caden

Hi am getting stuck on adding commands to for Virtual Box, step 5. i have a core i7 dell latitude e7440

Mac
Guest
Mac

When I try to start the machine I get:
Failed to open a session for the virtual machine OS X El Capitan.

Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE).

VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).

Tim
Guest
Tim

Hi, I only get the option to reinstall the OS and then it gives me the message “This is not a supported way to install the OS, please run Install “OS X El Capitan.app that you downloaded from the app store” (see pictures). I’ve tried remaking my image to make sure everything was done right and i tried moving the “install OS X El Capitan.app” to the applications folder (the fix according to places on the web) but nothing seems to help. I don’t really understand why i don’t get the OS installer right away like appears to happen in… Read more »

Martinez
Guest
Martinez

somebody know if works with Intel Core i5-3340?

Distortid git
Guest
Distortid git

I get invalid kernel code

ANKAN MANDAL
Guest
ANKAN MANDAL

how to run it on amd

Purpi
Guest
Purpi

Hi,

Got stuck at the step 6, it doesn’t want to boot the installation :/
It send me into the guru Meditation