[Resolved] Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
Posted: 8. Feb 2019, 17:55
Hello, all! This is my first post here, and I'd like to note that I've searched this problem for a few hours, coming across mostly "Vagrant" related posts/solutions. Nothing has quite been what I need. With that said, I apologize if this same issue has been solved here. I did attempt to search different keywords from my error, but I didn't run into anything that was what I needed.
I'm attempting to install a virtual machine via SSH on a server using VBoxManage. The server is running Ubuntu 18.10. The goal is to set this up completely via SSH, so that in the future, I can do this on a server without any sort of GUI. So, let's just pretend I don't have physical access to this server to use the qt virtual box package.
VDI Image being used from: osboxes centos-7-1804-vbox (no link allowed on first post ¯\_(ツ)_/¯ )
$ id reflects that the current user IS in vboxusers
Here's what I've done so far:
I'm really not sure where I should be searching next. I'm thinking that there are probably some necessary settings that I'm missing. Would anyone mind pointing me in the right direction? Thanks in advance!
I'm attempting to install a virtual machine via SSH on a server using VBoxManage. The server is running Ubuntu 18.10. The goal is to set this up completely via SSH, so that in the future, I can do this on a server without any sort of GUI. So, let's just pretend I don't have physical access to this server to use the qt virtual box package.
VDI Image being used from: osboxes centos-7-1804-vbox (no link allowed on first post ¯\_(ツ)_/¯ )
Code: Select all
$ vboxmanage -version
6.0.4r128413Here's what I've done so far:
Code: Select all
$ VBoxManage createvm --name "CentOS7" --ostype Linux_64 --register
$ VBoxManage storagectl CentOS7 --name SATA --add sata --controller IntelAhci --bootable on --hostiocache off
$ VBoxManage storageattach CentOS7 --storagectl SATA --port 0 --device 0 --type hdd --medium '/path/to/VirtualBox VMs/CentOS7/centos7.vdi'
$ VBoxManage modifyvm CentOS7 --memory 10240 --cpus 2 --chipset piix3
$ VBoxManage startvm CentOS7 --type headless
Waiting for VM "CentOS7" to power on...
VBoxManage: error: The virtual machine 'CentOS7' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine