Open FabianRoger opened 3 years ago
Hi,
I am trying to install Singularity on a Macbook Pro M1 MacOS BigSur 11.4. I tried downloading VirtualBox 5.2 but it crashes. And when I did successfully installed the latest versions of VirtualBox and Vagrant and run vagrant up, I get an error message.
This is the vagrant script: "export VM=sylabs/singularity-3.5-ubuntu-bionic64 && vagrant init $VM && vagrant up && vagrant ssh"
The error message is: There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "d3126691-9ee2-4e61-a838-c0d784eba7c0", "--type", "headless"]
Stderr: VBoxManage: error: The virtual machine 'vm-singularity_default_1622454996768_88432' has terminated unexpectedly during startup with exit code 1 (0x1) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
I found a lot of suggestions to uninstall and reinstall, which I already did, but is not working. The "Allow...Oracle" message that suppose to pop up in the system preference is not showing, too.
Could you please help me? Thank you!
Best regards, Joyce
I just wanted to document some issues i ran into when following the installation instructions (on my personal macbook)
1) make sure to run everything as root
after you open the shell, type
sudo -i
and enter your passwordsee https://stackoverflow.com/a/31711279/1183277
2) If you follow the instruction to install vagrant https://singularity.lbl.gov/install-mac
note that
must now be typed as
see https://stackoverflow.com/a/66081492
3) when you run
vagrant init singularityware/singularity-2.4
it will failYou need to go to Sytem preferences > Security & Privacy. Some Oracle thing will be there and you need to allow it and restart
(However, I think just must let it fail for the option to appear, but not sure)
see https://github.com/hashicorp/vagrant/issues/12049#issuecomment-728167674
After I troubleshooted these steps above, I managed to install vagrant. However see also #6 (correct path to image)