
On Sat, 2013-03-30 at 17:52 +1100, Jason White wrote:
Andrew Greig <pushin.linux@gmail.com> wrote:
I have loaded Virtual Box under Gnome on a SuSe 12.3 64 bit system. On trying to add a VM, I get this error : Could not add the VM. This parameter must be a string or Unicode object.
I have added myself to the vboxusers group.
Are there any other gotchas? That I need to fix to get this to work?
Could you try it from the shell prompt? Apparently, the command line interface to VirtualBox is very comprehensive. (I haven't used it; my experience is with KVM/Qemu).
This way at least you'll be directly providing the needed parameters.
Hi Jason, Thanks for that. I googled for CLI and found this article http://www.linux-mag.com/id/7673/ so I started and this is where I got to, andrewg@linux-wvs7:/usr/bin> /usr/bin/VBoxManage createvm --name Win7 Virtual machine 'Win7' is created. UUID: 8a0c7a74-ef03-49dc-b9eb-1e3ebeb8e512 Settings file: '/home/andrewg/VirtualBox VMs/Win7/Win7.vbox' andrewg@linux-wvs7:/usr/bin> /usr/bin/VBoxManage createhd --filename Win7.vdi --size 20000 --variant Fixed 0%... Progress state: VBOX_E_FILE_ERROR VBoxManage: error: Failed to create hard disk VBoxManage: error: Could not create the medium storage unit '/usr/bin/Win7.vdi'. VBoxManage: error: VDI: cannot create image '/usr/bin/Win7.vdi' (VERR_ACCESS_DENIED) VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium VBoxManage: error: Context: "int handleCreateHardDisk(HandlerArg*)" at line 382 of file VBoxManageDisk.cpp andrewg@linux-wvs7:/usr/bin> I understand why a user cannot create a file in /usr. What I don't understand is why vbox is trying to create the hd in /usr instead of in my home dir Thanks Andrew Greig