GRUB menu Kali Linux

What you’ll read in this tutorial is simple: How to triple-boot Windows 7 (or Windows 8), Linux Mint 17.1, and Kali Linux 1.1 on a single hard drive and on a computer with UEFI firmware.

This article is, in a sense, a continuation of how to Dual-boot Linux Mint 17.1, Windows 7 on a PC with UEFI firmware, which was published yesterday (February 27 2015). Extending that setup to include the latest edition of Kali Linux was not simple, but it was not difficult either.

You just have to know how to get around a couple of steps that could cause it to fail. But for you, the task has been made easy, because this tutorial offers a step-by-step guide on how to get it done.

How To Get From Here To There: To accomplish this task of triple-booting Windows 7 (or Windows 8), Linux Mint 17.1, and Kali Linux 1.1 on a single hard drive and on a computer with UEFI firmware, you, of course, must have access to a Windows 7 (or Windows 8) computer that you have permission to use. My test computer is a self-built desktop, but the steps should also work on an OEM (store-bought) laptop or desktop.

After that, enough space has to be recovered from the C drive to use for installing Linux Mint 17.1 and Kali 1.1 in that order. Since the steps to install Linux Mint 17.1 alongside Windows 7 on the same hard drive has been given in Dual-boot Linux Mint 17.1, Windows 7 on a PC with UEFI firmware, visit that link to get that part of the task completed. After that, return to this page to complete the last stage – install Kali Linux 1.1 on that same hard drive.

To make that last stage easier and simpler, leave enough free space after installing Linux Mint 17.1. That free space will be used to install Kali Linux 1.1. The layout of the disk partitions on the hard drive, after installing Linux Mint 17.1, as seen from the Windows partition manager, is shown in Figure 1. The Linux Mint partitions are noted in red, while the free space that will be used to install Kali is highlighted in yellow.

Windows 7 partitions
Figure 1: Windows 7 and Linux Mint 7 partitions as seen from Windows 7’s partition manager.

Step 1 – Download Installation Image of Kali Linux 1.1: After installing Linux Mint, the next step is to install Kali Linux on the available free space. But before we get to the installing part, first download an installation image (of Kali Linux 1.1) from the project’s download page. Assuming that you’re working from inside your fresh installation of Linux Mint 17.1, transfer the downloaded image to a USB stick using the command given in this forum post.

Related Post:  Linux and BSD desktop distributions with support for disk encryption

Step 2 – Install Kali Linux 1.1: If you completed Step 1 successfully, you should have a bootable Kali Linux USB stick. Connect it to a USB port on the computer and reboot. Just before it reboots into the default disk, access the computer’s boot menu by pressing the appropriate F-key (usually F11 or F12). You should see two entries for the Kali Linux installation media. The line that starts with UEFI will boot into the UEFI-aware version of the installer. That’s the one you want to boot from. So select it and hit the ENTER key.

Kali Linux installation
Figure 2: Computer’s boot menu showing Kali Linux installation media entries

By default, that should boot the computer into the Kali Linux 1.1 Live desktop. Launch the installer from the menu, then click through it until you get to the step shown in Figure 3. The easiest method of going about this is to use the default option – Guided – use the largest continuous free space. That option will detect and auto-partition the free space left after installing Linux Mint 17.1 (refer to Figure 1).

Kali Linux Partition methods
Figure 3: Partitioning methods of the Kali Linux 1.1 installer.

Before auto-partitioning the free space, you’ll be given the option to choose how many partitions the installer should create. The default – All files in one partition… – will cause the installer to create a single partition – mounted at / (root). The second option will have the installer create a separate partition for /home, where your home directory will be created. Selecting the default or the second option will do just fine, but the third option is really not needed on a desktop computer.

Kali Linux mount options
Figure 4: Disk partition options of the Kali Linux 1.1 installer.

