Sunday, May 3, 2020

Mojave VM in Catalina

I just upgraded to Mac OS Catalina and see that my 32-bit applications are no longer supported.

I have decided to create a Mojave Virtual Machine to be able to run the 32-bit applications.

Ironically, my VirtualBox application was 32-bit! I downloaded a new, 64-bit version.

I followed the steps at https://techsviewer.com/install-macos-10-14-mojave-virtualbox-windows/ to create a Mojave ISO image.

The same site has instructions for creating the virtual machine on Windows, but I want it on Mac. The first few steps can be easily modified for Mojave, 64-bit MacOS. Follow the steps until you are asked to edit the settings after the virtual machine is created. They did not work on Mac. I picked up the steps after the settings were changed and the command line actions were done.

I found a separate site that just had me start the vm after it is created. I was prompted for the ISO I created. The process continued to the recovery screen for OS. I clicked Install OS. The Mojave image was found and then I was able to follow the normal installation for Mojave.

Open VirtualBox and click New.


Proved details for virtual machine (VM), then click Continue.


Specify memory size of 2G.


Specify size of hard drive. Suggested 20GB is too small. Trying 100 GB. Click Create.


Review settings and click Start.


 Select ISO image for mojave and click Start.


Select language and click arrow.


Select Disk Utility from the recovery screen.


Select the VBOX HARDDISK and click Erase in order to format the drive.


Create a volume name, choose Mac OS Extended and GUID partition. The GUID is needed for a bootable disk. Click Create.


Drive is created. Click Done.


Quit Disk Utility from the File menu and select Install macOS from the recovery menu.


The mojave.iso file will be used automatically to install OS. Click Continue.


Accept the license by clicking Agree.


Confirm agreement by clicking Agree.


Select the hard drive created earlier and click Install.


Progress is shown.


After a while, the Apple logo will appear.


Something went wrong.


Shut down machine and restarted. Slow progress at the Apple logo. This is the first Apple logo before the recovery menu appears.



Recreated another VM with same parameters. I made it to recovery menu, erased drive, and started install. Reached the second Apple screen. Freezes with 16 minutes remaining.


I found a page for getting stuck at 16 minutes: https://forums.virtualbox.org/viewtopic.php?f=22&t=94495. One recommendation is to set CPUs to 2 and not 4. I had it set for 4 the first time and 1 the second time. Setting it to 2 let me get to the 6 minute mark.


Still waiting... 2 minutes remaining... less than a minute.


Next came a reboot and sucess!


Finished setup, but the desktop is too small.


I installed the VirtualBox extension pack from https://www.virtualbox.org/wiki/Downloads.

In the preferences for virtual box, I set the display scale to 200%. macOS does not have guest extensions. https://forums.virtualbox.org/viewtopic.php?f=8&t=91128

Next was to set up a shared folder. Guest extensions are not available for macOS. Instead, share a folder from Sharing in System Preferences. I followed these instructions to share a folder: https://techsupport.screenplay.com/hc/en-us/articles/360035782711-Creating-a-Shared-Folder-between-your-Mac-running-Catalina-and-a-Virtual-Machine


I created a folder containing my 32-bit apps and shared it.


The important information is the smb URL. That will be used to connect to shared folder from VM. In the VM, open Finder and select Connect to Server from the Go menu.

Enter the smb url.


Select the volumes to mount.


I have a folder containing the 32-bit software that does not run in Catalina, but runs in the Mojave VM.


Some of my apps were so old that they could not run on Mojave! I will abandon them instead of installing another, older macOS VM.














No comments:

Post a Comment

Followers