
At work I now work a lot with Visual Studio on Windows 7 Professional. While I have to use Windows, I don't want to loose the functionality and power of Linux, so I run a virtual machine with Ubuntu Maverick. Both Windows and Linux run smoothly on my machine and I can share files among them. In this post I give some help for setting this up.
I chose Oracle's VirtualBox (also: VBox) as virtual machine. This decision was motivated mainly by speed. I tried Qemu and it was too slow to be usable. Bochs is also reputed to be slow, I didn't even try it. I found a performance comparison between VMWare, VirtualBox, KVM, and Xen. Most important I found operations per second on guest OS and I/O overhead. The reviewer concludes
To me, it seem that VMware and VirtualBox are the fastest virtual machine across the board. They have good CPU/memory performance, good disk access time and good network layer speed.
KVM is, instead, a mixed beast: it has quite good CPU/memory and network speed, but it fail in the crucial I/O subsystem performance more often than not.
Xen is at the opposite end of the spectrum: it as respectable I/O access time but quite bad CPU/memory performance that, in turn, can badly influence network speed and CPU load also.
Installation of VBox is straightforward. It follows a short howto on sharing folders between a VirtualBox virtual machine with a Windows host and Linux guest OS.
- Install VirtualBox guest additions on the linux guest OS:
- in the running guest OS window, go to devices, install guest add-ons.
- make the VBox Additions iso available as drive: devices->CD/DVD->VBoxGuestAdditions.iso
- in the terminal (assuming the iso is automatically mounted as cd, which it is in Ubuntu): i)
cd /media/VBOX...(exact name depends on version) ii)sudo sh VBOXLinuxAdditions-x86.run(or the corresponding 64 bit version) - maybe you need to restart your guest OS.
- Share folder:
- in the VirtualBox guest OS window menu go to devices->shared folders and choose the host OS folder and a name for it under VirtualBox, say VBoxShare. You can choose permanent and can make it read-only if you want.
- in the guest OS linux terminal:
sudo mkdir /media/WindowsShare; sudo mount -t vboxsf VBoxShare /media/WindowsShare - you can put this also in fstab to have the share folder come up automatically on every boot:
sudo gedit /etc/fstabVBoxShare /media/WindowsShare/ vboxsf defaults 0 0
Enjoy. Please leave a comment below for questions and suggestions.

Hey thanks for the step by step information on how to run a virtual machine with Ubuntu. I was wondering if there was a way to share files among Windows and Linux. Thanks for the link to VirtualBox. I hope the installation is as easy as your illustration.
@Jason: Installation was easy as a pie. File sharing between host and guest is just a few clicks away.
Thanks in favor of sharing such a nice thinking, article is good, thats why
i have read it fully
my web blog :: car loans bad credit
Stop by my weblog :: how to buy a car,buying a car,buy a car,how to buy a car bad credit,buying a car bad credit,buy a car bad credit,how to buy a car with bad credit,buying a car with bad credit,buy a car with bad credit,bad credit car loans,car loans bad credit,auto loans bad credit,bad credit auto loans,buying a car bad credit loans,bad credit loans cars,buying a car and bad credit,how to buy a car on bad credit,buying a car on bad credit,loans for cars with bad credit,auto loans for bad credit,buying a car with bad credit,how to buy a car with bad credit
Subscribe to replies to this post
This conversation is missing your voice. Your feedback is appreciated.
Post a Comment
You can use some HTML tags, such as <b>, <i>, <a>
You can follow the discussion of this post by subscribing.
You are free to include information from this article on your own site if you provide a backlink. You can use the following markup: