Apr 2, 2020 07:01 AM
(This post was last modified: Apr 2, 2020 07:02 AM by SIM-4581439.)
![[Image: yQmAwNS.png]](https://i.imgur.com/yQmAwNS.png)
What is dual booting? Dual booting is when a user boots into one of two operating systems, both locally installed on a hard drive or solid state disk. The term Dual Booting is a more narrow term compared to the original Multi-Booting when more than two operating systems are installed. This particular thread will teach how to properly dual-boot by downloading a Kali Linux disk image, writing it to a USB, and installing it on your HDD/SSD.
![[Image: bsinSQ8.png]](https://i.imgur.com/bsinSQ8.png)
Spoiler (Click to View)
When dual-booting any operating system you need to create an unused partition on your disk to install the OS; in this case, Kali. To do this, you locate your primary partition and "shrink" it in size. Essentially you take memory space from the first partition and allot it elsewhere. To do this, open up Disk Management. It can be found by searching for it in your start menu or running it from the executable: diskmgmt.msc
Once Disk Management is open, locate your 'primary partition' which should be labeled as so. If for whatever reason you're unable to locate it, chances are it will be the biggest partition on your drive. Right click the primary partition and hit Shrink Volume. A smaller window should appear saying 'Querying volume for available shrink space, please wait...' Give this window a few seconds. When it closes, a third window will appear asking you how much in Megabytes you want to shrink the partition. Again, the new partition for Kali will be as big as the amount you shrink your primary partition. The amount to shrink is entirely up to you. I personally recommend over 25GB. All-in-all, your process should look like this:
![[Image: elF8epJ.png]](https://i.imgur.com/elF8epJ.png)
When Disk Management successfully shrinks your partition, it should decrease in size by the amount you chose and a secondary partition should appear.:
![[Image: iKlkhvW.png]](https://i.imgur.com/iKlkhvW.png)
Until data is written to the partition, it will remain as 'Unallocated.' Note: do not setup a file system or alter the partition in any way. You can correct this and format the partition if need be during Kali's setup process but it will save you time if you keep it untouched.
![[Image: 8Z0TdDR.png]](https://i.imgur.com/8Z0TdDR.png)
Spoiler (Click to View)
Now that you've created your secondary partition, you'll need to actually install Kali Linux. However, you'll need a few things first. One, to install Kali you will have to 'Live Boot' it from a USB. Your USB will need to be 4 gigabytes or more. Second, you'll also need the Kali Linux ISO/disk image file. You can find it at http://www.kali.org/downloads
Be sure to download the 'Live' version rather than then Installer. It is also important to choose the Live version that matches your system architecture; x64 or x86 bit. If you don't know your system architecture you can open 'Command Prompt' (cmd.exe) and type in: systeminfo | Find "System Type"
When you have acquired botha USB and the image file you will need a program capable of writing the Kali disk image to your USB. There are many popular options to choose from. YUMI, Rufus, UUI, etc. In this scenario I used Win32 Disk Imager, found here.
Once you have downloaded your disk-imager, you will need to select both the drive letter of your USB and the image itself. When using Win32 Disk Imager, you need to select the all-file option in the file filter. Your image may look something like this:
![[Image: 4j4Ri2e.png]](https://i.imgur.com/4j4Ri2e.png)
When this is completed, click Write.
![[Image: QHeZq8z.png]](https://i.imgur.com/QHeZq8z.png)
Spoiler (Click to View)
To recap you should have downloaded the Kali Linux image file, as well as a disk-image writing software, written the image to a USB, and now you're ready for the final step: the installation. To begin this process it is recommended that you either read the rest of this tutorial and commit it to memory, or you open it on another device. You will need to power down your machine fully. Once its off, power it back on again. Immediately spam the key on your machine designated for your boot menu. Every machine is different. The most common key is F12 (especially), F11, or F10. If none of these work you will have to search online. This information is generally present on the manufactures website. When you have done this successfully a boot menu should appear. Mine looks like this, however yours may be different:
![[Image: bm1W3dt.png]](https://i.imgur.com/bm1W3dt.png)
The name of your USB should be listed. Select it, and it should boot into Kali Linux's main install/boot menu.
Select the Start Installer option:
![[Image: v8oylL6.png]](https://i.imgur.com/v8oylL6.png)
You will then be presented with three options. The country you live in, the preferred language, and the keyboard type. Choose these as best suited for you. Once this is done, your computer will attempt to connect to your network via DHCP (Dynamic Host Control Protocol). This is essentially where Kali tries to receive network information from your router, such as internal and physical IP addresses, etc. If you are not installing Kali with the use of an Ethernet cable (which should immediately receive network information via DHCP) this step will most likely fail. From there you will be asked to manually configure your network information. It should look like this:
![[Image: lAJYM9L.png]](https://i.imgur.com/lAJYM9L.png)
When manually configuring you will need to know standard network information about your machine like IPv4 Address, Subnet, and Default Gateway. If you don't know this information you have three options. You can exist the install, return to windows, and find it using the IPCONFIG command in the command prompt. You can also log into the maintenance panel of your WiFi router if you have the proper access (preferably with a alternate device opposed to exiting the install) and find the information there. Or...you could choose the 'Do not configure the network at this time' option. Regardless if you choose to configure or not, it won't negatively effect the setup. If you do choose to configure you will see these fields:
![[Image: ROM88Cj.png]](https://i.imgur.com/ROM88Cj.png)
Next you will be asked to enter in a host and domain name. Unless you know what you're doing, it is recommended that you keep both of these identical. These are necessary names so your Kali machine will be able to interact and communicate with other devices on the network. Following that you will also be asked to setup a user account on your Kali machine as well as a password. As of late, Kali Linux development team decided they would remove the default Root user from their distro, so pay attention to your credentials and don't lose them!
![[Image: srCiix0.png]](https://i.imgur.com/srCiix0.png)
Next you will be ushered to a screen that looks like this:
![[Image: AxaTIPD.jpg]](https://i.imgur.com/AxaTIPD.jpg)
In personal experiences using any of the 'guided' options just ends up causing more aggravation. As long as you're comfortable, go ahead and select the 'Manual' option. Your screen will change and you will see a list of all partitions on your disk, including your USB. Make sure you don't attempt to install Kali Linux to your USB partition by mistake. You will want to locate the partition you made/shrunk earlier. It should be labeled as "FREE SPACE" by don't always count on the label. It should also be listed by size. It may however be off by a few bytes so don't be paranoid. If you shrunk up to a 60GB partition, it may come out to 59.8GB or even 61.0GB. Once you've located it, select the partition. There you should see a list of options to edit your partition structure. You will see a "Name" option. This will be the name of the partition label. Choose whatever you deem fit. Next you will see a "Use As" option. This will determine the file system installed to the partition. Unless you have a specific preference, use EXT4 Journaling File System. Last you will want to set the "Mount Point" to "/" (root). The rest of the options can remain static unless you know what you're doing, then change them. It should look something like this:
![[Image: ISOmMBc.png]](https://i.imgur.com/ISOmMBc.png)
When ready, select Done setting up the partition.
Return to the main partition screen, and you should see an option towards that bottom labeled Finish partitioning and write changes to disk. Select this option. Unless you have done so, Kali may recommend that you setup a "swap" space. Swap's purpose is to store temporary virtual memory when all of the RAM is currently full. Its not mandatory, but recommended. When done, you will then confirm that you want to write Kali to the selected partitions. It may look something like this:
![[Image: O7KXMdO.png]](https://i.imgur.com/O7KXMdO.png)
Select YES and continue. At this point you should see the system installing.
When your Kali system begins to install, it's a waiting game. When completed you will be asked if you want to install a 'Grub boot loader' which is up to you. It is essentially a menu that comes up when you power on your machine and it allows you to select whether you want to boot into either Kali or your primary partition, in this case, Windows 10 OS. If you choose not to install the boot loader you will manually have to boot into the Kali partition via the boot menu. Note: if you have a BIOS password setup or disk encryption it may cause the boot loader to not start properly.
Congratulations! You are ready to go 😎 As soon as Kali Linux has installed a restart will happen. You are clear to remove your USB and boot directly into your system. If you have any comments, questions, concerns, or overall critiques please be sure to post below <3



