VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2.
Presently, VirtualBox runs on Windows, Linux, Macintosh, and Solaris hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7), DOS/Windows 3.x, Linux (2.4 and 2.6), Solaris and OpenSolaris, OS/2, and OpenBSD.
When you run two operating systems you may required to share files/folders between host and guests, virtual box comes with an option to share files and folders between host and guest, for this you need to install Virtual box guest additional software on your guest OS, you can do this by using virtual box menu (Devices → Install Guest additional), once this is done, do the following ....
From the VirtualBox's menu, go to Devices → Shared Folders, add the folders of the host operating system that you would like to share with the guest operating system (Windows7 in this example). When done click Ok.
Now, Login into guest system (Ubuntu), open a terminal and type in the following commands
Now the shared folder (VirtualMachine) would be accessible to both host and guest operating system in read & write mode.
Presently, VirtualBox runs on Windows, Linux, Macintosh, and Solaris hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7), DOS/Windows 3.x, Linux (2.4 and 2.6), Solaris and OpenSolaris, OS/2, and OpenBSD.
When you run two operating systems you may required to share files/folders between host and guests, virtual box comes with an option to share files and folders between host and guest, for this you need to install Virtual box guest additional software on your guest OS, you can do this by using virtual box menu (Devices → Install Guest additional), once this is done, do the following ....
From the VirtualBox's menu, go to Devices → Shared Folders, add the folders of the host operating system that you would like to share with the guest operating system (Windows7 in this example). When done click Ok.
Now, Login into guest system (Ubuntu), open a terminal and type in the following commands
sudo mkdir /mnt/share
sudo mount.vboxsf VirtualMachine /mnt/share
Now the shared folder (VirtualMachine) would be accessible to both host and guest operating system in read & write mode.
5 comments:
Hi, I liked your post, I use VmWare instead of Virtual Box. Please tell the process to do this in vmware , Thanks.
i am always using VirtualBox. hey, Estaben, just google try "how to use virtualbox".
Great !
After many unsuccessfull researches and tentatives, this one worked.
Many thanks.
A minor and a major problem.
Minor problem. Ubuntu 12.10 seems to want -t before the vboxsf.
Major problem: I get "No such device"
I have a line in the VirtualBox Settings showing Machine name Users, folder C:/Users
I have/mnt/share, owned by root, group root.
I attempt sudo mount -t vboxsf Users /mnt/share
and get "No such device".
Any suggestions?
Thank you.
I had the same "No such device" Problem. I didn't pay attention but while installing the "Virtualbox guest additions" the "sudo ./VBoxLinuxAdditions.run" failed because I didn't update Ubuntu first (I then updated several times until it answered "Up to Date"). Restarted each time (Windows habit, I'm not used to Linux). The "sudo ./VBoxLinuxAdditions.run" failed again because /var/log/vboxadd-install.log said "please install the linux-headers-3.5.0-23-generic package". Googled for it and Installed-Restart (not sure if Restart is mandatory). Third attempt "sudo ./VBoxLinuxAdditions.run" passed (Restart). Ubuntu at last filled the window ! The "sudo mount -t vboxsf F_DRIVE SharedVBox" now works as it should.
The last thing I need to solve is: How to have it mount at startup. The "mount -t vboxsf F_DRIVE /home/etienne/WindowsShared" in my /etc/rc.local file is ineffective. Yes, I didn't put the folder in /mnt. Is it wrong ?
Thanks
Post a Comment