Kali Linux 2.0: Alternate Install and Dual-Boot ‘How To’

November 6, 2015 | Views: 45699

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Installation Minimum requirements:

  • A minimum of 10 GB disk space for the Kali Linux install
  • For i386 and amd64 architectures, a minimum of 512MB RAM
  • CD-DVD Drive / USB boot support

This is for anyone who has installed Kali 2.0 and has had issues with it running like a slug, seen their desktop randomly freezing, and who may want a faster working Kali System.

Kali is, in my opinion, the best security OS right up until V 1.10. I would have stayed at that version, but everyone is being forced to use 2.0. I’ve been using Kali since Backtrack and through all the versions, 2.0 is the worst for the OS having a ton of new random problems.

My guess is they had a stable version in 1.10 so they decided to work on the GUI and make Kali more user friendly for less experienced users. In making Kali look pretty, it also brought about a lot of new problems that came with the nice GUI.

First thing to do is download Kali light 32bit or 64bit – whatever is the one for your system. 32bit & 64bit Operating Systems will work on 64bit systems, but 64bit OS’s won’t work on 32bit Systems.

64bit PC architecture x86_64: 64 bit computer systems need a 64bit CPU. To find out in a Linux terminal, type:

$ less /proc/cpuinfo

In Windows, download CPUZ install and run it.

CPUZ

Kali Light is a small version with hardly any awesome toys. But, don’t worry. I’ll show you how to put anything you want in your system and leave out the stuff you don’t. This cuts down on bloat and that can lead to instability.

The Light version doesn’t have a graphic intensive desktop; it uses XFCE and, because of the way I’m showing you how to put the OS in, it won’t auto start a bunch of things that make Kali run slower than it should. Download the ISO to a folder somewhere on your computer.

[:::Kali Linux ISO images:::]

Kali Light 64bit

Kali Light 32bit

[:::Partition software:::]

Linux: GParted partition manager

Windows: EASEUS Partition Master

If you have Windows already installed and you’re going to do a dual boot, download, install, and run EaseUS Partition Master. Right click the C: drive and select “Resize/Move partition”:

Partitioning

If you have one hard drive with an operating system on it, which is currently taking up 100% of the disk, you’ll want to shrink the space so you can make room for Kali. A minimum of 10GB disk space is recommended for the install, but I say at least 30GB or more is better.

Position the mouse pointer on the right partition handle. Drag the handle left-wards to shrink the hard drive down at least 30GB. [10GB is the smallest you can make the partition.]

Hit ‘OK’ then click on ‘Apply’ at the top left side. Wait until it shrinks and you’re done. It becomes an unallocated space.

Partitioning02

The reason to use an unallocated space is when the install is happening. The easiest choice of “Guided use largest continuous free space” can be used. The same applies to using Gparted if you boot Kali Live. Also, Gparted has a Live boot version to partition your hard drive if you don’t have an OS on your system. As long as you have 10 to 30GB’s or more of unallocated space to install Kali, it doesn’t matter how it gets done.

 Gparted Live CD

Burn The Kali Linux ISO to DVD or copy it to USB. Burning to a DVD should be something you already know how to do blindfolded, ball-gaged, with one arm tied to your ankle.

To copy it to a USB stick in Windows, you’ll need to download Win32 Disk Imager:

Win32 Disk Imager

Put in your USB stick that has 2GB or more free space, [Ignore the warning about formatting if it shows up]. Then install and start Win32 Disk Imager. Select the Kali Light ISO. Check very carefully that the USB stick is listed in ‘Device’ on the top right of Win32 Disk Imager.

Win32DiskBullshit

If you don’t see any ISO’s, set it to view all files while you’re navigating.

View All Bitchez

Again, make sure the USB stick is the one that’s going to be used. I’ve formatted a hard drive that was connected with USB by mistake. [I got all my files back but it was such a pain and something that didn’t need to happen].

The best way is to have only the USB stick that you’re using be the only one connected. When you’re ready click on write, confirm the ‘are you sure you want to continue?’

