Dumping process memory on macOS

This is just a reminder to myself on how to dump a processes memory on macOS/OS X. This was done on El Capitan using LLDB to create a core dump. I had previously tried gcore installed using Homebrew but that failed to dump any processes. From terminal use the following command: lldb --attach-pid <pid> 1 ...

VMware Configuration Files

VMware products have a set of configuration files which are active at computer, user and guest level. The location of these files differs depending on the product and host operating system. This post lists the names and locations for reference. ESXi Configuration Files DICT --- CONFIGURATION <path to vmx file> DICT --- USER DEFAULTS ~/.vmware/config ...

Pass real Mac details to VM Part 2

I have zero interest in running iMessage within a VM, as I use real Macs for work and play, but do understand that others are interested in doing this in a VM. There is a very good post on “How to Fix iMessage” which explains the issues of how complex Apple’s authentication of genuine Apple ...

VMware Fusion Guest OS X Installation

VMware Fusion Guest OS X Installation
When you create an OS X guest on Fusion there are two options to specify the media to bootstrap the installation. The first method is not that obvious but is to create a new virtual machine and when asked to specify the installation disk, drag the OS X Installer application to the box on the screen. Installation ...

VMware vCSA Hacks

There are some aspects of the new vCSA 6.0 system that are a little annoying if you want to investigate the structure and functioning of the appliance. For example the console size is quite small if logging in directly to the appliance. Another issue is that bash is not the default shell for root but ...

Rename files with Find

Recently I needed to rename a large number of files to remove a secondary extension. I found the following example on the web and re-posted here so I do not lose it again! Shell find . -iname "*.liquid" -exec bash -c 'mv "$0" "${0%\.liquid}.php"' {} \; 1 find . -iname "*.liquid" -exec bash -c 'mv ...

Replace ACPI Tables in VMware BIOS

I found an interesting commit in VMware Open Tools GIT repository: Commit Date: 14 March 2012 16:04:58 GMT Add support for injecting ACPI tables to EFI And support for removing ACPI tables from the guest for both EFI and legacy BIOS. And make both processes available in beta/release builds too. Only restricted functionality is setting vendor ...

Disable Google Chrome cache on OSX

Google Chrome does not have a simple way of managing the size of the caches from within the product. The main way that it the cache size and location can be controlled is via command line switches. --disk-cache-dir=/dev/null --disk-cache-size=1 --media-cache-size=1 On OS X you have 2 choices; edit the actual Application bundle to add a ...

Extract BIOS from VMware

VMware products store various BIOS and other important data files using resources on Windows and in extra sections on other platforms. With the arrival or Workstation 10 and Fusion 4, these resources can now be easily extracted from the command line using the vmware-vmx executable, which is responsible for actually running the guest. Here are ...

SLIC Passthru to VM

It is possible to pass the BIOS SLIC table through to the guest, allowing activation using the SLIC method on supported hardware. Add the following to the VMX file: acpi.passthru.slic = "TRUE" acpi.passthru.slicvendor = "TRUE" SMBIOS.reflecthost = "TRUE" 123 acpi.passthru.slic = "TRUE"acpi.passthru.slicvendor = "TRUE"SMBIOS.reflecthost = "TRUE"