Will vmware run mac os

Установка macOS на VMware Workstation

В этой статье мы расскажем, как проходит установка macOS на компьютер через VMware Workstation Player. Для работы вам понадобится готовый ISO-образ операционной системы. На VMware mac OS устанавливается в 4 этапа:

  1. Установка патча для разблокировки возможностей работы VMware с macOS.
  2. Создание виртуальной машины.
  3. Редактирование конфигурационного файла для запуска на процессорах Intel или AMD.
  4. Установка macOS на виртуальную машину.

Как разблокировать VMware для macOS

Поскольку VMware Workstation официально не поддерживает MacOS в качестве гостевой ОС, для запуска macOS нужно установить неофициальный патч. Он подойдет как для Workstation Player, так и для Workstation Pro.

Чтобы установить патч для разблокировки macOS:

Готово, при создании виртуальной машины в списке поддерживаемых гостевых ОС появится Apple Mac OS X:

Как создать виртуальную машину для macOS

После установки патча можно приступить к установке macOS. Для работы вам понадобится готовый ISO-образ операционной системы.

Нажмите Create a New Virtual Machine, чтобы создать новую виртуальную машину:

Нажмите Browse и в локальной папке компьютера выберите ISO-образ Mac OS. После этого кликните Next:

Выберите «Apple Mac OS X». Выбор версии зависит от того, какую ОС вы хотите установить:

  • Big Sur — macOS 11.1,
  • Catalina — macOS 10.15,
  • Mojave — macOS 10.14.

Затем нажмите Next:

Если вы хотите оставить название и директорию по умолчанию, нажмите Next. Если вы хотите изменить их, в поле «Virtual machine name» введите имя новой виртуальной машины. Затем нажмите Browse, чтобы выбрать папку, в которой будет храниться виртуальная машина. После этого нажмите Next:

«Maximum disk size» — это максимальный размер дискового пространства, которое будет выделено для гостевой операционной системы. Мы рекомендуем выбрать объём — 80 ГБ.

Если хотите, чтобы виртуальный диск хранился в одном файле, выберите Store virtual disk as a single file. Это не повлияет на производительность операционной системы.

Проверьте количество выделенных ресурсов. Для этого нажмите Customize hardware:

  • Memory (оперативная память) — рекомендуемый объём составляет 4 ГБ. Если у вашего компьютера установлено 16 ГБ оперативной памяти, выделите 8 ГБ.
  • Number of processor cores (количество ядер процессора) — минимальное рекомендуемое количество — 2. Если процессор вашего компьютера имеет 8 и более ядер, выделите минимум 4 ядра.

Кроме оперативной памяти и ядер процессора необходимо включить виртуализацию. Для этого нажмите Processors, отметьте галочкой пункт «Virtualize Intel VT-x/EPT or AMD-V/RVI» и кликните Close:

Готово, виртуальная машина создана.

Как отредактировать файл .VMX

Перед запуском гостевой ОС нужно внести изменения в файл с расширением .VMX.

Откройте директорию, в которой хранятся файлы виртуальной машины. Это директория, которую вы выбирали на 5 шаге. Если вы выбрали директорию по умолчанию, перейдите в ДокументыVirtual Machine. Вам нужен файл с расширением .VMX:

Кликните по файлу правой кнопкой мыши и выберите Открыть с помощьюБлокнот.

В зависимости от процессора вашего компьютера вставьте в конец файла нужный текст:

Готово, виртуальная машина готова к запуску.

Теперь запустим виртуальную машину и установим операционную систему macOS.

Как установить macOS на VMware Workstation

В инструкции мы устанавливаем версию macOS Big Sur. Процедура установки версий macOS Mojave и Catalina практически не отличается.

Чтобы установить macOS на VMware Workstation:

Запустите созданную ранее виртуальную машину:

Дождитесь загрузки операционной системы с установочного диска:

Выберите язык и нажмите на стрелку в правом нижнем углу:

Отформатируйте виртуальный диск. Для этого выберите Дисковая утилита и нажмите Продолжить:

Выберите виртуальный жёсткий диск VMware Virtual SATA Hard Drive Media и нажмите Стереть:

Введите название диска и нажмите Стереть:

Дождитесь завершения процедуры и нажмите Готово.

Читайте также:  Wireless network connections windows 10

После этого вверху страницы нажмите Дисковая утилитаЗавершить дисковую утилиту:

Выберите Установка macOS Big Sur и кликните Продолжить:

