banner



How To Install Mac Os X On Pc Virtual Machine

Whether you want to occasionally examination a website in Safari, or effort out a piddling bit of software in the Mac environment, having admission to the latest version of macOS in a virtual car is useful. Unfortunately, you're not really supposed to do this—so getting macOS running in VirtualBox is, to say the to the lowest degree, tricky.

Update: The instructions here apply to older versions of macOS. If you lot want to install a newer version of macOS in VirtualBox, bank check out this script on GitHub. Information technology promises to take y'all through the process of installing and setting up a macOS virtual car. We oasis't yet tested it ourselves, but nosotros've heard skillful things.

It's non impossible, however. Some of the folks at the InsanelyMac forums have figured out a process that works. The only matternot working is sound, which for some reason is highly distorted or nonexistent. Other than that, though, this is macOS Loftier Sierra, running smoothly in VirtualBox.

To make things a footling easier for people, we've combined methods from a few different forum threads into a unmarried, step-past-stride tutorial, complete with screenshots. Allow's dive in.

RELATED: Beginner Geek: How to Create and Use Virtual Machines

NOTE: In guild to get this working, you will need access to a existent Mac in lodge to download High Sierra. You could, we suppose, obtain a High Sierra ISO by other means, but we don't recommend it. Infringe a friend'south Mac for an hour if y'all don't accept one, and you lot should be fine—everything beyond step one of this tutorial can be washed on your Windows PC.

If you're on a Mac and want a macOS virtual machine for utilize on that Mac, we recommend checking out out Parallels Desktop Lite instead, considering it can create macOS virtual machines for complimentary and is a lot easier to work with.

Set to get started? Let'southward jump in!

Step One: Create a macOS High Sierra ISO File

To kickoff, nosotros'll demand to create an ISO file of macOS High Sierra's installer, so nosotros can load it in VirtualBox on our Windows machine. Grab your borrowed Mac, head to the Mac App Shop, search for Sierra, and click "Download."

When the process is done, the installer will launch—that's okay, just shut it with Command+Q. We don't desire to upgrade your friend's Mac; nosotros just need the downloaded files.

To convert those files to an ISO, we'll need to utilise the Final, which you can find in Applications > Utilities.

Showtime, run the following command to create a blank disk image:

hdiutil create -o /tmp/HighSierra.cdr -size 7316m -layout Irish potato -fs HFS+J          

Side by side, mount your bare image:

hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build

Now yous're going to restore BaseSystem.dmg from the installer over to the newly mounted paradigm:

asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase

Annotation that, later on doing this, the name of our destination mount point has inverse to "OS Ten Base Arrangement/Arrangement." You lot're most washed! Unmount the paradigm:

hdiutil disassemble /Volumes/Os\ 10\ Base of operations\ System

And, finally, convert the epitome you created into an ISO file:

hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso

Motility the ISO to the desktop:

mv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierra.iso

And y'all've got a bootable High Sierra ISO file!

Re-create it to your Windows machine using a big flash bulldoze, an external difficult drive, or over your local network.

Step 2: Create Your Virtual Machine in VirtualBox

Side by side, caput to your Windows machine, and install VirtualBox if y'all haven't already, making sure you have the latest version (seriously, older versions may not work.)

