본문 바로가기
DATABASE/ERROR

공유스토리지 구성을 위해 고정 공간추가에러 Progress state: VBOX_E_FILE_ERROR

by YUNZZANG 2024. 1. 30.
728x90
C:\Program Files\Oracle\VirtualBox> vboxmanage createmedium --filename CRS2.vdi --size 1024 --format VDI --variant Fixed
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Failed to create medium
VBoxManage.exe: error: Could not create the medium storage unit 'C:\Program Files\Oracle\VirtualBox\CRS2.vdi'.
VBoxManage.exe: error: VDI: cannot create image 'C:\Program Files\Oracle\VirtualBox\CRS2.vdi' (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 510 of file VBoxManageDisk.cpp
 

 

 

The poster used linux on the host machine. If you came here and use Windows as a host (like me) there is an easy solution to this error. Windows doesn't allow raw disk access if you don't start VirtualBox with administrator priviledges.
 

-> vm관리자권한으로 실행해야한다.

(Window os의 cmd 도 관리자 권한으로 실행)

 

댓글