Page 1 of 1

Virtual drive Read Only

Posted: 29. Jun 2009, 06:55
by wijs
Is there a way I can make my virtual drive image read only so no matter what I change, when I restart it it will be the same? I've tried making the file read only but it doesn't seem to work.

Re: Virtual drive Read Only

Posted: 29. Jun 2009, 08:49
by baf
VBoxManage modifyhd <uuid>|<filename> --type immutable

From the manual: chapter 5.3
2. By contrast, immutable images only remember write accesses temporarily while
the virtual machine is running; all changes are lost when the virtual machine is
closed.

Re: Virtual drive Read Only

Posted: 1. Sep 2011, 11:17
by vuser01
what is the erroer about using vbox manage modifyhd immutable?

fail to create object
code e no interface
vbox com server not running

type vboxmanage modifyhd c:\virtualbox\data\pro\pro.vdi --immutable

but have the error

Re: Virtual drive Read Only

Posted: 1. Sep 2011, 14:19
by Perryg
Your command
vboxmanage modifyhd c:\virtualbox\data\pro\pro.vdi --immutable
Should be
VBoxManage modifyhd c:\virtualbox\data\pro\pro.vdi type --immutable

Re: Virtual drive Read Only

Posted: 1. Sep 2011, 14:30
by vuser01
Thanks Does vbox allow putting the differencing drive on another folder

Which command would tell vbox the differencing drive on another folder?

Re: Virtual drive Read Only

Posted: 1. Sep 2011, 20:18
by vuser01
The command you suggested have the same error messages

VBoxManage modifyhd c:\virtualbox\data\pro\pro.vdi type --immutable

Re: Virtual drive Read Only

Posted: 1. Sep 2011, 21:07
by Perryg
@vuser01,

What is your host and what is the absolute path to the file?
If this is openSUSE as your profile says then you do not have a C drive.

Re: Virtual drive Read Only

Posted: 2. Sep 2011, 11:01
by vuser01
Using xp and the virtualbox is a portable one and the pro.vdi is store on the folder of the portable vbox on pro folder

Re: Virtual drive Read Only

Posted: 2. Sep 2011, 14:00
by Perryg
We don't support portable virtualbox they do. Seek support from http://www.vbox.me/