Click on ‘Yes‘ and wait until all the files are copied.

Win32 Write

When it’s finished, check the USB stick to see if the files were written.

Win32Waiting

I like to use powerISO when I’m making a USB boot-able OS. If you’re tempted to use Multi-boot USB software, it won’t work with Kali hard drive installs because the files have to be in the root directory. Most of those types of software make a folder per OS to keep them separated. They’re great for having multiple different OS’s on one USB stick and you can have both Windows and Linux booting side by side like cats and dogs living together.

Plug your USB drive in and Reboot your computer. If it doesn’t boot go into your BIOS, find out why its not booting. Some suggestions to try: Fix the boot order, turn off safe boot temporarily or set it to boot other devices. Perhaps there’s a setting to boot to USB; there might be a boot override menu. Most BIOS are similar but not the same. When it has booted, go to Graphical install:

If you are having problems and errors installing Kali from the ”Graphical Install” menu, boot into Kali Light Live and from the menu, choose:
System Tools–Install Kali Linux and follow the steps in this guide. This clears up a lot of errors that can happen without booting into the system.

Select your language:

select_language

Select your location:

location

Keyboard selection time! Woohoo! Exciting!

keyboard

The installer will copy the image to your hard drive, and probe your network interfaces .

If the setup detects more than one NIC, it may ask you which one to use for the install.

If the chosen NIC is wireless, you’ll be asked for your network information.

If there isn’t DHCP running on the network, it will ask you to manually enter the network information.

If your NIC isn’t detected, you’ll the drivers for it when prompted. Plan B is to make a custom Kali ISO with them slipstreamed.

After that, enter a hostname for your system. It can be anything you can think of. I use the name of the computer system that controlled the machines in Terminator. The hostname could be a Mexican band name like Paracoccidioidomicosisproctitissarcomucosis.

hostname

The default domain name is optional. I usually leave it blank.

domain

Select a password. Make sure your password is a strong one or at least don’t make it easy.

PASSWORD

Next is your time zone:

timezone

Then the installer will ask to setup your partitions. Choose: ‘Guided – use the largest continuous free space’.

Because the hard drive has an unallocated partition, the installer will automatically choose that one and format it with a swap.

Guided Partitioning

It will format EXT4 with a Swap from the unallocated partition. If you’re using the entire hard drive, choose “Guided – use entire disk”

This will format the whole hard drive with EXT4 and a Swap.

Guided Partitioning02

When this comes up I usually choose ‘all files in one partition’ The 2nd choice is if you want your home directory on a separate partition. Pick one that excites you the most.

If you’re not sure, just choose the top one. ‘All files in one partition’

Partition_Root_home_folderz

Make sure everything is all good and review the installation settings before you click “yes” to “write changes to disk?”

Kali_install

Next, configure network mirrors. You might need to enter proxy information.

networkmirror

Next, you’ll need to install GRUB, which stands for GRand Unified Bootloader. GNU GRUB is a bootloader that can load a bunch of operating systems like Linux, DOS, Windows, or BSD.

It supports an unlimited number of boot entries. GRUB can boot from networks, has an interactive command interface, supports Logical Block Address mode, and can be run from or be installed to any device. It can load operating systems from just as many locations.

GRUB will detect any other operating systems you have on your computer. If it wants you to pick the hard drive to install the bootloader on, choose the same hard drive as your OS install. Usually. it’s the first hard drive in the list. ‘sda’ [If you’re in doubt, pick the top one in the list].

install_grub

Make sure to pull the USB stick or remove the DVD from the drive. Click on ‘Continue’ to reboot into your new Kali operating system.

install_complete

After you’ve booted into your new shiny Kali Linux OS, there are a few things to do to make it all that. First thing is to check your sources.list.

Type in the Terminal:

nano /etc/apt/sources.list

Copy and paste this in the sources.list to replace the text that’s there to make sure its all good.

# Regular repositories
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
# Source repositories
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