Open information technology up and click the "New" push button. Name your Virtual Machine "High Sierra," and choose "Mac OS Ten" for the operating system and "Mac Os Ten (64-bit)" for the version (as of this writing, "macOS High Sierra" is non offered, but that'southward fine.)

Proceed through the procedure. For memory, nosotros recommend you use at least 4096MB, though you can opt for more if you have enough RAM to spare on your Windows machine.

Side by side, yous'll be asked about your hard drive. Choose "Create a Virtual Hd Now" and click Create.

Cull VDI for hd type and click Side by side. You'll be asked if you desire a dynamically sized drive or fixed. We recommend Stock-still Size, since information technology'southward a scrap faster, though it'll take up a scrap more hard drive space on your Windows machine.

Click Adjacent. Yous'll be asked how large a bulldoze you want; we recommend at least 25GB, which is large enough for the Bone and a few applications. Depending on your storage situation, y'all could offer more, but we don't call up you lot can really utilise much less than that.

Click through the prompts, and you've created an entry for your virtual car! Now it's time to do a trivial configuration.

Footstep Three: Configure Your Virtual Auto in VirtualBox

Y'all should see your virtual machine in VirtualBox's main window.

Select it, and so click the big yellow "Settings" push. First, head to "System" in the left sidebar. On the Motherboard tab, brand sure that "Floppy" is unchecked.

Next caput to the "Processor" tab, and make sure you lot have at to the lowest degree two CPUs allocated to the virtual machine.

Next, click "Display" in the left sidebar, and make certain Video Memory is set to at least 128MB.

Adjacent, click "Storage" in the left sidebar, then click the "Empty" CD drive. Click the CD icon at the meridian right, then browse to the Loftier Sierra ISO file yous created before.

Be sure to click "OK" to finalize all the changes y'all've made, then close VirtualBox. No, seriously: close VirtualBox now, or the side by side steps won't work.

Step 4: Configure Your Virtual Machine From The Control Prompt

Nosotros've made a few tweaks, but we demand to make a few more more in society to convince the operating system it's running on a existent Mac. Sadly, there are no options for this from VirtualBox'southward interface, so you'll need to open up the Command Prompt.

Open the Start Menu, search for "Command Prompt," then right-click information technology and select "Run as ambassador."

You need to run a number commands, in order. Paste the following commands, pressing Enter after each one and waiting for it to complete:

cd "C:Program FilesOracleVirtualBox"
VBoxManage.exe modifyvm "High Sierra" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "ane.0"
VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-2BD1B31983FE1663"
VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" i

That's information technology! If everything worked, you shouldn't run into any feedback; the commands will but run. If the control did not work, make sure your virtual automobile is named "Loftier Sierra" exactly; if it isn't, edit the commands to a higher place putting your machine'southward name in the quotes. Go ahead and close the Control Prompt. We're heading back to VirtualBox now.

Step Five: Boot and Run The Installer

Re-open VirtualBox, click your Sierra auto, then click "Start." Your machine will outset to boot. You will see a lot of superfluous data every bit this happens—and I hateful a lot—simply don't worry about information technology. It's normal, even some of the things that look like errors.

You lot should but worry if a specific fault hangs for 5 minutes or more than. Merely walk abroad and let it run for a chip. If you've done everything right, information technology'll kick.

Eventually, you lot'll see the installer request y'all to choice a language:

Selection "English," or whatever linguistic communication you prefer, and then click "Next." Before you do anything else, nonetheless, click "Disk Utility" and so "Continue."

You won't run into the drive: don't panic, Loftier Sierra hides bare drives by default. In the carte du jour bar, click "View" followed past "Show All Devices."

Y'all should now encounter your empty virtual drive in the sidebar. Click it, then click the "Erase" option.

Name the drive "Macintosh HD," and leave the other two settings every bit-is: "Mac OS Extended Journaled" and "GUID Segmentation Map". Do not create an AFS partition, because it will not work and you'll accept to start over with a new virtual difficult bulldoze. Click "Erase," then close Disk Utility when the process is complete. You'll be brought back to the main window.

Select "Reinstall macOS" then click "Go on." You'll be asked to concord with the terms.

Agree and you'll eventually be asked to cull a hard drive; select the partition you but made.

The installation will begin! This might take a while, so exist patient. Eventually your virtual auto volition restart and take you…back to the installer. Don't panic: this is to be expected.

Footstep Six: Boot Installer Stage Ii From the Virtual Difficult Drive

At this point the installer has copied files onto the virtual difficult drive, and expects to boot from there. For whatever reason this does not work on the virtual machine, which is why yous're seeing the installer over again.

Turn off your virtual machine and open up its settings. Head to Storage, click "HighSierra.iso" in the "Storage Tree" console, then click the CD icon at meridian-correct and click "Remove Disk from Virtual Drive." This will completely disconnect our installation ISO.

Now start up the virtual machine and you'll see this lovely screen.

This is the EFI Internal Shell, and equally long as yous meet "FS1" listed in xanthous, yous can apply it to launch the rest of the installer. Click the virtual machine and allow it to capture you mouse and keyboard, then type fs1: and striking Enter. This will switch directories to FS1, where the rest of the installer is located.

Next we're going to run a few commands in guild to switch to the directory we need:

cd "macOS Install Information" cd "Locked Files" cd "Boot Files"

Now we can run the installer itself with the post-obit command:

boot.efi

The installer will choice up where it left off. First yous'll see a series of text, like before, but eventually you'll see the GUI installer come up dorsum. (Don't worry, y'all only have to become through this process in one case.)

We're getting there, only need a footling fleck more patience.

Footstep Eight: Log Into macOS High Sierra

Eventually the virtual machine will reboot once more, this time into macOS High Sierra. If that doesn't happen, try ejecting the ISO from the Virtual Machine. When High Sierra does kick, you lot'll need to go through choosing your land, setting up a user, and the rest of the initial setup procedure.

Somewhen, yous'll get in to the Mac desktop. Yay!

You can now try out any Mac software, though some functions, like FaceTime and Messages, won't work because Apple won't recognize your computer as a existent Mac. Simply a lot of the basic stuff should piece of work. Have fun!

Footstep Eight (Optional): Change Your Resolution

By default, your virtual machine will have a resolution of 1024×768, which is not a lot of room to piece of work with. If you try to change the resolution from within macOS, still, you will meet no choice to do so. Instead, you lot need to enter a few commands.

Shut down your Virtual Machine by shutting down macOS: click the Apple in the bill of fare bar, then click "Close Down." Next, close VirtualBox entirely (seriously, this step will not work if VirtualBox is notwithstanding open up!) and head back to Windows' Command Prompt as an admin. You lot need to run the following ii commands:

cd "C:Program FilesOracleVirtualBox"
VBoxManage setextradata "High Sierra" "VBoxInternal2/EfiGopMode" N

In the second command, you need to replace the N with a number from i to five, depending on what resolution you lot want:

  • one gives you a resolution of 800×600
  • 2 gives yous a resolution of 1024×768
  • 3 gives yous a resolution of 1280×1024
  • 4 gives you a resolution of 1440×900
  • v gives y'all a resolution of 1920×1200

Start up VirtualBox, load upwardly your virtual machine, and information technology should kicking to your preferred resolution!

RELATED: 10 VirtualBox Tricks and Advanced Features Yous Should Know Almost

From now on, you can open VirtualBox for whatsoever Mac-related testing you want to do. Again, you'll run across a lot of errors pop upward during boot, simply they're fine; ignore them. Likewise, remember that audio won't work, nor will things similar FaceTime or iMessage, which crave a real Mac. This isn't going to be perfect, which is to exist expected from an entirely unsupported setup. But it'south macOS, in a virtual car, and that's not bad! Be sure to cheque out our guide to VirtualBox's advanced features to become the nigh out of your auto, too.

One more than thing: a huge shout-out to Republic of chad Southward. Samuels, without whom I could not have updated this guide for High Sierra. Thank you and so much!

Source: https://www.howtogeek.com/289594/how-to-install-macos-sierra-in-virtualbox-on-windows-10/

Posted by: nethertonwitesse.blogspot.com

0 Response to "How To Install Mac Os X On Pc Virtual Machine"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel