VirtualBox

Ticket #11307 (new defect)

Opened 16 months ago

Last modified 8 months ago

vboxmanager CO_E_SERVER_EXEC_FAILURE on raw disk create

Reported by: Trent Owned by:
Priority: major Component: virtual disk
Version: VirtualBox 4.2.6 Keywords:
Cc: Guest type: Linux
Host type: Windows

Description

I have the latest stable virtual box. I am using Windows 7 Home Premium.

When I try and create a new raw disk vmdk, I get the error listed at the bottom of this message. After some googling, I found the issue at https://www.virtualbox.org/ticket/630. And seeing my error was similar, I figured I'd remove my French Canadian keyboard, to see what would happen. Sure enough, it immediately worked. I was then unable to reproduce it. However, it came up again, and I removed my French Canadian keyboard to fix it.

You'll notice I got the error twice in a row, and then I removed the keyboard, and the third message is success.

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe internalcommands createrawvmdk -filename K:\VirtualBox\UbuntuLocalHome.vmdk -rawdi sk
.\PhysicalDrive2 VBoxManage.exe: error: Failed to create the VirtualBox object! VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) - Server execution failed (extended info not available) VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or failed to start.

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe internalcommands createrawvmdk -filename K:\VirtualBox\UbuntuLocalHome.vmdk -rawdi sk
.\PhysicalDrive2 VBoxManage.exe: error: Failed to create the VirtualBox object! VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) - Server execution failed (extended info not available) VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or failed to start.

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe internalcommands createrawvmdk -filename K:\VirtualBox\UbuntuLocalHome.vmdk -rawdi sk
.\PhysicalDrive2 RAW host disk access VMDK file K:\VirtualBox\UbuntuLocalHome.vmdk created successfully.

Change History

comment:1 Changed 15 months ago by frank

So this error happens only if you have attached your French Canadian keyboard to the host, is that right?

comment:2 Changed 15 months ago by wvdschel

I've just verified the same with a Belgian keyboard (similar to French layout). Worked fine after unplugging my USB keyboard. My system was running Windows 8.

My keyboard layout is US, and my internal laptop keyboard is also a Belgian one.

comment:3 Changed 14 months ago by munsingh

I am also having a similar issue, I was trying to create a raw disk based on my USB drive.

comment:4 Changed 14 months ago by munsingh

Finally I figured out, I was missing the quotes on the value provided to the -rawdisk switch.

I was entering the command like:

VBoxManage.exe internalcommands createrawvmdk -filename "%USERPROFILE%\.VirtualBox\disk.vmdk" -rawdisk
.\PhysicalDrive1

However the correct way to issue the command is
VBoxManage.exe internalcommands createrawvmdk -filename "%USERPROFILE%\.VirtualBox\disk.vmdk" -rawdisk "
.\PhysicalDrive1"

and by the way the above command should be executed as an administrator and for adding the created disk, VirtualBox should also be started as an administrator otherwise you will get a access denied message.

comment:5 Changed 12 months ago by MarkHH

I can report the same issue - Windows 7 Home Premium is the host. Arch Linux is to be the guest.

I discovered that if I move the xml file %USERPROFILE%\.VirtualBox\VirtualBox aside, the command runs fine.

comment:6 Changed 10 months ago by Thorarin

I got the same error message with VirtualBox 4.2.14 on a Windows 7 host.

Some things you can try to resolve this issue:

  • Execute the command from a command prompt running with Administrator privileges (UAC)
  • Before executing the command, run "Oracle VM VirtualBox Manager" (the GUI) also with Administrator privileges. Keep it open.

Then, the syntax for me was slightly different:

VBoxManage internalcommands createrawvmdk -filename "C:\Disk0.vmdk" -rawdisk \\.\PhysicalDrive0

Note the prefix to the physical drive argument.

comment:7 Changed 8 months ago by sbos61

These two suggestions helped me to solve the same problem: 1- Execute[ the command from a command prompt running with Administrator privileges (UAC) 2- Run "Oracle VM VirtualBox Manager" (the GUI) also with Administrat]or privileges. Keep it open.

Thank you guys

comment:8 Changed 8 months ago by Saeljfkklhen

I had the same problem. Unfortunately none of the fixes listed here were able to remedy the situation.

Re-running the application installer package as an administrator and selecting to repair my installation did, however, fix the problem.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use