Hit Ctrl + O, then hit enter to save. Then, then Ctrl + x to exit.

Type in the Terminal:

apt-get clean

apt-get update

apt-get upgrade -y
apt-get dist-upgrade -y

Okay, now its time to put in the cool toys.

Type in the terminal:

apt-get install synaptic

After it’s installed, go to ‘Applications’ => ‘System’ => ‘Administration’ => ‘Synaptic Package Manager’

After it starts, click on search and type: kali-linux

In the list, there will be all the meta-packages. You can pick what you want and leave the stuff you don’t want.

kali-linux-gpu – GPU utilities are very powerful but need special hardware in order to function correctly.

kali-linux-pwtools – contains over 40 different password cracking utilities as well as the GPU tools.

kali-linux-web – dozens of tools related to web application hacking.

kali-linux-wireless – all the wireless tools you’ll need in one easy to install package

kali-linux-forensic – This only contains the forensics tools in Kali.

kali-linux-top10 – Top 10 Security Tools self-explanatory

kali-linux-voip – conduct VoIP testing and research with 20+ tools

kali-linux-rfid – RFID research and exploitation

kali-linux-sdr – contains a large selection of tools for Software Defined Radio hacking

The list of meta-packages and what they contain are at this address:

Kali-Meta-Packages

I would advise against installing kali-linux-all. It defeats the purpose of all this crap I’m writing.

I have most of the meta-packages installed but not all of them and my computers run great. Fast stable and nothing is broken.

I have Mate desktop installed. I highly recommend it. It runs just as fast and stable as LXDE, but I think it looks better and is easy to configure.

Stay away from Gnome, Cinnamon, or any other heavy graphic resource hungry desktop that might cause slug like behavior in Kali Linux 2.0. The whole purpose is better, stronger, faster. Bionic OS!

Mate Desktop environment; type in the Terminal:

apt-get install mate-desktop-environment-extras

For a Firewall, GUFW is a good straight forward program. Type in the terminal:

apt-get install gufw

Installing Gedit is probably a good idea. It’s a good editor. You can edit text files and any source code (it will highlight the code accordingly).

Type in the terminal:

apt-get install gedit

apt-get install gedit-plugins

gedit

Tor is an open network that helps you defend against network surveillance. It protects you by bouncing your communications around a distributed network of relays all around the world.

ToR

Type in the terminal:

apt-get install tor

Running Tor with Proxychains is awesome and it’s already configured to use Tor by default. Go to this site. It has some really good info. It shows you how to get around Tor’s endpoint blocking so you can scan with Nmap through the Tor network using Proxychains:

shellhacks.com

Lazy-Kali

Lazy-Kali script is a simple bash script that adds quite a few tools to Kali Linux. Download Lazy Kali from: Lazy-Kali-Script

Here are some things it adds to Kali:

AngryIP,  Scanner, Terminator, Xchat, Unicornscan, Nautilus,  Open Terminal, Simple-Ducky, Subterfuge, Ghost-Phisher, Yamas, PwnStar.

In the Terminal Navigate to the directory its in and type:

./lazykali.sh

If you get a message ‘Permission Denied’ type:

chmod +x lazykali.sh 

and then type:

./lazykali.sh

Type Y to install the script. If you need more info, go to this site: Kali for Hackers

There’s a ton of really cool stuff to do with Kali Linux. Here are some really good links:

Kali-Linux

Share with Friends
FacebookTwitterLinkedInEmail
Use Cybytes and
Tip the Author!
Join
Share with Friends
FacebookTwitterLinkedInEmail
Ready to share your knowledge and expertise?
40 Comments
  1. I think i will try to

  2. Thanks for the tutorial,very helpful

  3. can I do this in windows 7?

  4. I’m on a Mac or will be on a Raspberry Pi so thanks but this is not for me.

  5. When I was installing it, it crashed in the part “instaling the system.” What must I do then?

Page 3 of 5«12345»
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play
 

Support Cybrary

Donate Here to Get This Month's Donor Badge

 
Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel