lucyllewy / macOS-Linux-VM-with-Rosetta

309 stars 27 forks source link

Failed to create VM with error: Failed to retrieve the machine identifier data. #16

Open Entropy-xcy opened 2 years ago

Entropy-xcy commented 2 years ago
image

I just downloaded the release file and got this error:

Failed to create VM with error: Failed to retrieve the machine identifier data.

OS: macOS Ventura Version 13.0 Beta (22A5321d)

lambourg commented 1 year ago

Same error here...

lambourg commented 1 year ago

The issue seems to arise if you open RosettaVM and then close it without indicating an installation ISO. To fix it you need to go to ~/Library/Containers and remove the com.diddledani.RosettaVM folder (the sandbox of the RosettaVM application)

reibenedict commented 1 year ago

Hi, i dont see the any "com.diddledani.Rosettavm" folder in my computer so how to solve it, still crash thank you

jmutawa commented 1 year ago

In my case, the problem was that the code tries to generate a 64GB disk image for the VM installation, which my machine didn't have enough space for.

Reducing the amount solved the problem (line 101 in AppDelegate.swift): try mainDiskFileHandle.truncate(atOffset: 64 * 1024 * 1024 * 1024)

Regards, Jalal Almutawa