VMware Communities
mlevin77
Enthusiast
Enthusiast

What's the simplest way to produce a virtual Mac OS 10.13 copy (minus my user files)?

I have an OS X 10.13 system, on which a custom app runs fine. I created a brand new VM with OS X 10.13, and the app doesn't run - it has issues with dependencies (probably some MacPorts thing). What is the simplest way to get a copy of my OS X 10.13 system into a VM? I don't want to bring my user files - only the OS and MacPorts installs, and I want it to be as small as possible on disk. I could run Migration Assistant in the existing VM and try to target the working machine? Or, can I just make a new VM that's a copy of my 10.13 machine minus the user files?

Labels (2)
Reply
0 Kudos
7 Replies
Technogeezer
Immortal
Immortal

The cleanest way to go in my opinion since you already have a working macOS 10.13 VM would be to:

  • Install Xcode, the Xcode command line tools and MacPorts on your VM,
  • Get a list of the ports that you have installed on your old system
  • Re-install the ports in the VM

The MacPorts site has a procedure used to migrate a MacPorts installation after a major OS upgrade or from one computer to another. This procedure is found at https://trac.macports.org/wiki/Migration and includes a process of listing the installed ports on the old environment and reinstalling them on a new environment. This procedure might be useful in your use case.

 

- Paul (Technogeezer)
Editor of the Unofficial Fusion Companion Guides
wila
Immortal
Immortal

Migration assistant would work.

But your VM will have grown a bit due to copying the files you don't need.
Once you delete the unneeded files, you can reclaim that disk space again.
See http://www.vi-toolkit.com/wiki/index.php/Shrink_guest_on_hosted_platform for steps on reclaiming disk space of deleted files.

--
Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
mlevin77
Enthusiast
Enthusiast

> Migration assistant would work.

   ok the migration assistant is not seeing any of my physical disks - how do I get it to see a USB mounted clone of another OS X system from which to migrate, or even better, a LAN-shared (AFP) disk of another OS X computer?

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

First you'll need to make sure that USB pass-through works properly on your host.

Does it work with none of your VMs? (I'm assuming here that all of your problems you post about are not the same VM...)

--
Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
mlevin77
Enthusiast
Enthusiast

There are 2 VMs. One that got munged, and two new ones that I am creating in case I can't get the first one fixed.  One is on the same machine (which is the one I'd like to do a USB migration from) and one is on another machine (where I'm having the VT issue).

> First you'll need to make sure that USB pass-through works properly on your host.

    I've not used these VMs before - where is that setting? thanks!!

Reply
0 Kudos
wila
Immortal
Immortal

USB pass-through is not really a setting per-se, that is, yes it is dependent on some settings, but the default is that it works.
So unless you explicitly removed the virtual USB controller from the VM or changed its default settings, it should work.

It should work when the VM is running. When you plugin a USB disk VMware Fusion pops up a dialog that lets you connect it directly to the VM you want.

--
Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
mlevin77
Enthusiast
Enthusiast

Ok so it wasn't seeing any of my already-attached USB disks. I grabbed another, attached it, and this one it sees. But, even after I've made a TM backup onto it, the Migraiton is failing to acknowledge it has a backup on it 😞

Screen Shot 2021-01-03 at 5.50.57 PM.jpg

Screen Shot 2021-01-03 at 5.51.48 PM.jpg

Reply
0 Kudos