RunningGUILinuxInAVirtualMachineOnAMac

Hi, I ran the demo on Mac M1. It worked fine when i launch it first. But an error will occur since the second start, and the error shows "EFI Boot Options returned. Exiting VM" And we can see the tip "Guest did stop virtual machine."on the terminal. How to fix it?

Regards.

It looks like the EFI's VariableStore may have been corrupted.

In the code sample, the VM's assets are stored in /GUI Linux VM.bundle in the home directory. Within that bundle, the EFI variable store is in the NVRAM file.

Is it possible that the disk was full when the VM was first used? Full disk causes I/O errors in the VM which are rarely recoverable. Is there anything else that could have caused corruption of the files in /GUI Linux VM.bundle?

RunningGUILinuxInAVirtualMachineOnAMac
 
 
Q