AlexanderWillner / runMacOSinVirtualBox

Run macOS 10.16 Big Sur (and other versions) in VirtualBox on macOS
MIT License
937 stars 125 forks source link

VM created and runs ok, but after snapshot or shutdown refuses to restart... #100

Open timjph opened 4 years ago

timjph commented 4 years ago

Created Mojave 10.14.6 VM using "make all" all works fine - was able to login, run apps, update with latest security patches - etc.

However unable to restart VM after quitting Virtual box:

  1. If make a snapshot to save the state, fails to complete restore correctly:

Fails with message:

"Failed to open a session for the virtual machine...

ahci#0: The target VM is missing a device on port 1. Please make sure the source and target VMs have compatible storage configurations [ver=9 pass=final] (VERR_SSM_LOAD_CONFIG_MISMATCH).

  1. if shut the machine down and then try and restart, fails differently:

Drops into UEFI Shell, failing to find a bootable device.

Exiting from UEFI shell an trying to manually attach using 'Boot Maintenance Manager' + 'Boot From File' gives only one option "EFI, [PciRoot (0x0) ..." - selecting and following subdirectories leads to apfs.efi and selecting does nothing.

Best wishes, Tim

timjph commented 4 years ago

p.s. using Virtual Box Version 6.1.4 r136177 (Qt5.6.3)