Ubuntu Lucid Lynx

Sunday, April 11, 2010

Using Ubuntu 9.10 inside Windows XP with VirtualBox


The computer I use is a triple booting one, Windows XP, Windows 7 and Kubuntu 9.10 (with backports). I use Kubuntu because I love KDE 4.4 a helluva lot. The problem I had was using OpenShot Video Editor with KDE 4. I just could not configure the audio correctly. I'm sure there is a way to do it (almost nothing is impossible if one is willing to spend some time digging around) but since I have a fairly powerful processor, a quad core AMD and enough RAM, I thought why not install Ubuntu inside VirtualBox and get on with OpenShot.

I downloaded SuperOS (http://hacktolive.org/wiki/Super_OS) which is almost identical to and based on Ubuntu, with current updates and codecs installed, and installed it inside VirtualBox 3.16. Then I installed the guest additions which come with VirtualBox to enable mouse integration, better graphics support, shared folder and some other features as mentioned in the VirtualBox documentation. For the Network card setup I usually just select one network card with NAT to enable Internet access for the guest OS (Ubuntu) from the host (Windows XP). Then I installed OpenShot Video Editor (OVE) from its PPA as mentioned in the OVE site. Started the program and it worked beautifully with audio support and everything.




I had allocated 1 GB RAM for the guest OS and it seemed to be quite enough for average video editing work. And Ubuntu 9.10 is faster than Windows XP or Windows 7 any day in my opinion, and btw Windows 7 has nice eye candy, but it looks to me like there were really inspired by KDE 4 which probably tops any OS in the usability front and sheer beauty IMO.
OK so I got OVE working fine and its a pretty good piece of software and improving fast. But I had some clips in a couple of NTFS partitions which I did not want to copy again into the shared folder that I assigned to the guest OS when it was set it up. So I was wondering if I could enable simple file and folder sharing between Ubuntu and Windows XP using a virtual network interface. So I assigned the relevant folders inside XP to be shared folders over the network. Then I installed Samba and a few related tools like Smb4k in Ubuntu. Then I shut down Ubuntu to configure the network interfaces from its settings in VirtualBox. I set Adapter 1 to be the Host Only network interface and set Adapter 2 to NAT. Restarted Ubuntu in VirtualBox and checked out the Network folder path from Nautilus. It was pleasing to see that Windows XP computer was detected easily and the shared folders were shown pretty quickly within the file manager. Now I could import the clips into OVE easily and work with them. Plus I had the internet connection via the NAT adapter in VirtualBox. I liked that :)




No comments: