Dual Booting Kali Linux and Windows 10

I recently setup my laptop to do a dual boot operating system with Windows 10 and Kali Linux. In the past I had run Windows 10 and used Virtual Box to run Linux distros as virtual machines. This worked fine, but I didn’t get the full use of my laptop since it had to share resources with Windows 10. Dual booting was fairly easy. I’ll make this short and sweet below.

  1. Make sure you have Windows 10 installed and working. If you hard drive is bitlockered, undo this for now.
  2. Make sure you have plenty of free space on your hard drive, 10GB required.
  3. Partition your hard drive to free up space for the Kali Linux install. There are several ways to do this, but I find this method saves a step or two.
    1. Boot to Windows.
    2. Right click the start menu and select Disk Management.
    3. Right click your drive and select “shrink volume.”
    4. Input the amount you want to shrink the drive from.  This is the amount of unallocated spaced that will be left on the drive for your linux install. I did 30 gigs on mine. Just multiply whatever you want to be free by 1024. EX: 30*1024=30720 will give you 30 gigs of unallocated space.
    5. Confirm you have unallocated space as it should say it and have a black banner instead of blue.
    6. Now we are ready to proceed to the Linux install.
  4. Download Kali Linux and install it to a USB drive.
    1. Kali Linux Download
    2. Make a bootable USB drive
  5. Plug in the bootable USB drive and reboot your machine. Hit F12 while booting and it should give you the option to boot from USB.
  6. When prompted select install.
  7. Follow the steps until you get to the partition option.
    1. Select guided, use largest continuous space
    2. This will install Kali on the freed space you set aside in step 2
  8. When done, reboot and you’ll be presented with a GRUB loader to boot into Kali or Windows. Select your operating system and proceed.
  9. If you previously had bitlocker enabled in Windows, boot to Windows 10 and enable it now.
  10. By default the GRUB loader will select Kali Linux as the default OS to boot to.
    1. If you want to change Windows 10 to be default you’ll first need to boot to Kali Linux.
    2. Something to note, when booting you will see a list of boot options from top to bottom. Zero equals the top options, one the second, and so forth. Just remember this for when we update the GRUB. In the example below zero would be Kali and 2 would be Windows 7.
    3. Once in Kali open terminal
      1. I use Nano for this option, but you can use whatever text editor you want
    4. nano /etc/default/grub
    5. Go to GRUB_DEFAULT and change 0 to 2.
    6. When done hit ctrl+x and y to save changes.
    7. Now enter update-grub
  11. Now when you reboot your system it should automatically boot to Windows 10. If you need to boot to Kali make sure you select it before the GRUB loader defaults to Windows.

208 total views, 1 views today