I had setup a raw disk to boot from usb drives which was working fine. About a month ago I upgraded Virtualbox version and now the vm is not starting anymore and shows 'not acessible' in the Gui at the raw disk file.
I start VB with admin rights and also gave full control on the raw disk file to everyone. Diisk management says the disk is healthy.
Reboot also does not solve it.
Is it possible that the update broke this setup in a way?
I read other topics with this error, but could not find a solution except the one with diskpart.
Error when trying to boot the vm:
Error when trying to setup the raw disk again with vboxmanage:0:00:12.740763 Power up failed (vrc=VINF_SUCCESS, rc=E_FAIL (0X80004005))
00:00:12.757506 GUI: UIMachineViewNormal::resendSizeHint: Restoring guest size-hint for screen 0 to 1896x949
00:00:12.757581 ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={The console is not powered up (Display::setVideoModeHint)}, preserve=false aResultDetail=0
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands createrawvmdk -filename c:\usb.vmdk -rawdisk \\.\PhysicalDrive1
The 'createrawvdk' subcommand is deprecated. The equivalent functionality is
available using the 'VBoxManage createmedium' command and should be used
instead. See 'VBoxManage help createmedium' for details.
0%...VBOX_E_FILE_ERROR
VBoxManage.exe: error: Failed to create medium
VBoxManage.exe: error: Could not create the medium storage unit 'C:\usb.vmdk'.
VBoxManage.exe: error: VMDK: Image path: 'C:\usb.vmdk'. Failed to open the raw drive '\\.\PhysicalDrive1' for reading (VERR_ACCESS_DENIED) (VERR_ACCESS_DENIED).
VBoxManage.exe: error: VMDK: could not create raw descriptor for 'C:\usb.vmdk' (VERR_ACCESS_DENIED)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreateMedium(struct HandlerArg *)" at line 634 of file VBoxManageDisk.cpp