I had tried to install an OS named Veos with virtual box ,but when I had finished the installation ,I can not open the wirtual machine Veos ,and I had this output: Failed to open image 'C:\Users\Takfarinas\VirtualBox VMs\AristaFiles\vEOS-lab-4.16.6M.vmdk' for writing due to wrong permissions (VERR_VD_IMAGE_READ_ONLY). Failed to attach driver below us! Image is read-only. (VERR_VD_IMAGE_READ_ONLY). PIIX3 cannot attach drive to the Primary Master (VERR_VD_IMAGE_READ_ONLY).
Code d'erreur : E_FAIL (0x80004005) Composant : ConsoleWrap Interface : IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Right click on the .vdi file . Click on properties . Just uncheck Read only . And start VirtualBox with administrator priviligies. This done the trick for me . :)
It seems you use Windows OS, as Host OS. Try to run Virtualbox as Administrator. Right click on Virtualbox ICON and "run as Administrator". Or change the rights of Virtualbox. Hope it helps.
Error message:
Failed to open image 'C:\Windows XP Mode\VirtualXP.VHD' for writing due to wrong permissions
Things to try:
How to unmount the virtual hard disk:
I have suffered from the same problem recently. I changed the permissions of my visual disk image.Then It works.
1.Right click your .vdi file.
2.Select property item in the popup menu.
3.Swith to security tab.Select users then click Edit button.
4.Check on full control.
This happens on our work airgap machine when someone forgets to shut down the virtual machine at the end of their session. Restarting the machine resolves the issue, for me.
User contributions licensed under CC BY-SA 3.0