Page 1 of 1

virtualbox how to not save changes in hd automatically

Posted: 21. Feb 2013, 23:02
by patrykmoura
Guys,
first of all, id like to thank this awesome softer!

But ive got a doubt... i used to create vms via Virtual PC, and id like to know if there´s an option on VIrtualBox, that lemme decide if I wanna save changes in the hdd or not?

THanks

Cya!

Re: virtualbox how to not save changes in hd automatically

Posted: 21. Feb 2013, 23:09
by noteirak
What do you mean by "save changes in the hdd"? I have to admit I don't understand what you are refering to.
Can you explain what you were able to do in Virtual PC that you want to reproduce here?

Re: virtualbox how to not save changes in hd automatically

Posted: 21. Feb 2013, 23:37
by patrykmoura
oh yeah, sorry...

like, im a developer, and im doin several tests with my aplication, in diff OS´...
I like to, for example, install my app in the Virtual Box VM, but, when I close my session, i dont wanna the changes to be saved automatically, so i can install my app again and test all over again, whenever i want...

virtual pc does that, but it doesnt support windows 8... funny, cuz it s a microsoft product that doesnt support its own product! I know i know they have discontinued the VIrtual pc... but, still funny heheh

Re: virtualbox how to not save changes in hd automatically

Posted: 22. Feb 2013, 01:12
by Perryg
Set the guests drive to immutable.

See http://www.virtualbox.org/manual/ch05.h ... magewrites

Re: virtualbox how to not save changes in hd automatically

Posted: 22. Feb 2013, 01:28
by patrykmoura
do I need to re-create te disk?
can u gimme a sample if not, pls?
 Edit:  i cant see this option in settings->storage or in anywhere =/
Im using VBox 4.2.6 r8 for windows...
And im running windows 8, in my station and on VM.

tks 

Re: virtualbox how to not save changes in hd automatically

Posted: 22. Feb 2013, 01:53
by Perryg
Use your VirtualBox main manager. Click file then virtual Media manager. Under the HDD find your guest VDI and the click modify. There you will find the setting you are looking for.

Note: guest needs to be shut down (not saved state) and I would think a backup would be in order.

You can also do this with VBoxManage and this is explained in your VirtualBox users manual.

Re: virtualbox how to not save changes in hd automatically

Posted: 22. Feb 2013, 01:59
by patrykmoura
AWESOME!!!

Now will I be ask if I wanna to save changes after I shutdown the machine, right?

That´s AWESOME!!!

Thanks!!!

Re: virtualbox how to not save changes in hd automatically

Posted: 22. Feb 2013, 02:02
by noteirak
No it won't ask you, it will simply throw away any changes made since you turned the disk to immutable.

Re: virtualbox how to not save changes in hd automatically

Posted: 22. Feb 2013, 02:48
by patrykmoura
oh, and how can I do to save the changes?

Re: virtualbox how to not save changes in hd automatically

Posted: 22. Feb 2013, 02:56
by Perryg
Switch back to standard. You can not save any changes until you switch back, so it is a one off until you reboot.

Re: virtualbox how to not save changes in hd automatically

Posted: 22. Feb 2013, 05:14
by patrykmoura
oh... ok...
just one more question, cant we have both?

thanks for ur answers man!

Re: virtualbox how to not save changes in hd automatically

Posted: 22. Feb 2013, 05:22
by Perryg
Nope.

You can take a {{cringe}} snap shot but that just sets you up for a failure should you have problems.

Re: virtualbox how to not save changes in hd automatically

Posted: 22. Feb 2013, 05:34
by patrykmoura
Ok, just the "immutable" answer, for me was great!

thanks a lot my friend!!!

Topic can be closed!

You guys ROCK!