Category Archives: virtualization

run virtualbox on kimsufi server

Just bought a low-end kimsufi server (atom D425) and tried to run virtualbox on it. Host os is Ubuntu Desktop 14.02 Proceed as follow revert to Ubuntu stock kernel instead of tweaked ovh one: [UPDATE: ignore this section, rather simply use advanced mode when installing distribution and select to use native distribution kernel] sudo apt-get install linux-image-server mkdir ~/ovh.d/ sudo mv /etc/grub.d/06_OVHkernel ~/ovh.d sudo update-grub sudo apt-get install linux-headers-generic restart machine sudo shutdown -r -f now install virtualbox //sudo apt-get install virtualbox // update: do not do this since version in ubuntu repository is quite old, download from www.virtualbox.org instead […]

centos 5 – virtualbox guest additions fail to compile [solved]

Installing virtualbox guest additions was not really smooth. To ensure successful installation, make sure of the following: kernel-devel and kernel-headers must be installed for your current kernel version (reboot after installing) yum install *kernel-devel* *kernel-headers* make sure they match version returned by `uname -r` Note1: if you installed centos from iso, rpms are already on the iso under /CentOS folder (=> not need to download them and they will match installed kernel if you did not update it) Note2: to install these packages, do add GPG_KEY for centos5 packages via running rpm –import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 although here again, GPG_KEY file is […]

convert multiple .vmdk file into a single .vdi file

This post is aimed at converting split vmdk files (myfile.vmdk & multiple myfile-s000X.vmdk files) into a single .vdi file. Split .vmdk files are often performed to keep each file under a 2 Gb size so that entire Virtual Machine can be spread over multiple files compatible with VFAT system. Since I don’t use VFAT and prefer using virtualbox rather than vmware, I decided to convert my split .vmdk files into a single .vdi counterpart. Before going any further, ensure your split .vmdk files are real split files and not snapshots. Name of split files end with “-s000X.vmdk” where X is […]

virtualboxed xp asking for usb drivers

My virtualboxed windows xp kept asking for damned usb drivers and audio drivers: OCH usb2 controller driver Intel(R) 82801FB/FBM USB Universal Host Controller AC’97 Intel 82801 AA audio driver among others… My xp versions were supposedly Service Pack 3 versions, but looking at c:\windows\ServicePackFiles, folder was empty, thus when windows tried to load usbohci.sys driver it failed to load it from non-existing c:\windows\ServicePackFiles\i386. What I did was pretty easy, I simply downloaded sp3 cd from microsoft.com and installed it! Here are the steps: download xp-sp3 iso cd: http://www.microsoft.com/downloads/thankyou.aspx?familyId=2fcde6ce-b5fb-4488-8c50-fe22559d164e&displayLang=en start your xp virtual machine mount downloaded cd execute it restart the computer […]

convert .vhd (virtualpc) file to .vdi (virtualbox) format

From .vhd to .vdi When I tried to run xp vhd, provided from microsoft, to test websites on multiple versions of IE (cf. How to test your website on IE6 & IE7 thanks to virtualization), it occurs that each .vhd file has been generated with the same UUID, preventing them from being loaded at the same time in VirtualBox (v2.2). Although VirtualBox can now transparently handle .vhd natively, I chose to convert these .vhd files into .vdi format so that they have each a unique uuid and can be loaded at the same time in VirtualBox. Below are the steps: […]

How to test your website on IE6 & IE7 thanks to virtualization

If you want to test your website on IE6 & IE7  (with truly installed Internet Explorer – not some hacked versions), there is a good news: microsoft has released virtual disk ready just for this. And even better, you can run them on Virtualbox! I found a great tutorial on how to have them work in virtualbox: http://morecowbell.net.au/2009/03/internet-explorer-application-compatibility-vpc-images-under-virtualbox/ Contrary to earlier versions, now virtualbox (> v2.2) handles natively .vhd (microsoft virtual pc) format. Problem is that when I tried to run .vhd files retrieved from microsoft.com, it ended up in a blue-screen with vm reboot. Above mentionned tutorial helped a […]

virtualbox with vista: driver for system controller required

If you installed virtualbox and when vista starts up into virtualized environment, each time it asks for system controller driver, you’re highly encouraged to install VirtualBoxGuestAdditions, normally mounted by default as windows cd player. => within vista, open cd player and execute corresponding guest-additions file (x86, x64), it will install the appropriate drivers and will get rid of this message. It may also be required to have network works with virtualized vista (cf. official documentation, 11.2.4 “No networking in Windows Vista guest”) screen-resolution I had a problem getting virtualbox display guest into my native host resolution. At first, it displayed […]

enable usb in virtualbox

First of, bad news, usb support is NOT available on virtualbox-ose (ose = open-source-edition) => you will need the closed source version. Good news is that it’s still free for personal use. download and install full virtualbox closed source version:  http://www.virtualbox.org/wiki/Linux_Downloads remove conficting virtualbox-ose (if already installed): sudo apt-get remove virtualbox-ose install downloaded file: sudo dpkg -i <path_to_downloaded_file>/virtualbox*.debNOTE: At the end of package installation, I had the following error message: * Starting VirtualBox kernel module * modprobe vboxnetflt failed. Please use ‘dmesg’ to find out why dmesg returned the following errors: [ 1305.319993] vboxnetflt: disagrees about version of symbol SUPDrvLinuxIDC […]

backtrack 4 (beta) on virtualbox

I tried to run backtrack 4 beta on virtualbox (to install it, not just run it as live cd), it was not easy but I finally did it. First, using .vmdk version of backtrack 4 did not work, on each boot it failed on a kernel-panic  VFS error. I installed it from livecd as follow: I assume you’re familiar with virtualbox (ie. have it installed and already ran virtual machines (VM)) download bt4 iso version (http://www.remote-exploit.org/backtrack_download.html) while it’s downloading, create the virtual-machine you’re going to use to install backtrack (personnally I created it with an expanding disk (grant at least […]

start installed Windows Vista from Linux using VirtualBox

As a majority of users, I bought a laptop with vista already on it. First things firts, I installed linux (debian) without even booting into windows and follow its installation process. Then I thought I could use windows (for such situation where god-damned hardware makers to not create drivers for linux (ex: lexmark and its x4650 wifi printer!)) and start it from virtualbox (version 2.0.4 for me) without having to leave linux! Here is how I did: Install virtualbox package: “sudo apt-get install virtualbox-ose“ Login into windows to finish the installation process (if windows is already set up, then skip […]