banner



How To Install Mac Os Virtual Machine

Whether y'all want to occasionally test a website in Safari, or endeavor out a piffling bit of software in the Mac environs, having admission to the latest version of macOS in a virtual car is useful. Unfortunately, you're non really supposed to practice this—so getting macOS running in VirtualBox is, to say the least, tricky.

Update: The instructions hither use to older versions of macOS. If you desire to install a newer version of macOS in VirtualBox, bank check out this script on GitHub. It promises to take you through the procedure of installing and setting up a macOS virtual machine. Nosotros haven't yet tested it ourselves, but we've heard practiced things.

Information technology's not incommunicable, all the same. Some of the folks at the InsanelyMac forums have figured out a process that works. The only thingnot working is sound, which for some reason is highly distorted or nonexistent. Other than that, though, this is macOS High Sierra, running smoothly in VirtualBox.

To make things a picayune easier for people, we've combined methods from a few different forum threads into a single, step-past-step tutorial, complete with screenshots. Let's swoop in.

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

NOTE: In gild to get this working, you volition need access to a real Mac in order to download High Sierra. You could, we suppose, obtain a High Sierra ISO past other means, but we don't recommend information technology. Borrow a friend'due south Mac for an hr if you don't have i, and y'all should be fine—everything across step 1 of this tutorial can be done on your Windows PC.

If y'all're on a Mac and want a macOS virtual machine for employ on that Mac, we recommend checking out out Parallels Desktop Lite instead, because information technology tin create macOS virtual machines for free and is a lot easier to work with.

Prepare to get started? Let's spring in!

Step One: Create a macOS High Sierra ISO File

To commencement, nosotros'll need to create an ISO file of macOS High Sierra'south installer, so we can load information technology in VirtualBox on our Windows auto. Catch your borrowed Mac, head to the Mac App Store, search for Sierra, and click "Download."

When the process is washed, the installer will launch—that'south okay, just shut it with Command+Q. Nosotros don't want to upgrade your friend's Mac; we just demand the downloaded files.

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

First, run the following control to create a bare disk paradigm:

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

Next, mount your blank image:

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

Now you'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

Note that, after doing this, the name of our destination mount point has changed to "Bone 10 Base System/Arrangement." You're almost done! Unmount the epitome:

hdiutil detach /Volumes/Bone\ X\ Base of operations\ Arrangement

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

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

Move the ISO to the desktop:

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

And you've got a bootable High Sierra ISO file!

Copy it to your Windows motorcar using a large wink drive, an external hard drive, or over your local network.

Step Two: Create Your Virtual Machine in VirtualBox

Next, head to your Windows machine, and install VirtualBox if you oasis't already, making sure yous have the latest version (seriously, older versions may not work.)

