virtualbox how to not save changes in hd automatically

This is for discussing general topics about how to use VirtualBox.
Post Reply
patrykmoura
Posts: 7
Joined: 21. Feb 2013, 23:00

virtualbox how to not save changes in hd automatically

Post 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!
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: virtualbox how to not save changes in hd automatically

Post 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?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
patrykmoura
Posts: 7
Joined: 21. Feb 2013, 23:00

Re: virtualbox how to not save changes in hd automatically

Post 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
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: virtualbox how to not save changes in hd automatically

Post by Perryg »

Set the guests drive to immutable.

See http://www.virtualbox.org/manual/ch05.h ... magewrites
patrykmoura
Posts: 7
Joined: 21. Feb 2013, 23:00

Re: virtualbox how to not save changes in hd automatically

Post 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 
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: virtualbox how to not save changes in hd automatically

Post 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.
patrykmoura
Posts: 7
Joined: 21. Feb 2013, 23:00

Re: virtualbox how to not save changes in hd automatically

Post by patrykmoura »

AWESOME!!!

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

That´s AWESOME!!!

Thanks!!!
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: virtualbox how to not save changes in hd automatically

Post by noteirak »

No it won't ask you, it will simply throw away any changes made since you turned the disk to immutable.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
patrykmoura
Posts: 7
Joined: 21. Feb 2013, 23:00

Re: virtualbox how to not save changes in hd automatically

Post by patrykmoura »

oh, and how can I do to save the changes?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: virtualbox how to not save changes in hd automatically

Post 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.
patrykmoura
Posts: 7
Joined: 21. Feb 2013, 23:00

Re: virtualbox how to not save changes in hd automatically

Post by patrykmoura »

oh... ok...
just one more question, cant we have both?

thanks for ur answers man!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: virtualbox how to not save changes in hd automatically

Post by Perryg »

Nope.

You can take a {{cringe}} snap shot but that just sets you up for a failure should you have problems.
patrykmoura
Posts: 7
Joined: 21. Feb 2013, 23:00

Re: virtualbox how to not save changes in hd automatically

Post by patrykmoura »

Ok, just the "immutable" answer, for me was great!

thanks a lot my friend!!!

Topic can be closed!

You guys ROCK!
Post Reply