7
votes

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}

5

5 Answers

10
votes

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 . :)

4
votes

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.

2
votes

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.

2
votes

Error message:

Failed to open image 'C:\Windows XP Mode\VirtualXP.VHD' for writing due to wrong permissions

Things to try:

  1. ?? Grant "Full control" permission to the user (properties > security)
  2. ?? Run VirtualBox as administrator
  3. Solution: Unmount the virtual hard disk in your current OS (by clicking on "Eject")

How to unmount the virtual hard disk:

enter image description here

0
votes

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.