Problem saving documents on vm!

This is for discussing general topics about how to use VirtualBox.
Post Reply
opendoor
Posts: 3
Joined: 20. Aug 2009, 23:03
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: ubuntu, xp

Problem saving documents on vm!

Post by opendoor »

Hi!

I have Windows vista, installed virtual box, and xp and ubuntu as guests, when i use vm with ubuntu
and lets say, create a folder on desktop, and then i shut it down, and then i start it again the folder is not saved.
What settings do i have to change so that i dont have to lose everything once i turned of the vm??

Thanks!

ModEdit: 1 post is enough.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Problem saving documents on vm!

Post by Sasquatch »

Check how the VDI is attached. If you attached it using the command prompt, it might be added as immutable, which clears all changes when the VM is shut down. There isn't any other reason why files would suddenly disappear.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
opendoor
Posts: 3
Joined: 20. Aug 2009, 23:03
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: ubuntu, xp

Re: Problem saving documents on vm!

Post by opendoor »

Hi I checked it, it seems to be fine. Plus, in VirtualBox i installed one vm with ubuntu and one with xp,
i saved a file on xp on the desktop, shut it down, restarted again, and the file was still there. The problem
is only with ubuntu, any ideas?

Thanks!
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Problem saving documents on vm!

Post by Sasquatch »

Make some changes to your settings inside the Linux VM. Create a document in your home folder (not just the desktop, even though that folder resides on your home folder), you can use the touch command for that (touch ~/test). Then reboot the Guest. If you still see the changes and files, then that's one good thing. Shut down the Guest and start it again, doing a virtual power cycle. The files and changes should still be there and if they aren't, then changes aren't written to disk somehow.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
opendoor
Posts: 3
Joined: 20. Aug 2009, 23:03
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: ubuntu, xp

Re: Problem saving documents on vm!

Post by opendoor »

Thanks!
I checked each setting from virtual machine and noticed that i forgot to remove the ISO, :oops: ....
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Problem saving documents on vm!

Post by Sasquatch »

I would guess that you see that when you start the VM, wouldn't you? It's so obvious, the entire boot menu is different.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply