{"issue":{"title":"Failed on OSX 10.6.6","user":{"login":"jimrubenstein","id":187023,"url":"https://api.github.com/users/jimrubenstein","avatar_url":"https://secure.gravatar.com/avatar/57abd59dd9f19b6f9cbd6a7ca7319896?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"57abd59dd9f19b6f9cbd6a7ca7319896"},"created_at":"2011-08-23T13:51:56Z","milestone":null,"labels":[{"name":"bug","url":"https://api.github.com/repos/xdissent/ievms/labels/bug","color":"e10c02"}],"state":"closed","updated_at":"2011-12-27T21:24:00Z","id":1466440,"closed_at":"2011-09-12T16:51:48Z","html_url":"https://github.com/xdissent/ievms/issues/3","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Below is the output after running the `ievsm.sh` script.  (Other output is missing because I'd run it a few times before, and found I needed to upgrade my version of VBox, so I already had some things downloaded.)\r\n\r\nVBox Version: 4.0.12 r72916\r\n\r\nthanks!\r\n\r\n```\r\nAdministrators-iMac-2:HardDisks Admin$ curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash\r\nChecking for VirtualBox\r\nChecking for Oracle VM VirtualBox Extension Pack\r\nPack no. 0:   Oracle VM VirtualBox Extension Pack\r\nBuilding IE7 VM\r\nChecking for existing VHD at /Users/Admin/.ievms/vhd/IE7/Windows Vista.vhd\r\nChecking for existing IE7 VM\r\nVBoxManage: error: Could not find a registered machine named 'IE7'\r\nVBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports\r\nContext: \"FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())\" at line 2158 of file VBoxManageInfo.cpp\r\nCreating IE7 VM\r\nVirtual machine 'IE7' is created and registered.\r\nUUID: af538717-e19b-49c3-b135-1af50796dfc8\r\nSettings file: '/Users/Admin/VirtualBox VMs/IE7/IE7.vbox'\r\nOracle VM VirtualBox Command Line Management Interface Version 4.0.12\r\n(C) 2005-2011 Oracle Corporation\r\nAll rights reserved.\r\n\r\nUsage:\r\n\r\nVBoxManage storageattach    <uuid|vmname>\r\n                            --storagectl <name>\r\n                            [--port <number>]\r\n                            [--device <number>]\r\n                            [--type dvddrive|hdd|fdd]\r\n                            [--medium none|emptydrive|\r\n                                      <uuid>|<filename>|host:<drive>|iscsi]\r\n                            [--mtype normal|writethrough|immutable|shareable|\r\n                                     readonly|multiattach]\r\n                            [--comment <text>]\r\n                            [--passthrough on|off]\r\n                            [--bandwidthgroup <name>]\r\n                            [--forceunmount]\r\n                            [--server <name>|<ip>]\r\n                            [--target <target>]\r\n                            [--tport <port>]\r\n                            [--lun <lun>]\r\n                            [--encodedlun <lun>]\r\n                            [--username <username>]\r\n                            [--password <password>]\r\n                            [--intnet]\r\n\r\nVBoxManage: error: Unknown option: --setuuid\r\n```\r\n","number":3,"url":"https://api.github.com/repos/xdissent/ievms/issues/3","comments":9,"assignee":null},"comment":{"user":{"login":"darKoram","id":1191179,"url":"https://api.github.com/users/darKoram","avatar_url":"https://secure.gravatar.com/avatar/1547988621daaa29a1edabbba6c97be1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1547988621daaa29a1edabbba6c97be1"},"created_at":"2011-12-27T21:24:00Z","updated_at":"2011-12-27T21:24:00Z","id":3285374,"body":"Found the answer on the vitrualbox.org forums\r\n\r\nI had this problem too. \r\nThe answer might be the user you are running VBoxManage as. \r\nIf I run VBoxManage as root (or via sudo) it only knows about virtual machines registered as root. \r\nYou need to run it as the same user who created the virtual machines.\r\n\r\nI was running with sudo because I thought i might be having usb problems due to permissions issues.\r\nHowever, running as sudo means VBoxManage doesn't find vm's installed by me as a regular user.\r\n\r\nI'd still say there's a bug there in the error message:\r\nit should mention permissions and give a hint about vm's installed as root vs user when trying to launch with sudo.\r\n\r\nkesten","url":"https://api.github.com/repos/xdissent/ievms/issues/comments/3285374"},"action":"created"}