Thursday 6 September 2012

How to Install VirtualBox on Backtrack 5 R2

The first task that given is installing and connecting Windows in VirtualBox to be used for Penetration Test Laboratory. To do that we first have to install VirtualBox on backtrack that we use.

The way is as below...

1. Open terminal on your backtrack.

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/





2. 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.2

3. If the file has finished downloading the VirtualBox is ready for use.

 


0 comments:

Post a Comment

Comment in here...