Skip to main content

Posts

Showing posts from 2021

Hackintosh on x86 platform - Part I Hardware

"Hackintosh is a computer that runs Apple's Macintosh operating system macOS on computer hardware not authorized for the purpose by Apple." Wiki All credits belong to the OpenCore official guide . I cannot complete without the super detailed guide. :-) Hardware is the first step for Hackintosh. You need compatible computer parts that macOS can support. I have successfully build my Hackintosh system on a desktop PC and a laptop. Please refer to the OpenCore official guide to buy your computer parts. I will only share my experience in this article. CPU First of all, I recommend Intel CPU. According to the guide. It appears a bit hard and extra steps if you use AMD CPU. Memory M emory is more flexible. I have tried from high-end Samsung DIMMs to some super cheap DIMMs (32GB per DIMM). I didn't see any issue. Hard Disk Hard disk is also flexible. You can use SATA to NVMe. However, I would recommend SATA SSD or NVMe SSD. It's much faster. My macOS loading speed is

This operation is restricted by the administrator - 'vpxd.stats.maxQueryMetrics'

You may see vpxd.stats.maxQueryMetrics relevant error when retrieving performance data of ESXi hosts, virtual machines, or other entities on vCenter Server by PowerCLI. The full error message: This operation is restricted by the administrator - 'vpxd.stats.maxQueryMetrics'. Contact your system administrator VMware published a KB about how to fix that. Please notice that the mentioned vCenter advanced parameter config.vpxd.stats.maxQueryMetrics is case-sensitive . 202203 Update: The parameter is removed in vCenter Advanced Settings after upgrading to vCenter Server 7.x . You have to reconfigure it.

Disable DHCP Service for VMware Fusion in Big Sur

My home lab virtual machines are connected on private network 192.168.1.x. All internet traffic goes to a gateway server and is forwarded over the internet network adapter. The gateway server is a DHCP server also to assign IP addresses to my lab devices. The benefit to use my own DHCP server is I can control some advanced DHCP settings in the simple GUI interface. However, I didn't find the DHCP settings on VMware Fusion 12 for the private network. And my VMs got 172.x.x.x DHCP IP addresses automatically. The reason is I'm using macOS Big Sur. Apple requests developers to use the vmnet framework for network virtualization programming. The framework only offers limited functions for virtualized networking. This limitation is confirmed by VMware staff in the community. Since macOS has its own DHCP server. One workaround is to disable the native DHCP server by following the command which is mentioned in the same post: sudo /bin/launchctl unload -w /System/Library/LaunchDaemons

macOS Virtual Machine Cannot Boot with the error "No Media"

I installed a macOS virtual machine on VMware Fusion. As you may know, the installation time is super long. It took me about 1 hour to complete the installation. To save recovery time in case my computer OS needs to be re-installed. I exported the virtual machine to an OVA file to another partition. However, the virtual machine failed to boot up when I imported the OVA file as a new virtual machine. I got the following error message: Mac OS X... No Media And the virtual machine entered the Boot Manager screen after few minutes. Mac OS X was in the boot list. However, it wouldn't allow me to boot even I chosen it manually. I tried to reset NVRAM for the virtual machine. It's no luck. BTW, Apple has an official article talks about how to reset NVRAM or PRAM on your Mac . I'm not sure is it suitable for macOS virtual machines. I just simply delete the *.nvram file in the virtual machine's package. I also tried to reset BIOS and EFI booting order...etc. No one works. Fin

"DNS bad key" on Windows Failover Cluster

I used to see two common errors on the new created Microsoft Failover Cluster. "DNS bad key" and CNO update error. Cluster network name resource 'Cluster Name' failed registration of one or more associated DNS name(s): DNS bad key or Cluster network name resource failed registration of one or more associated DNS names(s) because the access to update the secure DNS Zone was denied. The error "DNS bad key" is more often rather than the other error. I did a lot of study on the internet. The issue was fixed after applying the following steps: Right click the Windows button - Click Run . Run following command to enter Network Connections . ncpa.cpl Go to Properties of the network adapter that you are using for Microsoft Failover Cluster. Go to Internet Protocol Version 4 (TCP/IPv4) - Advanced - DNS tab. Deselect the Register this connection's addresses in DNS . The cluster error events appears in event log in regular frequency. If you want to test it wi