Giter Club home page Giter Club logo

Comments (9)

xdissent avatar xdissent commented on June 15, 2024

It looks like the setuuid option might have been added in VirtualBox 4.1. I'll figure out what the 4.0.12 equivalent is and modify the command based on whichever version is installed. Thanks for the bug report!

from ievms.

tjarratt avatar tjarratt commented on June 15, 2024

Looks like the option was previously --uuid.

from ievms.

xdissent avatar xdissent commented on June 15, 2024

You know, the setuuid bit is really only there to prevent an error if someone already has the MS VMs installed in Virtualbox. If you try to install multiple instances of the same VM image, Virtualbox will complain about duplicate UUIDs. So while I'm debating whether to remove the UUID handling altogether, you can simply comment out --setuuid "" to avoid the error with no ill effect.

from ievms.

Bastes avatar Bastes commented on June 15, 2024

Same problem using Ubuntu 11.04

from ievms.

xdissent avatar xdissent commented on June 15, 2024

Hey Michel, thanks for reminding me about this bug. I tested the uuids branch this weekend and it seemed to do the trick for versions of VirtualBox that don't include the --setuuid option. Note that a bug may still exist related to extension packs under Ubuntu when using older versions of VirtualBox. Check the linux-extpacks branch for a fix that I'll roll out soon.

from ievms.

sprankhub avatar sprankhub commented on June 15, 2024

Unfortunately, on Ubuntu 11.10 and VirtualBox 4.1.6, I still get this error:

Checking for existing IE7 VM
VBoxManage: error: Could not find a registered machine named 'IE7'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())" at line 2333 of file VBoxManageInfo.cpp
Creating IE7 VM
VBoxManage: error: Machine settings file '/home/simon/VirtualBox VMs/IE7/IE7.vbox' already exists
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Machine, interface IMachine, callee nsISupports
Context: "CreateMachine(bstrSettingsFile.raw(), name.raw(), osTypeId.raw(), Guid(id).toUtf16().raw(), FALSE , machine.asOutParam())" at line 249 of file VBoxManageMisc.cpp

Does anybody know how to fix this? Thank you in advance!

from ievms.

darKoram avatar darKoram commented on June 15, 2024

Yup, this bug is still there as of 11.10 and VBox 4.1.8

VBoxManage -v

4.1.8r75467

I tried starting the vm using name and then uuid, both failed.

sudo VBoxManage startvm winxp
VBoxManage: error: Could not find a registered machine named 'winxp'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "FindMachine(Bstr(pszVM).raw(), machine.asOutParam())" at line 544 of file VBoxManageMisc.cpp
kesten@kesten-K42Jr:~$ sudo VBoxManage startvm 0ddcecdc-137d-4498-bbc6-6190b469e3b8
VBoxManage: error: Could not find a registered machine with UUID {0ddcecdc-137d-4498-bbc6-6190b469e3b8}
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "FindMachine(Bstr(pszVM).raw(), machine.asOutParam())" at line 544 of file VBoxManageMisc.cpp

winxp is in ~/VirtualBox VMs/

from ievms.

xdissent avatar xdissent commented on June 15, 2024

"winxp" wouldn't be the name of an ievms-created VM. Not sure what's going on there. However, I do need to spin up another bootable Ubuntu 11.10 partition to confirm that issue is still closed.

from ievms.

darKoram avatar darKoram commented on June 15, 2024

Found the answer on the vitrualbox.org forums

I had this problem too.
The answer might be the user you are running VBoxManage as.
If I run VBoxManage as root (or via sudo) it only knows about virtual machines registered as root.
You need to run it as the same user who created the virtual machines.

I was running with sudo because I thought i might be having usb problems due to permissions issues.
However, running as sudo means VBoxManage doesn't find vm's installed by me as a regular user.

I'd still say there's a bug there in the error message:
it should mention permissions and give a hint about vm's installed as root vs user when trying to launch with sudo.

kesten

from ievms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.