Virtual drive Read Only
-
wijs
- Posts: 1
- Joined: 29. Jun 2009, 06:52
- Primary OS: MS Windows Vista
- VBox Version: OSE other
- Guest OSses: XP, Backtrack, Gentoo
Virtual drive Read Only
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.
-
baf
- Volunteer
- Posts: 829
- Joined: 27. Sep 2008, 06:18
- Primary OS: Mac OS X Leopard
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: linux,xp,win7
- Location: Luleå or Skellefteå, Sweden
Re: Virtual drive Read Only
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.
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.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
My way: "You live as long as you learn".
-
vuser01
- Posts: 12
- Joined: 31. Aug 2011, 14:12
- Primary OS: openSUSE
- VBox Version: OSE other
- Guest OSses: xp
Re: Virtual drive Read Only
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
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
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Virtual drive Read Only
Your command
vboxmanage modifyhd c:\virtualbox\data\pro\pro.vdi --immutable
Should be
VBoxManage modifyhd c:\virtualbox\data\pro\pro.vdi type --immutable
vboxmanage modifyhd c:\virtualbox\data\pro\pro.vdi --immutable
Should be
VBoxManage modifyhd c:\virtualbox\data\pro\pro.vdi type --immutable
-
vuser01
- Posts: 12
- Joined: 31. Aug 2011, 14:12
- Primary OS: openSUSE
- VBox Version: OSE other
- Guest OSses: xp
Re: Virtual drive Read Only
Thanks Does vbox allow putting the differencing drive on another folder
Which command would tell vbox the differencing drive on another folder?
Which command would tell vbox the differencing drive on another folder?
-
vuser01
- Posts: 12
- Joined: 31. Aug 2011, 14:12
- Primary OS: openSUSE
- VBox Version: OSE other
- Guest OSses: xp
Re: Virtual drive Read Only
The command you suggested have the same error messages
VBoxManage modifyhd c:\virtualbox\data\pro\pro.vdi type --immutable
VBoxManage modifyhd c:\virtualbox\data\pro\pro.vdi type --immutable
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Virtual drive Read Only
@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.
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.
-
vuser01
- Posts: 12
- Joined: 31. Aug 2011, 14:12
- Primary OS: openSUSE
- VBox Version: OSE other
- Guest OSses: xp
Re: Virtual drive Read Only
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
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Virtual drive Read Only
We don't support portable virtualbox they do. Seek support from http://www.vbox.me/