BackTrack 5 R2 Ubuntu 12.04 GRUB Menu

BackTrack Linux is now known as Kali Linux. You may read all Kali Linux articles and tutorial at

Yet another article about BackTrack 5, a Linux distribution designed for pentesters and security professionals or those who want to mess with all the best security and penetration testing applications the free software community has to offer.

This latest article provides the steps you need to dual-boot it and Ubuntu 12.04 on a computer with a single hard drive. The previous article was titled How to dual-boot BackTrack 5 R2 and Windows 7 alongside each other.

Though this article is about dual-booting BackTrack 5 and Ubuntu 12.04, which is yet to be released, it could be used for doing the same with current (Ubuntu 11.10) and prior versions of Ubuntu. This is because the installer has not changed across those releases. In any case, you only need to worry about this if you are going to install Ubuntu anew for this operation. If installing Ubuntu anew, it does not matter whether you use using the current stable version of Ubuntu (Ubuntu 11.10) or the beta version of Ubuntu 12.04, which is what was used for this tutorial.

If, as with the system used for this tutorial, you have an existing installation of Ubuntu, then you do not have to worry what version of Ubuntu you are using. All you need to do, if you want to follow the same steps outlined in this article, is to download an installation image of BackTrack 5 R2 from here. Note: There is a KDE and a GNOME edition of BackTrack 5. The KDE edition was used for this article. Burn it to a DVD and boot the computer from it. The computer will boot into a Live KDE desktop. Click on the Install BackTrack icon on the desktop.

Related Post:  How to backup your Linux files to a Minio storage server using CloudBerry Backup

BackTrack is actually based on Ubuntu desktop, so they share the same installation program, though BackTrack’s version of the installer has a different interface. After clicking through the first three steps of the installation process, you will see a window similar to the one below.

If, like the computer used for this article, yours has a default installation of Ubuntu (12.04 or 11.10), which means that it is installed on two partitions (/ and Swap), then you could select the first option (Install them side by side, choosing between them each startup) or the last one (Specify partitions manually (advanced)).
BackTrack 5 R2 Disk Partition Options

If you go with the first option, BackTrack’s installer will also attempt to create a root partition and a Swap partition, leaving you with two Swap partitions on the system. While there is nothing wrong with that, I think it is just a waste of disk space. So, the best option is to select the manual disk partitioning option.
BackTrack 5 R2 Install Summary

Which means that at this step, you select the last option and click Forward.
BackTrack 5 R2 Manual Disk Partition

That should bring you to the Advanced disk partitioning tool. If your installation of Ubuntu does not have free, unpartitioned space, you will have to resize the root partition manually. To do that, select the root partition, which should be /dev/sda1, and click the Change button. After specifying the desired shrink size in the window that opens, you will be returned to the Advanced partitioning window. To create the root partition for BackTrack 5, select the free space and click Add.
BackTrack 5 R2 Advanced Disk Partition

This is the partition creation window. For BackTrack 5, only one partition is going to be created. It will share the Swap partition that is already on the system. Note that by default, the installer will attempt to create this partition as a logical partition. While that is just fine, you may also choose to create it as a primary partition. If the terms being used here is making your head spin, you might want to read guide to disks and disk partitions in Linux.
BackTrack 5 R2 Create Partition

Related Post:  How to backup your Linux files to an Amazon S3 bucket using CloudBerry Backup

If I had used the default, the window should look like this, that is, after specifying a suitable disk space, selected the mount point, /, and the file system, ext4.
BackTrack 5 R2 Create Root Partition

On the other hand, if I had opted to create the root partition as a primary partition, the window should look like the one below. For this tutorial, I chose to create it a primary partition, and clicked OK.
BackTrack 5 R2 Create Root Primary Partition

Back to the main window, the BackTrack partition is shown as /dev/sda3, because I created it as a primary partition. If it had been created as a logical partition, it would have been listed as /dev/sda6. Click Forward to move to the next step.
BackTrack 5 R2 Disk Partitions

Which gets you to the installation summary step. This is where you can modify where GRUB, the boot loader, will be installed. By default, it will be installed in the Master Boot Record, overwriting Ubuntu’s version. Because we are dealing with two Linux distributions, that should not pose any problem. So click Install.
BackTrack 5 R2 Install Summary

After installation and rebooting, you should see a GRUB menu that looks just like this. I am sure you noticed that the entry for BackTrack 5 is also listed as “Ubuntu.” Enjoy!
BackTrack 5 R2 Ubuntu 12.04 GRUB Menu


Share on facebook
Share on twitter
Share on pinterest
Share on linkedin

Hola! Did you notice that no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

9 Responses

  1. I have 161 gb free space on my C:, but when I chose specify partions manually there were only two choices, the first one was 8 gb, the second one was 417 mb which is not enough space to install backtrack. what is the problem???

    1. Give us a list of all the partitions you see at that step of the installation process, their size and device labels, that is, sda1, sda2, etc

  2. Nice .. Thats what I was looking for. Great tutorials with great explanation. Gonna give it a try now. Was trying to set up dual boot on my own and then realized its a good idea to search for a tutorial online just to be safe.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.


The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.