myspaghetti / macos-virtualbox

Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox on x86 CPUs for Windows, Linux, and macOS
GNU General Public License v2.0
13.51k stars 1.12k forks source link

Script does not work anymore #591

Closed leoheck closed 2 years ago

leoheck commented 2 years ago

I was trying to run the script multiple times, to test things. Now I am getting this. Even after restarting the computer. Do you have any idea how to fix this?

stage: configure_vm

Error: Could not configure virtual machine "macOS".
If the VM is powered on, power off the virtual machine and resume the script or
execute the stage configure_vm

Exiting.
leoheck commented 2 years ago

I changed some parameters too. Maybe they are the issue. image

myspaghetti commented 2 years ago

Probably a duplicate of #590 , I will investigate but probably not in the near future, sorry.

leoheck commented 2 years ago

No problem. My version of the script is the latest version you are referring to there.

leoheck commented 2 years ago

Registering the version of Virtualbox I am using.

Oracle VM VirtualBox VM Selector v6.1.32_Ubuntu
leoheck commented 2 years ago

The issue is this one

VBoxManage: error: Invalid parameter 'Core'

When I am forcing another cpu-profile with this flag

--cpu-profile "Intel Core i7-6700K"

On this command here

VBoxManage modifyvm "${vm_name}" --cpus "${cpu_count}"...
Masamune3210 commented 2 years ago

You are missing a closing quotation, so the script is trying to take the Core in Intel Core as an argument

leoheck commented 2 years ago

Ah, yeah. Good catch, however, the issue was only here which I am fixing, on my script, it is/was ok. It is not working with variables yet.