Figure 5 shows the result of the auto-partition action. Partition #7 is the partition that was just created by the installer, where Kali Linux 1.1 will be installed. Partitions #1 to #3 are the Windows 7 partitions, while partitions #4 to #6 are the Linux Mint 17.1 partitions. Note that because we’re dealing with a UEFI system, the installer will install the boot loader files in the EFI boot partition, which, in this case, is partition #1. And because there’s an existing Swap partition, the installer did not create one, so that Swap partition will be shared between Linux Mint and Kali Linux.

Disk partitions Linux
Figure 5: Disk partitions of Windows 7, Linux Mint 17.1 and Kali Linux 1.1 as seem from the Kali Linux installer.

To avoid running into the issues shown in Figure 6 and Figure 7, jump to the instructions for Figure 8.

Kali Linux no EFI partition
Figure 6: Error when the installer does not find a EFI boot partition.

Kali Linux no swap
Figure 7: Warning when the installer does not find a Swap partition.

Figures 8 – 13 will be used to show what to do to avoid the issues shown in Figures 6 and 7. Let’s take care of the error shown in Figure 6 first. That will involve letting the installer know that partition #1 is the EFI boot partition. To do that, double click on that partition (#1).

Boot EFI partition
Figure 8: Double-click on the boot EFI partition to modify it.

That should open this window. Double click on the Use as line, then from the list that shows up, select EFI boot partition.

Use as boot EFI partition
Figure 9: Modifying the “Use as” option for the EFI boot partition.

If completed correctly, the Use as line should look like the one in Figure 10. Click Done setting up the partition to return to the main installer window.

Use as EFI boot partition
Figure 10: Modified Boot EFI partition on Kali Linux.

Now let’s make sure that you won’t encounter the warning shown in Figure 7. To start, double click on the line for the Swap partition.

Kali Linux swap space
Figure 11: Double-click on the Swap partition to modify it.

Then double click on the Use as line. From the window that opens, select swap area.

Kali Linux use as swap
Figure 12: Modifying the “Use as” option for the Swap partition.

If completed correctly, the modified setting should appear just like the one shown in Figure 13 below. Double-click on Done setting up the partition to return to the main installer window.

Kali Linux swap
Figure 13: Modified Swap partition on Kali Linux.

Back to the main installer window, all should be set to go. Make doubly sure that everything is kosher, then click Continue.

Kali Linux disk partitions
Figure 14: Complete list of partition for the triple-boot setup.

This is just the installer letting you know what partitions it’s going to format. Select Yes, then click Continue to complete the remaining installation tasks.

Kali Linux format partitions
Figure 15: Swap and root partition will be formatted.

Step 3 – Reboot And Rerun GRUB-update: After installation has completed, hopefully, successfully, reboot the computer. It should reboot into Kali Linux 1.1, but not before making a stop at the GRUB menu window. As shown in Figure 16, there will be no entry for Windows 7, but that will change after running the necessary command.

GRUB menu Kali Linux
Figure 16: GRUB menu of Kali Linux 1.1 right after installation.

While inside Kali Linux, launch a terminal, then type update-grub. The output should be just like the one shown in the code block below.

Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.18.0-kali1-amd64
Found initrd image: /boot/initrd.img-3.18.0-kali1-amd64
  No volume groups found
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Linux Mint 17.1 Rebecca (17.1) on /dev/sda4

When next you reboot, the Kali Linux GRUB menu should now have an entry for Windows 7. To verify that the whole operation succeeded, reboot into each operating system in turn. If there are no issues, enjoy your triple-boot system, and pat yourself on the back.

Kali Linux grub-update
Figure 17: GRUB menu of Kali Linux 1.1 after running “grub-update”.

More Information: Note that because Linux Mint 17.1 was installed before Kali Linux, its GRUB menu will not have an entry for Kali Linux. To change that, launch a terminal and type sudo update-grub. The output should be just like the one shown in this code block:

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-37-generic
Found initrd image: /boot/initrd.img-3.13.0-37-generic
  No volume groups found
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Kali GNU/Linux 1.1.0 (1.1.0) on /dev/sda7

After rebooting, you should see entries for all three operating systems on the GRUB menu, similar to what you have on the Kali Linux GRUB menu. Again, enjoy your system. Correction and comments are always welcome.

Related Post:  How to install and configure Gufw on Linux Deepin 11.12.1


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.

33 Responses

  1. how can i break the password of wifi with backtrack 5 r2? Please fully guide me and also tell me about wpa wed and wpa2? I shall b very thankful to you…and if you can guide me on my email adress than it will be more good for me….

    1. u could use reaver.
      I love reaver.
      Takes awhile but hey i normaly run 3-4 sessions on one work space 16 total(default amount of work spaces)
      *hint: Not all sessions are for wifi’s most metasploit and websploit, set, Androint_cu(downloaded) ect.

  2. i m new to use backtrack 5 r3… First i burn it on dvd then reboot my system (dell precision 470 server machine 64 bit) but i was unable to boot it from dvd… Please guide me my email address is … Please help me…

    1. That is the installer automatically formatting it. It should not be so, but ultimately, it does (did) not affect the functionality of the internal system.

      1. OK so you are saying there shouldnt be anything done on the sda drive, the main internal drive?
        I just want to be 100% sure that I will not compromise my windows 7?!

      1. i was able to boot from mt laptop but i couldn’t boot from my Desktop PC the only differance between the 2 devices is that the laptop has 32bit hardware and the pc hase 64bit hardware and the backtrack that i’ve downloaded was 64bit……..Thx for the reply

  3. Does anyone know if its possible to run Trackback 5 Rev 2 and Windows 7 in a dual boot configuration?

  4. I’m new to this and i was wondering if deleting a partition can it cause or change anything on my windows operating system?

    1. If the partition you delete is not owned by Windows, then you are good.

      Just be sure to verify that you are not deleting your C drive or a system partition.

  5. So after we install it on the external hard drive and reboot our computer, how do we get the computer to boot from the USB drive (whether flash or full-fledged external drive) rather than going straight to Windows or Linux, as would be normal? Do we just go into the BIOS and select ‘boot from USB’ or something? But if that is the case, won’t that be inconvenient in cases when we want to boot normally from our computer’s internal hard drive, since we’ll have to keep going into the BIOS and changing where to boot from? And if the solution to this is to somehow modify the Windows MBR to give us an option (as in an option for where to boot from), then won’t there be a problem with this in the future if Windows updates and thus overrides the modifications we’ve made in the MBR, removing the option we gave ourselves? I’m so confused lol.

    1. You do not have to change the boot disk in the BIOS. You can access the boot menu as the computing is booting and select the entry for the USB drive.

      Even if you change the default boot disk in the BIOS, it will boot from the internal hard drive if the USB drive is not connected to the computer.

  6. I installed as directed…. but when i select it from the windows boot manager it goes to the loading screen (black with single flashing underscore) and it does nothing….

    1. If you installed it on an external hard drive, what are you doing with windows boot manager? Most likely, GRUB was not installed in the MBR of the external hard drive. That is why, I think, you are seeing that flashing cursor.

      1. I ran Backtrack 5 BootCD and installed to the external… It said it installed Ubuntu and when i load the disc i can see the external drive root and all its files…..(what were installed)

          1. yeah…. i know that but the problem is getting it to boot from the external…. after I install BT5 there is no drive letter (for that partition) and it does not load when i say boot from usb, since it is listed as a hard drive. dba and dbb my internal RAID hard drives, dbc is the external and what i installed on but i can’t figure out how to set it up to list on my boot windows screen or the boot device screen

  7. I thought this article was very helpful, I was able to successfully install backtrack onto my external hard drive. However, I am unable to open and store information on that drive from windows. It has 1TB of storage and I only partitioned about 40GB for backtrack. Any tips on how I can still fix this problem?

    1. Easy. Just create an NTFS partition from Windows on the external drive, then you can save information from Windows or Linux to that NTFS partition.

      The NTFS partition has to be created from Windows, not from BackTrack.

      See an example here.

Leave a Reply to finid Cancel 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.