Installing VirtualBox on Backtrack 5

Those who are having problems with virtualbox installing due to dependency issue with new backtrack here is the solution  for you :

Backtrack 5 doesnt come with the kernel headers installed.So you will need to download them and then proceed with installing virtualbox. The commands are listed below

root@bt # prepare-kernel-sources
root@bt # cd /usr/src/linux
root@bt # cp -rf include/generated/* include/linux/

After this is done, edit /etc/apt/sources.list as shown below and download virtualbox

root@bt # echo deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free >> /etc/apt/sources.list

root@bt # wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add –

root@bt # apt-get update

root@bt # apt-cache search virtualbox

root@bt # apt-get install virtualbox-4.0

Now you are ready to use virtual box 🙂 cheers have fun 😀

4 thoughts on “Installing VirtualBox on Backtrack 5

Add yours

Leave a reply to Dwijay Cancel reply

Create a free website or blog at WordPress.com.

Up ↑