Примите условия лицензионного соглашения:

Выберите диск, название которого вы указывали на 6 шаге, и нажмите Продолжить. На этот диск будет установлена ОС.

Дождитесь окончания установки. Гостевая операционная система перезагрузится несколько раз:

Выберите регион и продолжите установку. Следуйте подсказкам системы:

На этапе «Ассистент миграции» в левом нижнем углу нажмите Не сейчас:

Чтобы пропустить «Вход с Apple ID» нажмите Настроить позже в левом нижнем углу:

Заполните поля, задайте пароль и нажмите Продолжить:

Готово, вы установили macOS на виртуальную машину VMware Workstation Player.

Источник

macOS Big Sur on VMware (with Xcode)

Complete guide to running macOS Big Sur with Xcode on Windows with VMware

Before following anything in this guide, please be aware that you may be violating the Terms of Service, License, and/or EULA for Apple and VMware. You will be running Apple software on non Apple hardware and modifying VMware software. You are responsible for reading and accepting any Terms of Service or License agreements that accompany any software you download or install. I wouldn’t recommend doing this on a computer you don’t own, and I REALLY wouldn’t recommend doing it on a work computer.

FYI, running a macOS on any type of X86 (Intel) CPU will likely no longer be an option by somewhere around 2025 to 2027. This includes the VMware method outlined here See here for more details: https://dortania.github.io/hackintosh/updates/2020/11/12/bigsur-new.html#death-of-x86-and-the-future-of-hackintoshing

This guide is designed to show you how to run the latest version of macOS Big Sur on a Windows PC (in this guide, PC includes desktop, laptop, etc.) with VMware Workstation Player (free product). This is for a new install only. For upgrades, see the link at the top of the page. VMware is a virtualization platform that allows you to run multiple operating systems on a single computer. We will be modifying VMware to add the feature to run macOS on Windows. I’ll also cover settings required to get Xcode working. This guide is for somewhat modern (not ancient) Intel computers. It likely will not work for AMD processors.

If you have a high end modern Windows PC, this setup will run pretty well. If you have an older PC, it will likely still work, but a bit slower. My purpose for doing this is to build a particular application for a personal iPhone a couple of times a year. The minimum requirements for your PC are listed here: https://www.vmware.com/products/player/faqs.html

It is critical you follow every step in this guide. If you don’t, it will not work. If you don’t get the expected result, you must stop and figure out why. If you proceed anyway, it will not work.

Installation

Step 1: Extract the macOS (11.0) VMware disk image file
Browse to where you saved this file “macOS 11.0 Big Sur by MK.zip”, and extract it with the Windows Utility. It may take while, so you can proceed to the next step while it is running. Just don’t reboot (if asked) until this step is complete. After it is complete, you can delete the original zip file “macOS 11.0 Big Sur by MK.zip”

Step 2: Install VMware Workstation for Windows
Install VMware, the 3rd file you downloaded above.

I would uncheck these 2 boxes. The rest of the default options should be fine.

Step 3: Patch VMware
This is a crucial step. It is frequently overlooked. If it is not completed successfully, you will not be able to proceed. Extract the previously downloaded “VMware Unlock/Patch tool”. Browse to the extracted files, and right click “win-install.cmd” and select Run as Administrator. Pay attention to any output you see on your screen. This must be run successfully.

Читайте также:  Как изменить место сохранения скриншотов mac os

Step 4: Create Virtual Machine
Open the installed VMware player and click on “create a new virtual machine”.

The new virtual machine wizard will be opened. Choose to install the operating system later from the options and click on “Next”. In the next page, choose the Guest operating system which in this case is Apple Mac OS X and then Version macOS 11.0. Click on the “Next” button.

In the next screen, name the virtual machine (whatever you want) and choose where it is to be stored by browsing to the location. Any LOCAL (not cloud) disk is fine. Click on the “Next” button. On this screen, specify the storage space to be allocated to the virtual machine. For now, allocate just 1 GB. It is temporary and it will be removed in subsequent steps. Choose “Store virtual disk as a single file” and click “Next”. Confirm everything and click on “Finish”.

Step 5: Edit the Virtual Machine
Open VMware and select “macOS 11” (or whatever you named it). Click on “Edit the virtual machine”
Select the Memory tab. You want to choose about half of the available memory on your PC. You can adjust this later. If you have a lot of RAM on your PC (12 GB, 16 GB, more) you can be generous here. The key is you have to leave at least 4 GB or so of RAM for your PC to use, but the more you are able to give to the macOS, the faster it will be.

