Reputation: 233
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}
Upvotes: 10
Views: 81119
Reputation: 974
I naivley had the Problem, because the .zip in which the VM was stored was not fully unzipped. I don't know if anyone else is facing this issue when searching for this.
But before doing anything else check if the unpacking progress is actually finished
Upvotes: 1
Reputation: 91
I had the same problem. I solved it by
After that, the virtual machine started as desired.
Upvotes: 0
Reputation: 483
Try the link to move a vdi to another drive - UUID may prevent it from loading
https://www.techrepublic.com/article/how-to-move-virtualbox-vms-from-one-drive-to-another/#:~:text=1%20How%20to%20move%20VirtualBox%20VMs%20from%20one,moved%20your%20VirtualBox%20virtual%20machine...%205%20Also%20see.
Alternatively, clone the image and open the clone.
Upvotes: 0
Reputation: 27
I'm using Ubuntu HOST on MacOS client and having the same problem... I think the file directory on my storage (/mnt/HARDISK) may have some problem...but using the following command can solve
sudo mount -o remount,rw /mnt/HARDDISK
See if it works
#ubuntu
Upvotes: 0
Reputation: 5573
Restarting the VBoxSDS
service did the trick for me.
net stop VBoxSDS
net start VBoxSDS
Upvotes: 1
Reputation: 707
For me with Win 11, giving full control to current user in security tab of .vdi file and then uninstalling and reinstalling VirtualBox, worked.
Reference to the original thread (Solved) VERR_VD_IMAGE_READ_ONLY
Upvotes: 1
Reputation: 18954
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:
Upvotes: 5
Reputation: 455
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 . :)
Upvotes: 13
Reputation: 8513
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.
Upvotes: 1
Reputation: 3742
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.
Upvotes: 3
Reputation: 404
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.
Upvotes: 4