Run a macOS Sonoma VM on a Windows PC

Running macOS in a virtual machine is pretty straightforward when doing this on a Mac that is running macOS already as it is easy to get your hands on the installation files. When you want to do this on a x86-based Windows machine it gets a bit more complicated but that is exactly what I will cover in this post. Using a virtual machine with macOS allows you to experiment and play around with different versions of macOS itself without the need for real Apple hardware. It also allows you to have an environment to troubleshoot and diagnose issues with real Mac hardware when you no longer have a working macOS-based machine available.

Continue reading

Run a macOS VM on an Intel-based Mac

Running a virtual machine on an Intel-based Mac is a very common thing. But typically, people would be running Windows or Linux on their x86-based Mac. It is perfectly possible to virtualize macOS as well. This allows for some experimenting with different versions or playing around without the risk of breaking your own macOS instance. In this article, I will explain how to get macOS Sonoma up and running in a VM when you’re have an Intel-based Mac, by using VMware Fusion.

Continue reading

Expand or grow a file system on a Linux VMWare VM without downtime

When your VM’s file systems are running out of space and you want to provide more space to your VM and you can’t afford any downtime, there are basically two options. Either you delete some files on the file system or you expand your current file system. Expanding your current file system can be accomplished by growing an existing virtual disk or adding a new virtual disk. Besides cleaning up, both other solutions work fine and I’ll try to explain how to get both of them active without rebooting the system or any downtime.

Continue reading

Create a new virtual machine in Vsphere with Python, Pysphere and the VMWare API

The VMWare API is very extensive and allows you to do almost all operations that are possible with VMWare using API calls. In order to be able to easily create and deploy new virtual machines, it can be a good idea to standardize and create VM’s using a (Python) script that calls the API. In this post, I will give some examples on how to easily create a new VM using Pysphere and the VMWare API.

Continue reading