Open it up and click the "New" button. Name your Virtual Machine "High Sierra," and choose "Mac OS X" for the operating system and "Mac Bone X (64-bit)" for the version (every bit of this writing, "macOS High Sierra" is not offered, but that'south fine.)

Continue through the process. For memory, we recommend you lot apply at least 4096MB, though you tin opt for more if you have plenty RAM to spare on your Windows machine.

Next, you'll be asked about your hard drive. Choose "Create a Virtual Hd Now" and click Create.

Choose VDI for hard disk type and click Next. You'll be asked if you lot want a dynamically sized drive or fixed. We recommend Fixed Size, since it's a scrap faster, though it'll take up a bit more hard drive infinite on your Windows machine.

Click Next. You'll exist asked how big a drive you want; we recommend at least 25GB, which is big plenty for the Bone and a few applications. Depending on your storage state of affairs, y'all could offer more, simply we don't think you can really utilize much less than that.

Click through the prompts, and y'all've created an entry for your virtual automobile! Now it's time to do a little configuration.

Step Iii: Configure Your Virtual Machine in VirtualBox

You should see your virtual car in VirtualBox's primary window.

Select information technology, then click the big yellow "Settings" button. Commencement, head to "System" in the left sidebar. On the Motherboard tab, make sure that "Floppy" is unchecked.

Adjacent head to the "Processor" tab, and make certain you have at least two CPUs allocated to the virtual machine.

Adjacent, click "Display" in the left sidebar, and make sure Video Memory is ready to at to the lowest degree 128MB.

Next, click "Storage" in the left sidebar, and then click the "Empty" CD drive. Click the CD icon at the summit right, then browse to the High Sierra ISO file you created earlier.

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

Step Four: Configure Your Virtual Automobile From The Command Prompt

Nosotros've made a few tweaks, but we need to make a few more more in order to convince the operating system information technology's running on a real Mac. Sadly, there are no options for this from VirtualBox'due south interface, then you'll demand to open the Command Prompt.

Open the Start Bill of fare, search for "Command Prompt," then right-click it and select "Run as ambassador."

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

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

That'due south it! If everything worked, you shouldn't meet whatsoever feedback; the commands will simply run. If the command did not work, brand sure your virtual machine is named "Loftier Sierra" exactly; if information technology isn't, edit the commands above putting your machine's proper name in the quotes. Get ahead and close the Command Prompt. We're heading back to VirtualBox now.

Stride Five: Kick and Run The Installer

Re-open VirtualBox, click your Sierra auto, then click "Start." Your machine volition start to boot. Y'all volition run into a lot of superfluous information as this happens—and I hateful a lot—just don't worry well-nigh it. Information technology's normal, fifty-fifty some of the things that look like errors.

You should just worry if a specific mistake hangs for v minutes or more. Just walk away and allow information technology run for a bit. If you've done everything right, it'll boot.

Somewhen, you'll see the installer asking you to pick a linguistic communication:

Pick "English," or whatsoever linguistic communication you adopt, then click "Next." Earlier you do anything else, however, click "Disk Utility" then "Continue."

You won't see the drive: don't panic, High Sierra hides bare drives by default. In the bill of fare bar, click "View" followed past "Show All Devices."

You lot should now run across your empty virtual drive in the sidebar. Click information technology, and then click the "Erase" option.

Name the drive "Macintosh Hard disk drive," and leave the other two settings equally-is: "Mac OS Extended Journaled" and "GUID Partition Map". Practice not create an AFS division, considering it will not work and you'll have to start over with a new virtual hard drive. Click "Erase," then close Disk Utility when the process is complete. You'll be brought back to the master window.

Select "Reinstall macOS" then click "Continue." You lot'll be asked to agree with the terms.

Agree and you'll eventually exist asked to choose a hard drive; select the sectionalisation y'all simply made.

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

Stride Half-dozen: Kick Installer Stage Two From the Virtual Hard Drive

At this point the installer has copied files onto the virtual hard drive, and expects to boot from in that location. For whatever reason this does non work on the virtual machine, which is why you're seeing the installer once more.

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

At present start up the virtual automobile and you'll see this lovely screen.

This is the EFI Internal Shell, and as long equally you encounter "FS1" listed in yellow, you can use it to launch the rest of the installer. Click the virtual car and permit it to capture yous mouse and keyboard, so blazon fs1: and hitting Enter. This will switch directories to FS1, where the rest of the installer is located.

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

cd "macOS Install Data" cd "Locked Files" cd "Boot Files"

Now we can run the installer itself with the following command:

boot.efi

The installer will pick upwardly where it left off. Offset you lot'll run into a series of text, like before, but eventually you'll see the GUI installer come back. (Don't worry, you but have to get through this process once.)

Nosotros're getting there, but need a picayune fleck more patience.

Footstep Eight: Log Into macOS Loftier Sierra

Somewhen the virtual motorcar volition reboot once again, this time into macOS Loftier Sierra. If that doesn't happen, endeavor ejecting the ISO from the Virtual Machine. When Loftier Sierra does kicking, you'll need to get through choosing your country, setting up a user, and the rest of the initial setup process.

Somewhen, you'll make it to the Mac desktop. Yay!

You can now try out any Mac software, though some functions, similar FaceTime and Messages, won't work considering Apple won't recognize your figurer equally a real Mac. But a lot of the bones stuff should work. Take fun!

Pace Eight (Optional): Change Your Resolution

Past default, your virtual auto will have a resolution of 1024×768, which is not a lot of room to work with. If you lot endeavor to modify the resolution from within macOS, nonetheless, you will meet no pick to exercise so. Instead, you demand to enter a few commands.

Shut down your Virtual Machine past shutting downwards macOS: click the Apple in the carte du jour bar, then click "Shut Downwards." Next, close VirtualBox entirely (seriously, this step volition not piece of work if VirtualBox is still open!) and caput back to Windows' Control Prompt as an admin. You need to run the following two commands:

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

In the 2nd command, you demand to supplant the N with a number from one to 5, depending on what resolution y'all desire:

  • 1 gives you a resolution of 800×600
  • 2 gives you a resolution of 1024×768
  • 3 gives y'all a resolution of 1280×1024
  • four gives yous a resolution of 1440×900
  • 5 gives you a resolution of 1920×1200

Showtime up VirtualBox, load up your virtual auto, and it should kicking to your preferred resolution!

RELATED: 10 VirtualBox Tricks and Advanced Features You Should Know Well-nigh

From now on, you can open up VirtualBox for any Mac-related testing you desire to exercise. Again, you'll see a lot of errors pop up during kick, but they're fine; ignore them. Also, recall that audio won't work, nor will things like FaceTime or iMessage, which require a real Mac. This isn't going to be perfect, which is to exist expected from an entirely unsupported setup. Just it'due south macOS, in a virtual car, and that's not bad! Be sure to cheque out our guide to VirtualBox'southward advanced features to get the most out of your machine, also.

1 more than matter: a huge shout-out to Republic of chad Due south. Samuels, without whom I could non take updated this guide for Loftier Sierra. Cheers so much!

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

Posted by: pinkstonsomight80.blogspot.com

0 Response to "How To Install Mac Os Virtual Machine"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel