I am running virtualBox on Ubuntu 16.04
When I was in command line input:sudo VBoxManage storageattach Windows7 --storagectl SATA --port 0 --device 0 --type hdd --medium "/home/luxixian/WIN7_X64_2017.iso"
the log show me this:
VBoxManage: error: Could not find a registered machine named 'Windows7'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 325 of file VBoxManageStorageController.cpp
who can help me ? thank you very much.
who ! can ! help ! me !
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: who ! can ! help ! me !
The error ( Could not find a registered machine named 'Windows7' ) is a basic as it gets. There is no guest called Windows7 registered. Is the host a server with no GUI?
Type VBoxManage list vms in a terminal to see if one exists and what it is actually called.
Type VBoxManage list vms in a terminal to see if one exists and what it is actually called.
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: who ! can ! help ! me !
Also don't run VBoxManage with 'sudo', it needs to run with your normal user rights. The root user doesn't have your virtual machines.