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:  Top 5 games you can play on your favorite Linux desktop

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 add an entry for a Linux distribution in Windows' boot 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.

18 Responses

  1. hey i tried each and everything mentioned above but still i am unable to run orange-canvas
    Every time i try to run orange-canvas, i get this error

    Traceback (most recent call last):
    File “/usr/local/bin/orange-canvas”, line 5, in
    from pkg_resources import load_entry_point
    ImportError: No module named pkg_resources

    Please help me to solve this error

    1. Do you have setuptools installed? If not, install it:

      sudo apt-get install python-setuptools or sudo pip install setuptools

      Note that the second command assumes that pip is already installed. If not, install it using sudo apt-get install python-pip

      1. I repeated each and every step from the fresh. reinstalled each and every thing, and even installed the above setup tools but i am now getting a different type of problem,

        Installing orange-canvas script to /usr/local/bin
        creating portal path for orange compatibility.
        creating /usr/local/lib/python2.7/site-packages/Orange-orng-modules.pth

        It stucks on this and nothing happens after this .

        Someone please help me with this

  2. Hi
    I meet a problem that when i use scatter plot to show my data,it appears error,and i can’t see anything,I don’t know what’s the problem:

    ValueError Traceback (most recent call last):
    File “/usr/local/lib/python2.7/dist-packages/Orange/OrangeCanvas/scheme/”, line 643, in process_signals_for_widget
    File “/usr/local/lib/python2.7/dist-packages/Orange/OrangeWidgets/Visualize/”, line 276, in handleNewSignals
    self.graph.setData(, self.subsetData)
    File “/usr/local/lib/python2.7/dist-packages/Orange/OrangeWidgets/Visualize/”, line 54, in setData
    orngScaleScatterPlotData.setData(self, data, subsetData, **args)
    File “/usr/local/lib/python2.7/dist-packages/Orange/utils/”, line 214, in wrap_call
    return func(*args, **kwargs)
    File “/usr/local/lib/python2.7/dist-packages/Orange/utils/”, line 214, in wrap_call
    return func(*args, **kwargs)
    File “/usr/local/lib/python2.7/dist-packages/Orange/data/preprocess/”, line 370, in set_data
    random = numpy.random.RandomState(seed=rseed)
    File “mtrand.pyx”, line 610, in mtrand.RandomState.__init__ (numpy/random/mtrand/mtrand.c:7397)
    File “mtrand.pyx”, line 646, in mtrand.RandomState.seed (numpy/random/mtrand/mtrand.c:7697)
    ValueError: Seed must be between 0 and 4294967295

      1. Hi
        thanks your reply

        i found out what’s the problem it is.

        the source code of orange,, it use sys.maxint to generate random_integer and feed to the seed.
        The main point is that sys.maxint is about 64bit range of my pc but the seed(numpy random generator) just can accept 32bit integer only(i am not so sure about this)

        Lastly, i change the range to 32bit and it work now!

  3. Followed this to the letter. Installation was smooth. Thanks for that.
    Had a glitch, some widgets did not show up e.g. in the Visualize tab only Attribute-Statistics, Mosaic Display, Sieve Diagram and Venn-Diagram were seen. No Scatter Plot, RadViz etc.
    After some googling, found the answer @

    In the context of Ubuntu simply execute the command:
    sudo apt-get install python-qwt5-qt4


    1. Thanks. For the stuff you’re working on, have you tried messing with your data using R?

      I’m playing with R now and there are packages for just about any type of data analysis and visualization you want to do.

      1. Also use R, you are right; it is very rich and, in vizualization the user has a lot of control. is a simple resource for ML in R to get one going, that all. May be it’ll be useful.
        Wanted to learn a tool that works with python, hence orange. Dont know much about Weka, butwas told it interfaces with Java code and hence again Orange 😛
        With the widgets it is quite nice to be able to hook up a few different learners and do comparative evaluation. Just picked that!


  4. Awesome, thanks – that fixed it.

    Do you (by chance) know how to install the orange-bioinformatics add-on for Ubuntu?

    Do I just use:

    $ pip install Orange-Bioinformatics

    Or do I have to first build the modules from Source and the install. If I have to build and install, do I have to build and install the orange-bioinformatics in the directory that I built and installed the orange-canvas from?


    1. Figured it out; in order (for Ubuntu 12.04.2)

      $ sudo apt-get install python-pip

      $ sudo easy_install -U distribute

      $ sudo pip install Orange-Bioinformatics

      restart Orange-Canvas

  5. Hi,

    Everything went well except for two modules:

    $ orange-canvas
    /usr/local/lib/python2.7/dist-packages/Orange/ UserWarning: Some features will be disabled due to failing modules
    Importing ‘classification.neural’ failed: No module named scipy.sparse
    /usr/local/lib/python2.7/dist-packages/Orange/ UserWarning: Importing ‘regression.lasso’ failed: No module named scipy.linalg

    How do I correct this?


    1. Those modules did not come with Numpy, but are available with Scipy, so you can solve that error by installing the python-scipy package, or python3-scipy, if you are using any version of Python 3.

      sudo apt-get install python-scipy.

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.