How To Run BackTrack Using VirtualBox in Windows

By on March 31, 2013

I wanted to run Linux on Windows but i never wanted to install it directly. So what i did is that i installed it in a Virtual Environment. Which means you can use Windows and run another Operating System while using Windows. This can be achieved through a Software like VMware or VirtualBox.

The subject of this thread consist of Backtrack. You can download BackTrack Linux from their Official Website. Now in this post i am going to show you how to install Backtrack 5 using VirtualBox on Windows.

If you are wondering what is it, then this is what they say about it :

BackTrack is a Linux-based penetration testing arsenal that aids security professionals in the ability to perform assessments in a purely native environment dedicated to hacking.

#1. Downloading and Installing Virtual Box

To run a Operating System in a Virtual Environment, We will need a Virtual Machine Tool. And in this case i am using Virtual Box. Why VirtualBox? Because its free ! And it is a powerful virtualization product. To get Virtual Box Click here.

Click here to know – How to Install Virtual Box

After installing VirtualBox, We can run BackTrack Linux. So lets see how to do that !

#2. How to Run BackTrack Linux Using VirtualBox

To create a virtual machine, let us start the VirtualBox and click the “New” virtual machine button in the tool bar.

starting virtualbox

After clicking on new, the following window appears:

create virtual machine

Enter any name for the Virtual Machine, For example: Ironman

Then choose the type of OS as Linux and Version as Other Linux.

create virtual machine for backtrack linux

Once you are done, Click next.

memory size for virtual memory

Since my computer holds 6 GB of RAM, I am allocating about 1 GB of it to the Virtual Machine. And don’t worry, this is not permanent allocation. The memory will be taken back by your computer after you shut down Virtual Machine.

The template will further guide you to create a virtual hard drive for the virtual machine. The virtual hard drive is simply a file on your host computer. This file will consist all the data of the OS which you are about to run in VirtualBox.

Just select ‘Create a virtual hard drive now’ and Click Create.

creating virtual drive

Then it asks you to choose Hard drive file type. Select the default VDI (Virtual Disk Image) and Hit next.

select hard drive type

Then after you have to select ‘Dynamically allocated’ and hit next.

dynamic allocation

And now comes the important part. You have to select the Size of Virtual Drive. I have given about 2.5 GB of disk space for Virtual Machine. You can give more or less according to your wish.

file location and size of virtual machine

After you hit Create, the Virtual Machine will be created and the following Window appears:

virtual machine created backtrack linux

Adding Backtrack Linux ISO to Virtual Machine

Now that you have created Virtual Machine, You need to add an ISO or Image file of an OS. To do that, Just hit the settings button. After doing so, The following window will show up:

virtual-machine-settings

In the window above, you have to select Storage, then select Empty. And finally select the disc icon on the rightmost side. Which would open up a drop down menu.

choose a virtual cd file

Now select ‘Choose a virtual CD/DVD dis file’ and browse to the directory where your ISO or Image file is stored. In this case i will just browse and select BT5.ISO image from my hard drive. And just click OK.

backtrack 5 selected

Now everything is set up. All you need to do is click ‘Start’.

virtual machine created backtrack linux

After you hit Start, The Virtual Machine boots up. Then it loads up the OS (in this case – BackTrack 5). You might need to hit Enter so BackTrack starts booting.

backtrack-5-running-on-Virtualbox

Once BackTrack starts, All you need to do is type in a command ‘startx‘ to get to the graphical user interface of BackTrack Linux. That’s it. You have successfully run BackTrack 5 using VirtualBox on Windows Host.

If you have any questions, feel free to comment below.

About Omkar Bhagat

Omkar is the owner of Codefap.com. He writes blogs, makes video tutorials and love to learn new things about computers and programming.
Subscribe To Blog Feed
  • Ralph

    Thank you so much for the info brother..keep safe..thank you

  • DD

    Very clear. Good communication skills.