In a previous post of mine, I talked about using Microsoft Virtual PC 2007 to install a Linux distro on a Windows PC. I mentioned that recent distros (like Ubuntu 8.04 or Fedora 9) couldn’t be installed on MS VPC 2007, so I had to try the one I succeeded before–Fedora Core 4. Meanwhile, I installed Ubuntu 8.04 on my old laptop and it works great. I think between Ubuntu and Fedora that I’ve used, Ubuntu would be easier for new comers. So anyway, I wanted to investigate any further about how to install Ubuntu 8.04 on MS VPC 2007, and there are already extensive blog discussion about it. Here’re the links: here and here. The “unrecoverable processor error” seems to be the result of recent Linux kernel’s embrace of virtualization (it’s in a way funny that virtualization support hinders virtualized Linux. I know the paravirt-ops support is for Linux-host virtual machine server and here we are installing Linux as a guest) and as soon as it’s disabled, the install process moved on. So after quite a while, I was able to run Ubuntu 8.04 on MS VPC 2007. However, the performance was not very acceptable and the screen resolution is even harder to set than the installation itself. In the meantime, I remembered blog comments about Sun’s VirtualBox. Many commenters wrote something like “After spending five hours fighting with this with no complete resolution in sight, I gave up and switched to VirtualBox. It just plain worked. Stop wasting your time with VirtualPC before claims more precious hours of your life.” I didn’t know there’s another virtualization product available, so I wanted to give it a try. The result? I have to say “fantastic.” First of all, the installation was a breeze. No need to tweak any parameters like MS VPC 2007. Second, the performance is great. I don’t feel my Ubuntu on VirtualBox is a virtual machine. Its response time is almost like a native installation. Third (and probably the most), I couldn’t believe the seamless mouse integration without those annoying mouse lock. Usually, on MS VPC, because Linux is not supported officially, once mouse is clicked on a guess OS instance, it’s locked there and has to be unlocked by a host key, which is like right Alt key. VirtualBox, on the other hand, support most Linux distros with guest additions. Once the guest addition is installed, the mouse is fully integrated without annoying mouse lock and your guest OS instance is just like other desktop applications. What’s more cool is that the X server’s screen resolution is automatically adjusted when the VirtualBox guest OS’s frame is resized. See the screenshot below.


I’ve never seen this kind of thing before even with VMware (maybe it’s just because I used it quite a while ago, not recently). Full screen mode works on my dual head setup too. Whenever I tried a full screen mode on my dual monitor setup with other virtualization platforms, things didn’t go well. Something strange happened and the desktop (both the host and the guest) got garbled. No such problem with VirtualBox. Full screen mode of a guest OS instance on my second display works just fine as expected.
I think VirtualBox will be my primary virtualization platform. I didn’t like VMware very much because it installed strange network adapters and started quite a few services (daemons) even when I didn’t want to execute a virtual machine. Again, it was like a year or two ago, so things might have changed. Anyway, I requested that VirtualBox be installed on our lab PCs. There are plenty of computing resources (Core2Duo with 3GB MM and hundreds of GB of unused disk space), and I think with VirtualBox people would have no more excuse for not trying Linux any more. If you haven’t, you should try it out!
When I have some free time in my office, I’ll upload my initial VirtualBox virtual hard disk image for Ubuntu 8.04 and make them available for download for UWGB community. I’ll also upload my initial Microsoft Virtual PC 2007 virtual hard disk image for Ubuntu 8.04, but notice that the screen resolution is only 800×600. There’ll be links to those virtual hard disk images when they are uploaded. I’d say everyone should try it out.
-H.
October 4th, 2008 | Tags: Linux, virtual machines, virtualbox | Category: Computing Infra Related, Linux | Leave a comment