I have a new(ish) installation of Ubuntu in a VirtualBox, with OSX as a host machine. I was attempting to mount a shared folder into Ubuntu, so typed in the terminal:
sudo mount -t vboxsf VBShare ~/
...or similar, expecting to mount the folder in my home. However, what appears to have happened is that the folder has replaced my home folder, which now just contains the files from the shared folder.
(There is a chance I also tried something like:
sudo mount -t vboxsf VBShare /home/michael/
)
What has happened? Is recovery a possibility? What should I have done instead? I haven't tried a restart yet...