Vmware image with mac os

pjkelly / setup-vmware-image-with-static-IP.markdown

How to setup your VMWare Fusion images to use static IP addresses on Mac OS X

At Crush + Lovely, we use Railsmachine’s Moonshine to automate the configuration of our servers. When writing our deployment recipes, VMWare Fusion’s ability to take snapshots and rollback to these snapshots is a huge timesaver because it takes just seconds to roll a server image to it’s original state.

When you’re just configuring a single server, having a static IP address for your server image isn’t too important, but when you’re configuring multi-server setups, it can be useful to duplicate a number of server images and give each a static IP address so you can consistently deploy to them. While not documented well at all, it turns out that this is relatively easy to accomplish in four simple steps.

1. Determine the MAC address of your guest machine

Let’s say you have a guest machine with the name ubuntu-lucid-lynx-base and you keep your guest machine images in

/Documents/Virtual\ Machines/ . To determine the MAC address for this VM, you can run:

If more than one line is returned, you’re looking for the one with the value like 00:0c:29:9d:2a:38 .

2. Add your static IP address to VMWare’s dhcpd.conf

Open /Library/Application\ Support/VMware\ Fusion/vmnet8/dhcpd.conf . vmnet8 is the virtual interface for NAT networking in VMWare the guest machines. In this file, you’ll see a subnet clause that looks something like this:

Take note of the line starting with range . The IP addresses you will assign your guest machines will need to fall outside that range. Find the line that looks like this:

Below that line, add a clause for your guest machine. It should look like this:

Make sure the hardware ethernet value matches the MAC address you found in step one, and the fixed-address is an IP outside the range listed in the subnet clause.

3. Optional: Update your /etc/hosts file

If you want to assign a fancy local hostname that refers to your guest machine, you can do so by editing your /etc/hosts file. For instance, to assign the hostname ubuntu.local to the guest machine we just setup, we could add the following line to our /etc/hosts file:

4. Restart the VMWare daemons

Last thing to do is restart your VMWare daemons:

Источник

Установка 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, чтобы создать новую виртуальную машину:

Читайте также:  Windows server file versions

Нажмите 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 и нажмите Стереть:

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

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

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

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

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

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

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

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

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

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

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

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

Источник

macOS 11.0 Big Sur VMware Image – VMDK File for Windows

Installing the latest macOS on a Windows computer is always exciting. The good thing is, we do not need to disturb the existing host OS or modify the boot loader to have another OS. We will be using virtualization technology to leverage existing hardware to host another OS. In this post, I will provide the pre-installed VMware image of latest macOS 11.0 Big Sur (Which is in beta stage now) and how to use it on your Windows computer.

The Big Sur 11.0 is a significant jump from their name series. All of their earlier OS which started back in the year 2000 starts in 10.x series, with this release it is jumping to 11.x. You can find what is new in this version from the official site. Hopefully, the final version will be available for the public by the end of 2020. Till then, we have the chance to play around with the beta releases. As beta versions are not always stable to install on your physical Mac computer, it is always better to try a virtual machine.

Читайте также:  Пустая вкладка безопасность windows

The user interface gone through massive changes and you will be impressed by the first look. Luckily with the working proper VMware tools, the graphics experience is pleasant inside the virtual machine in this image on the Windows computer.

System Requirements to run Big Sur on VMware

This pre-installed VMware image created with 4GB RAM, but you have the option to customize it before switching on. If you have enough hardware resources on your physical computer, allocate it according to the following configuration.

  1. 4 Processor cores
  2. 8GB RAM (4GB Minimum)
  3. Keep the virtual machine files in SSD disk
  4. VMware workstation/VM Player
  5. VT-Enabled Desktop or laptop
  6. VMware unlocker

Why Use the Pre-installed image of Big Sur macOS 11.0

Installation of macOS on non-Apple hardware is not an easy task. You must have a working Mac computer to download the Operating System from Apple’s App Store. Once downloaded, there are a few complicated steps involved in making those DMG Apple files bootable in normal X86 platform including VMware. We need to create a bootable ISO file from a Mac computer. This may be not viable for all users.

After that, there are still more settings and tweaks that must be done within the VMware virtual machine configuration to boot the ISO file in VMware to proceed with the installation. After waiting for several minutes for the installation, the VMware tools should be installed.

Altogether, it is a lengthy procedure. More than the time-consuming job, it may be not possible for everyone if you do not have an Apple physical computer or an already working macOS virtual machine.

To overcome these all issues, and save your time, you can simply use the pre-installed image to download, import to VMware Workstation or Player, and use it on your Windows computer.

Steps to Download and Use macOS 11.0 Big Sur VMware Preinstalled VMware image

Here is the quick recap of the steps we will be doing to install macOS 11.0 Big Sur on Windows OS by pre-installed VMware VMDK file.

    Download the Sysprobs pre-installed VMware image and extract it.

Keep your VMware workstation or player updated.

Unlock the VMware

Import the VMware VMX file from the extracted location and use the macOS 11.0 virtual machine. Enjoy!

Detailed Steps

1) Download the pre-installed VMware image below. It is a torrent file, properly created by me. Please allow seeding for some time after downloading. It is around 17GB in 7z format.

This file contains the Big Sur VMDK disk file and configuration file.

2) Extract the pre-installed image by using 7-Zip or Win RAR. The output will be will around 23GB. This VM is configured for 100GB disk space. So, make sure you have enough free space at the place where you are extracting.

3) Make sure you have the latest VMware workstation or player.

4) Unlock VMware workstation to support macOS as guest OS.

This is a critical step to complete. Apple doesn’t support to virtualize their OS on non-Apple hardware (but it can be done on Apple devices). Using this unlocker, we are making the VMware workstation support macOS VM.

Download the latest version of Unlocker from the developer page here.

The successful unlock shall give you the below option when you try to create a new VM. This is just for confirmation only. Do not create any new VM in this case.

5) Now open the VMX file from the extracted location. This will open the virtual machine settings.

Читайте также:  Эквалайзер для spotify windows

6) Here you can customize the hardware settings based on the power of your physical computer. If you can assign more processor cores and RAM, it will boost the performance of VM dramatically. I’m satisfied with my 4GB and 4 core processor.

7) Power of the VM now.

You may get the below message since this VM is made from other computer location. Click on the “I Copied It” option.

8) The macOS 11.0 Big Sur VM will ask for a password to log in. This preinstalled image has the account name “Sysprobs” and the password is “sysprobs123”.

9) You must land on the desktop without any issues.

10) I highly recommend taking a snapshot before proceeding to any additional steps.

This OS build is installed from the vanilla kernel on a new virtual machine. It is not upgraded or overwritten from any other older Operating Systems. Hence, this can be upgraded to future releases from the App Store without any modification or tweaks.

Additional Setup and Cross Check

Few things you can customize to make this VM useful.

a) Network

The network worked out of the box. By default, it was configured in NAT mode. If you have the Internet access on the host computer, the VM is going to get the connection inside the guest virtual machine.

b) VMware shared folder between Big Sur and Windows 10

If you need to transfer data between macOS 11 Big Sur VM and Windows 10 host, setting up VMware shared folder is the ideal way. Instead of creating network shares or enabling clipboard sharing, this method can be smoothly done for effective data transfer.

  • Make sure that the latest VMware tools are installed on the macOS guest VM.
  • Decide (or create) the folder on the host computer (Windows 10) that you want to share to Big Sur macOS.
  • Go to virtual machine settings and enable Shared folders under ‘Options’. Select ‘Always enabled’ option.
  • Reboot the virtual machine to take effect. Or you could complete the earlier settings while the virtual machine is switched off.
  • That should mount and show the additional shared disk under Computer in macOS.
  • If you haven’t enabled ‘Read Only’ access while settings up this shared folder, you should be able to read and type on the Windows 10 share which is working through VMware shared folder feature.

Wrap Up

I hope this guide and the VMware Pre-installed image of macOS 11.0 Big Sur is useful to test and play around with the latest OS from Apple.

This method is only for testing and learning purpose. Though the performance of the virtual machine is not that bad on Windows 10 computer as guest VM, it is highly recommended to use the Apple hardware for their OS to get maximum advantages.

As the Big Sur is in beta stage at the moment, I will be updating this post and VMDK file once the final public version is available. But as I mentioned earlier, this build can be upgraded to any release from Apple. Hence you are free to upgrade to the latest beta or final versions after taking a snapshot.

If you think this post is useful, please share and leave your comments about the issues and success notes you faced with the installation and also about the performance of this VM on your Windows hardware.

Dinesh

Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

Источник

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