Set the CPU cores to an appropriate setting. If you have 8 cores, 4 would be great. This is similar to Memory. You want to give it enough to perform well, but you can’t starve your Windows machine to the point where it can’t function. Uncheck all boxes as shown. Click “OK” to accept the changes.

In the list of devices, choose the “Hard Disk” on device menu option. Click on “Remove” button. This removes the virtual hard disk created when first creating the virtual machine.

To make a new virtual disk on VMware, click on Hard Disk on the list of devices then choose “SATA” followed by “Use an Existing disk”.

To select the disk, use the browse button to open the location where the “macOS 11.0 Big Sur by MK.vmdk” file is stored. Select it and click on “Finish”.

It should default to an 80 GB hard drive. 80 GB is the absolute minimum to function. You need 120 GB to have everything work well and not go through a hassle every time you do a Xcode or OS update. If you have the space on your PC, increase this to 120 GB. If you can get to 120, expand it as much as you can. Expanding your disk can take a while, so be patient. If you do expand beyond the default 80 GB, you will need to do Step **8.

The last change you need to make in the virtual machine settings is to set your USB controller to USB 2.0. If you do not do this, you will not be able to plug your iPhone and connect it to Xcode.

Step 6: Play macOS Big Sur
Open the VMware player if you had closed it and click on “play virtual machine”, and create a new account. If you get a SATA warning, you may ignore and dismiss it.

If/when you see this message about VMware tools, choose never remind me.


The rest of the options are your preference. They are the same you would see on a normal mac. Assuming you aren’t migrating from an exiting device (I wouldn’t), you will need to select this option.

Читайте также:  Mac загрузка windows клавиш

Step 7: Install VMware Tools on Virtual Machine
In VMware Player, click Player, Manage, Install VMware Tools. Then click on “Install VMware tools”. If that hasn’t popped up, click on the VMware Tools Drive on the top right. The default options are fine.

You will see these screens in the sequence shown below. On picture 2, you will click the lock symbol to unlock it, and then you will be able to click the allow button. You can the click the option to restart.

Step **8: Expand MacOS partition
You only do this step if you expanded your your virtual disk beyond the default 80 GB. If you did, follow these steps. If you left it at 80, proceed to “You are done…” below.
1) Open terminal by pressing Command + space bar to open the Spotlight Search bar (the Mac Command key is the same as the Windows key)
2) Type Term in the Spotlight Search bar and select Terminal to open the Terminal window
3) Copy and paste this command into Terminal
sudo diskutil apfs resizeContainer disk1 0
4) When prompted, enter your Mac password and press Enter. Please note that it will appear as if you’ve typed nothing on your screen, but if you type in your password properly, you should start to see various lines of code start to appear in Terminal.
5) Wait patiently while your hard drive expands on your Virtual Mac. Ultimately, you will get a message that you’ve Finished APFS operation.
6) Click on the Apple icon in the upper left corner and select About This Mac – Storage to confirm your success! You can now close Terminal.

You are done installing and configuring. You now have a running instance of macOS.

Connecting your iPhone
You can connect your iPhone (or iPod Touch) to a USB port on your PC. If VMware is open, you will receive a prompt asking how you want to handle your removable device.

Choose whichever option you like. Eventually, it will have to connect to the Virtual Machine.

If you don’t connect it to your VM initially, you will see a grey iOS icon in the top right corner of your VMware session. If it has a green dot on it, you are all set.


If it is not connected, you just need to connect it. right click the icon, and select the option to connect.

This is what it should look like when your iPhone is connected to your macOS VMware session.


Your iPhone must be visible to macOS to connect to it in Xcode. If you are having trouble accessing your iPhone is macOS, verify it is accessible in iTunes as a test.

Now you have macOS running with an iPhone connected. Your hardware is now ready to work in conjunction with Xcode to deploy an application to your iPhone.

***Many Virtual Big Sur users are unable to use the macOS update utility until they are on at least patch 11.5. See this page for instructions for manually updating to 11.6.***
https://macosvmware.tech.blog/macos-update-links/

Additional notes:
You can normally apply minor updates to macOS. Make sure not to update to a version not supported by other components you may be using this solution for.

You can install VMware updates, but you will have to run the Patch/Unlocker script again after the update. Do not update to a new major version such as going from 16 to 17 without confirming it is supported

Источник

Оцените статью