Wednesday 22 June 2016

How To Install Kali Linux?

What is Kali Linux ?

Kali Linux is a Debian-based Linux distribution aimed at advanced Penetration Testing and Security Auditing. Kali contains several hundred tools aimed at various information security tasks, such as  Penetration Testing, Forensics and Reverse Engineering. Kali Linux is developed, funded and maintained by Offensive Security, a leading information security training company.
Kali Linux was released on the 13th March, 2013 as a complete, top-to-bottom rebuild of BackTrack Linux, adhering completely to Debian development standards.

Kali Linux Downloads:-    

                                        Download

How To Make Bootable USB Drive:-  Click

How To Run:-

  • Once the imaging is complete, safely eject the USB drive from the Windows machine. You can now use the USB device to boot into Kali Linux.
  • Plug it into the machine you want to bootRestart it and set that usb storage device to boot first from the BIOS menu which may be F12F8F2 or Del depending upon you machine and build.
110.png (621×460)



How To Install Kali Linux:-
Kali

1.Kali Linux Hard Disk Install:-

Installing Kali Linux on your computer is an easy process. First, you’ll need compatible computer hardware. Kali is supported on i386, amd64, and ARM (both armel and armhf) platforms.

Kali Linux Installation Requirements

Installing Kali Linux on your computer is an easy process. First, you’ll need compatible computer hardware. Kali is supported on i386, amd64, and ARM (both armel and armhf) platforms. The hardware requirements are minimal as listed below, although better hardware will naturally provide better performance. The i386 images have a default PAE kernel, so you can run them on systems with over 4GB of RAM. Download Kali Linux and either burn the ISO to DVD, or prepare a USB stick with Kali Linux Live as the installation medium. If you do not have a DVD drive or USB port on your computer, check out the Kali Linux Network Install.

Installation Prerequisites

  • 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

Preparing for the Installation

  1. Download Kali linux.
  2. Burn The Kali Linux ISO to DVD or Image Kali Linux Live to USB.
  3. Ensure that your computer is set to boot from CD / USB in your BIOS.

Kali Linux Installation Procedure

  1. To start your installation, boot with your chosen installation medium. You should be greeted with the Kali Boot screen. Choose either Graphical or Text-Mode install. In this example, we chose a GUI install. 

    01-install-select
  2. Select your preferred language and then your country location. You’ll also be prompted to configure your keyboard with the appropriate keymap. 

    02-language-select
  3. Specify your geographic location.
    03-location
  4. The installer will copy the image to your hard disk, probe your network interfaces, and then prompt you to enter a hostname for your system. In the example below, we’ve entered “kali” as our hostname. 

    05-hostname
  5. You may optionally provide a default domain name for this system to use. 

    06-domain
  6. Next, provide a full name for a non-root user for the system.
    07-user
  7. A default user ID will be created, based on the full name you provided. You can change this if you like.
    08-username
  8. Next, set your time zone.

    09-timezone
  9. The installer will now probe your disks and offer you four choices. In our example, we’re using the entire disk on our computer and not configuring LVM (logical volume manager). Experienced users can use the “Manual” partitioning method for more granular configuration options.

    10-partitionmethod
  10. Select the disk to be partitioned.
    11-selectdisk
  11. Depending on your needs, you can choose to keep all your files in a single partition — the default — or to have separate partitions for one or more of the top-level directories. If you’re not sure which you want, you want “All files in one partition”.
    12-partitioningscheme
  12. Next, you’ll have one last chance to review your disk configuration before the installer makes irreversible changes. After you click Continue, the installer will go to work and you’ll have an almost finished installation.

    13-finish-partitioning
  13. Configure network mirrors. Kali uses a central repository to distribute applications. You’ll need to enter any appropriate proxy information as needed.

    14-networkmirror
    NOTE! If you select “NO” in this screen, you will NOT be able to install packages from Kali repositories.

  14. Next, install GRUB.
    15-install-grub
  15. Finally, click Continue to reboot into your new Kali installation.

    16-install-complete

Post Installation

Now that you’ve completed installing Kali Linux, it’s time to customize your system. The Kali General Use section of our site has more information and you can also find tips on how to get the most out of Kali in our User Forums.
2.Dual Boot Kali with Windows:-
Kali

Installing Kali alongside a Windows installation can be quite useful. However, you need to exercise caution during the setup process. First, make sure that you’ve backed up any important data on your Windows installation. Since you’ll be modifying your hard drive, you’ll want to store this backup on external media.


Kali Linux Dual Boot with Windows

Installing Kali alongside a Windows installation can be quite useful. However, you need to exercise caution during the setup process. First, make sure that you’ve backed up any important data on your Windows installation. Since you’ll be modifying your hard drive, you’ll want to store this backup on external media. Once you’ve completed the backup, we recommend you peruse Kali Linux Hard Disk Install, which explains the normal procedure for a basic Kali install.
In our example, we will be installing Kali Linux alongside an installation of Windows 7, which is currently taking up 100% of the disk space in our computer. We will start by resizing our current Windows partition to occupy less space and then proceed to install Kali Linux in the newly-created empty partition.
Download Kali Linux and either burn the ISO to DVD, or prepare a USB stick with Kali linux Liveas the installation medium. If you do not have a DVD or USB port on your computer, check out the Kali Linux Network Install. Ensure you have:
  • Minimum of 8 GB free disk space on Windows
  • CD-DVD / USB boot support

Preparing for the Installation

  1. Download Kali Linux.
  2. Burn The Kali Linux ISO to DVD or copy Kali Linux Live to USB.
  3. Ensure that your computer is set to boot from CD / USB in your BIOS.

Dual Boot Installation Procedure

  1. To start your installation, boot with your chosen installation medium. You should be greeted with the Kali Boot screen. Select Live, and you should be booted into the Kali Linux default desktop.
  2. Now launch the gparted program. We’ll use gparted to shrink the existing Windows partition to give us enough room to install Kali Linux. 

    dual-boot-kali-01
  3. Select your Windows partition. Depending on your system, it will usually be the second, larger partition. In our example, there are two partitions; the first is the System Recovery partition, and Windows is actually installed in /dev/sda2. Resize your Windows partition and leave enough space (8GB minimum) for the Kali installation. 

    dual-boot-kali-03
  4. Once you have resized your Windows partition, ensure you “Apply All Operations” on the hard disk. Exit gparted and reboot.

    dual-boot-kali-05

Kali Linux Installation Procedure

  1. The installation procedure from this point onwards is similar to a Kali Linux Hard Disk install, until the point of the partitioning, where you need to select “Guided – use the largest continuous free space” that you created earlier with gparted.

    dual-boot-kali-09
  2. Once the installation is done, reboot. You should be greeted with a GRUB boot menu, which will allow you to boot either into Kali or Windows.

    dual-boot-kali-11

Post Installation


Now that you’ve completed installing Kali Linux, it’s time to customize your system. The Kali General Use section of our site has more information and you can also find tips on how to get the most out of Kali in our User Forums.
kali-docs-dual-boot-mac-150x150
3.Dual Boot Kali on Mac Hardware:-

Since the release of Kali Linux 1.0.8, Kali Linux supports EFI out of the box. This added feature simplifies the process of getting Kali installed and running on various Apple MacBook Air, Pro, and Retina models.


Kali Linux Installation Requirements

Since the release of Kali Linux 1.0.8, Kali Linux supports EFI out of the box. This added feature simplifies the process of getting Kali installed and running on various Apple MacBook Air, Pro, and Retina models.

The make/model/year of the device will determine how successful your experience will be, with newer devices having a better chance of working. Pre-installing rEFInd may also increase the odds of success on older devices.
This guide will show you to dual-boot OSX with Kali Linux using rEFInd, with the option of encrypting the Kali Linux partition. If you wish to replace OSX completely, please refer to ourSingle Boot Kali on Mac Hardware guide.
By using using the 3rd party software rEFInd (a fork of rEFIt) we are able to open up the boot menu used in Apple’s OSX OS, which is perfect for dual booting. It also has the advantage of helping older devices boot from USB that would not be able to otherwise. Once Kali Linux has been installed, rEFInd can be customized to be hidden or removed completely.

Installation Prerequisites

  • A minimum of 10 GB disk space for the Kali Linux install.
  • A minimum of 512MB RAM.
  • Devices older than ‘late 2012‘, may require a blank DVD. USB booting may not work without rEFInd pre-installed.
  • For devices newer than ‘late 2012‘, you’ll need a blank DVD or a USB drive.
  • OSX 10.7 or higher

Preparing for the Installation

  1. Download Kali linux.
  2. Burn the Kali Linux ISO image to a DVD or copy the image to USB drive.
  3. Backup any important information on the device to external media.

Preparing OSX (Installing rEFInd)

  1. At the time of this writing, the latest version of rEFInd is 0.8.3.
    Boot into OSX and download a local copy.
  2. osx:~ mbp$ curl -s -L http://sourceforge.net/projects/refind/files/0.8.3/refind-bin-0.8.3.zip -o refind.zip
  3. After downloading rEFInd, extract the contents of the zip file and run the install shell script with sudo.
  4. osx:~ mbp$ unzip -q refind.zip
    osx:~ mbp$ cd refind-bin-*/
    osx:refind-bin-0.8.3 mbp$ sudo bash install.sh

    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.

    To proceed, enter your password, or type Ctrl-C to abort.

    Password:
    Installing rEFInd on OS X....
    Installing rEFInd to the partition mounted at //
    Copied rEFInd binary files

    Copying sample configuration file as refind.conf; edit this file to configure
    rEFInd.

    WARNING: If you have an Advanced Format disk, *DO NOT* attempt to check the
    bless status with 'bless --info', since this is known to cause disk corruption
    on some systems!!

    Installation has completed successfully.

    osx:refind-bin-0.8.3 mbp$

Kali Linux Partitioning Procedure

  1. Before we can install Kali Linux, there needs to be room on the hard disk. By booting into a live Kali session, we can resize the partition to our desired size. To do so, power on the device and immediately press and hold the Option key until you see the rEFInd boot menu.
  2. 01-rEFInd
  3. When the boot menu appears, insert your chosen installation medium. If everything works as expected, you will see two volumes:
    • EFI – EFI\BOOT\syslinux.efi from 61 MiB FAT volume
    • Windows – Legacy OS from FAT volume
  4. Although Kali Linux is based on Debian, Apple/rEFInd detects it as Windows.
    Select the Windows volume to continue.
    • If you are using a DVD, you may need to refresh the menu by pressing ESC once the disk if fully spinning.
    • If you still only see one volume (EFI), then the installation medium is not supported for your Apple device. If you haven’t already done so, you may wish to install rEFInd and try again.
    • If you select the EFI volume, the booting will hang at this point and you will notbe able to continue.
    02-rEFInd_boot
  5. You should be greeted with the Kali Boot screen. Select Live and you should be booted into the Kali Linux default desktop.
  6. 03-live-boot-menu
  7. We can use GParted to shrink the existing OSX partition (HFS+), allowing us to install Kali in the free space. You can find GParted in the Kali menu by navigating to: Applications -> System Tools -> GParted Partition Editor
  8. 04-gparted_menu
  9. Once GParted has opened, select your OSX partition. Depending on your system, it will usually be the second, larger partition. In our example, there are three partitions: the EFI upgrade partition (/dev/sda1), OSX (/dev/sda2), and System Recovery (/dev/sda3). Resize your OSX partition and leave enough space (10 GB minimum) for the Kali installation.
  10. 05-gparted_resize

Kali Linux Installation Procedure

  1. To start the Kali Linux installation, repeat steps 1 and 2 above to boot to the Kali Linux boot screen. Once you can see the the boot screen, choose ‘Live’, ‘Graphical Install’ or ‘(Text-Mode) Install’ to begin the setup. In this guide, we chose ‘Graphical Install’.
  2. 03-boot-menu
  3. Select your preferred language and then your country location. You’ll also be prompted to configure your keyboard with the appropriate keymap.
  4. 05-lanuage
  5. The installer will copy the image to your hard disk, probe your network interfaces, and then prompt you to enter a hostname then domain name for your system. In the example below, we’ve entered ‘kali’ as our hostname.
    • If the setup detected multiple NICs, it may prompt you which one to use for installation.
    • If the chosen NIC is 802.11 based, it will ask for wireless network information to collect, before prompting for a hostname.
    • If there isn’t a DHCP service running on the network, it will ask you to manually enter the network information after probing for network interfaces.
    • If Kali Linux doesn’t detect your NIC, you either need to include the drivers for it when prompted, or generate a custom Kali Linux ISO with them pre-included.
  6. 06-hostname
  7. Enter a robust password for the root account.
  8. 07-root-password
  9. Next, set your time zone.
  10. 08-time-date
  11. The installer will now probe your disks and offer you five choices. In our example, we’re using the spare partition that we made during live mode, so we select ‘Guided – use the largest continuous free space’.
    • Experienced users can use the ‘Manual’ option for more granular configuration options. This option will also allow you to set up encrypted LVM, so Kali Linux would be fully encrypted. The screen afterwards will prompt you for the password. You will have to enter the same password every time you start up Kali Linux.
  12. Kali will automatically securely wipe the hard disk before asking for the password. This may take ‘a while’ (hours) depending on size and speed of the drive. If you wish to risk it, you can skip it.
    12-partition
  13. The next stage is to select the partition structure you want to use. We will go ahead and use the default option and have everything on one partition. Afterwards it will display an overview. If you agree to what it suggests, press the continue button.
  14. 14_structure
  15. Next, you’ll have one last chance to review your disk configuration before the installer makes irreversible changes. After you click Continue, the installer will go to work and you’ll have an almost finished installation.
  16. 15_check
  17. This screen configures the use of our Internet network mirrors. Kali can use our online central repository to distribute applications to keep packages up-to-date and allow for additional programs to be installed more easily. Should you need to enter any appropriate proxy information, the next screen will allow you to enter the required details.
  18. If you select ‘NO’ in this screen, you will NOT be able to install packages from Kali repositories until you alter your sources.
    13-package-manager
  19. Next, install GRUB bootloader.
  20. 14-grub
  21. Finally, click ‘Continue’ to finish installing Kali Linux. It is highly recommend that you restart your machine at this stage.
    Once complete, repeat the first 2 steps again to boot into ‘Live mode’ once more.
  22. 15-finish
  23. If the gdisk package isn’t included in your Kali Linux ISO, you will first need to install it.
    If you enabled the network repository during the setup, this can easily be done:
  24. apt-get update
    apt-get install gdisk
  25. We are now going to convert the Master Boot Record (MBR) to a hybrid, which will allow for Apple’s EFI to detect and boot using GRUB.
    Once complete, power off the device and remove any installation media when prompted.
  26. root@kali:~# gdisk /dev/sda
    GPT fdisk (gdisk) version 0.8.5

    Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: present

    Found valid GPT with protective MBR; using GPT.

    Command (for help): p
    Disk /dev/sda: 976773168 sectors, 465.8 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 1B3DB3D4-ECFD-47A1-9435-F2FF318C2F55
    Partition table holds up to 128 entries
    First usable sector is 34last usable sector is 976773134
    Partitions will be aligned on 8-sector boundaries
    Total free space is 245 sectors (122.5 KiB)

    Number Start (sector) End (sector) Size Code Name
    1 40 409639 200.0 MiB EF00 EFI System Partition
    2 409640 548413439 261.3 GiB AF00 Macintosh
    3 975503592 976773127 619.9 MiB AB00 Recovery HD
    4 548413440 548415487 1024.0 KiB EF02
    5 548415488 958138367 195.4 GiB 0700
    6 958138368 975503359 8.3 GiB 8200

    Command (for help): r

    Recovery/transformation command (for help): h

    WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
    just hit the Enter key at the below prompt and your MBR partition table will
    be untouched.

    Type from one to three GPT partition numbers, separated by spaces, to be
    added to the hybrid MBR, in sequence: 5
    Place EFI GPT (0xEE) partition first in MBR (good for GRUB)(Y/N): y

    Creating entry for GPT partition #5 (MBR partition #2)
    Enter an MBR hex code (default 07)83
    Set the bootable flag? (Y/N): y

    Unused partition space(s) found. Use one to protect more partitions? (Y/N): n

    Recovery/transformation command (for help)w

    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
    PARTITIONS!!

    Do you want to proceed? (Y/N): y
    OK; writing new GUID partition table (GPT) to /dev/sda.
    The operation has completed successfully.
    root@kali:~#
  27. At this stage, we are able to use both Kali Linux and OSX and select which one we want to use at start up.
  28. 20-refind

rEFInd Configuration

If you wish, you can alter rEFInd in various ways now, including:
  • The default OS selection (by default it is OSX)
  • Timeout value (by default it is 20 seconds)
  • Direct boot into the default OS (Note, by pressing Options during boot, you will have a one time boot menu)
  • Remove rEFInd, enabling the use of the traditional Apple menu (booting to OSX and Kali Linux will still work)
If you wish to make any of these alterations, boot into OSX, and alter the following file:
osx:~ mbp$ sudo nano /EFI/refind/refind.conf
  • The timeout value controls how long you have to select an OS from the boot menu. By setting it to ‘-1’, it will boot directly into the default OS.
  • 21-refind_timeout
  • The ‘default_selection’ value sets the default selection on startup. OSX will be at position ‘1’ and Kali will be at ‘2’. In this example, we will use OSX as the default.
  • 22-refind_default
  • If we combine the two alterations and save our changes, the next time we reboot, it will appear that nothing has changed from before installing Kali Linux. However, if we hold down the ‘Options’ key for the Apple boot menu, we will see the following:
    • EFI Boot – OSX
    • Windows – Kali Linux
    • Recovery HD – OSX’s Recovery Partition
23-done
Using Apple’s boot menu, the value names cannot be altered. If you wish to customize these values, you will need to use rEFInd.

kali-docs-single-boot-mac-150x1504.Single Boot Kali on Mac Hardware:-

Since the release of Kali Linux 1.0.8, Kali Linux supports EFI out of the box. This added feature simplifies the process of getting Kali installed and running on various Apple MacBook Air, Pro, and Retina models.






Since the release of Kali Linux 1.0.8, Kali Linux supports EFI out of the box. This added feature simplifies the process of getting Kali installed and running on various Apple MacBook Air, Pro, and Retina models.
The make/model/year of the device will determine how successful your experience will be, with newer devices having a better chance of working. Pre-installing rEFInd may also increase the odds of success on older devices.
This guide will show you to replace OSX with Kali Linux, with the option of encrypting the partition. However, if you wish to keep OSX, you will want to refer to our dual-boot guide instead.

Installation Prerequisites

  • A minimum of 10 GB disk space for the Kali Linux install.
  • A minimum of 512MB RAM.
  • For devices older than late 2012, you will need a blank DVD.
    • USB booting may not work without rEFInd installed.
  • For devices newer than late 2012, you’ll need a blank DVD or a USB drive.
  • OSX 10.7 or higher.

Preparing for the Installation

  1. Download Kali linux.
  2. Burn the Kali Linux ISO image to a DVD or copy the image to USB drive.
  3. Backup any important information on the device to an external media.

Kali Linux Installation Procedure

  1. To start your installation, power on the device and immediately press and hold theOption key until you see the boot menu.
  2. 01-boot
  3. Now insert your chosen installation media. If everything was successful, you will seetwo volumes (EFI & Windows). Even though Kali Linux is based on Debian, Apple detects it as Windows.
  4. Select the Windows volume to continue.
    • If you only see one volume (EFI), then the installation media is not supportedfor this device.
    • You may wish to install rEFInd and try again.
    • If you select the EFI volume, the booting will hang at this point and you will notbe able to continue.
    02-boot-kali
  5. You should be greeted with the Kali boot screen. You are free to choose ‘Live’, ‘Graphical Install’, or ‘(Text-Mode) Install’ to install. In this example, we picked ‘Graphical install’.
  6. 03-boot-menu
  7. Select your preferred language and then your country location. You’ll also be prompted to configure your keyboard with the appropriate keymap.
  8. 05-lanuage
  9. The installer will copy the image to your hard disk, probe your network interfaces, and then prompt you to enter a hostname and domain name for your system. In the example below, we’ve entered ‘kali’ as our hostname.
    • If the setup detects multiple NICs, it may prompt you which one to use for the install.
    • If the chosen NIC is 802.11 based, you will be asked for your wireless network information before being prompted for a hostname.
    • If there isn’t a DHCP service running on the network, it will ask you to manually enter the network information after probing for network interfaces.
    • If Kali Linux doesn’t detect your NIC, you either need to include the drivers for it when prompted, or generate a custom Kali Linux ISO with them pre-included.
    06-hostname
  10. Enter a robust password for the root account.
  11. 07-root-password
  12. Next, set your time zone.
  13. 08-time-date
  14. The installer will now probe your disks and offer you five choices. In our example, we’re using the entire disk on our computer and not configuring LVM (logical volume manager), so we selected ‘Guided – use the entire disk’.
    • Experienced users can use the ‘Manual’ option for more granular configuration options. This option will also allow you to set up encrypted LVM, so Kali Linux would be fully encrypted. The screen afterwards will prompt you for the password. You will have to enter the same password every time you start up Kali Linux.

    Kali will automatically securely wipe the hard disk before asking for the LVM password. This may take ‘a while’ (hours) depending on the size and speed of the drive. If you wish to risk it, you can skip it.
    09-partition
  15. The installer will ask you to confirm which disk to erase. Double check then confirm the selection.
  16. 10-partition
  17. The next stage is to select the partition structure you want to use. We will go ahead and use the default option and have everything on one partition. Afterwards, the installer will display an overview. If you agree with what it suggests, press the continue button.
  18. 11-partition
  19. Next, you’ll have one last chance to review your disk configuration before the installer makes irreversible changes. After you click Continue, the installer will go to work and you’ll have an almost finished installation.
  20. 12-partition
  21. This screen configures the use of our Internet network mirrors. Kali can use our online central repository to distribute applications to keep packages up-to-date and allow for additional programs to be installed more easily. Should you need to enter any appropriate proxy information, the next screen will allow you to enter details.

  22. If you select ‘NO’ in this screen, you will NOT be able to install packages from Kali repositories until you alter your sources.
    13-package-manager
  23. Next, install the GRUB bootloader.
  24. 14-grub
  25. Finally, click Continue to finish installing Kali Linux. It is highly recommend that you restart your machine at this stage.
    Once the install has finished, repeat the first few steps again to boot into ‘Live mode’ once more.
  26. 15-finish
  27. If the gdisk package isn’t included your Kali Linux ISO, you need to install it.
    If you enabled the network repository during the setup, this can easily be done as follows:
  28. apt-get update
    apt-get install gdisk
  29. We are now going to convert the MBR to a hybrid, which will allow for Apple’s EFI to detect and boot to GRUB.
  30. root@kali:~# gdisk /dev/sda
    zsh: correct 'gdisk' to 'fdisk' [nyae]? n
    GPT fdisk (gdisk) version 0.8.5

    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present

    Found valid GPT with protective MBR; using GPT.


    Command (for help): p
    Disk /dev/sda: 976773168 sectors, 465.8 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): B6A4398E-3590-4BB7-AA57-D64EF74860D0
    Partition table holds up to 128 entries
    First usable sector is 34last usable sector is 976773134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 4077 sectors (2.0 MiB)

    Number  Start (sector)    End (sector)  Size       Code  Name
       1      2048      4095   1024.0 KiB  EF02
       2      4096       943585279   449.9 GiB   0700
       3       943585280       976771071   15.8 GiB    8200

    Command (for help): r

    Recovery/transformation command (for help): h

    WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
    just hit the Enter key at the below prompt and your MBR partition table will
    be untouched.

    Type from one to three GPT partition numbers, separated by spaces, to be
    added to the hybrid MBR, in sequence: 2
    Place EFI GPT (0xEE) partition first in MBR (good for GRUB)(Y/N): y

    Creating entry for GPT partition #2 (MBR partition #2)
    Enter an MBR hex code (default 07)83
    Set the bootable flag? (Y/N): y

    Unused partition space(s) found. Use one to protect more partitions? (Y/N): n

    Recovery/transformation command (for help)w

    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
    PARTITIONS!!

    Do you want to proceed? (Y/N): y
    OK; writing new GUID partition table (GPT) to /dev/sda.
    Warning: The kernel is still using the old partition table.
    The new table will be used at the next reboot.
    The operation has completed successfully.
    root@kali:~#
  31. After that is complete, all that is left is to reboot, take out the installation media, and enjoy Kali.

5.Kali Linux Encrypted Disk Install

Kali
At times, we have sensitive data we would prefer to encrypt using full disk encryption. With the Kali Installer, you can initiate an LVM encrypted install on either Hard Disk or USB drives. The installation procedure is very similar to a “normal Kali Linux Install”, with the exception of choosing an Encrypted LVM partition during the installation process.
At times, we have sensitive data we would prefer to encrypt using full disk encryption. With the Kali Installer, you can initiate an LVM encrypted install on either Hard Disk or USB drives. The installation procedure is very similar to a “normal Kali Linux Install”, with the exception of choosing an Encrypted LVM partition during the installation process.

Kali Linux Encrypted Installation Requirements

Installing Kali Linux on your computer is an easy process. First, you’ll need compatible computer hardware. The hardware requirements are minimal as listed below, though better hardware will naturally provide better performance. The i386 images have a default PAEkernel, so you can run them on systems with over 4GB of RAM. Download Kali Linux and either burn the ISO to DVD, or prepare a USB stick with Kali Linux Live as the installation medium.

Installation Prerequisites

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

Preparing for the Installation

  1. Download Kali linux.
  2. Burn The Kali linux ISO to DVD or Image Kali Linux Live to USB.
  3. Ensure that your computer is set to boot from CD / USB in your BIOS.

Kali Linux Installation Procedure

  1. To start your installation, boot with your chosen installation medium. You should be greeted with the Kali Linux boot menu. Choose a Graphical or a Text-Mode install. In this example, we chose a GUI install. 

    Kali Install
  2. Select your preferred language and then your country location. You’ll also be prompted to configure your keyboard with the appropriate keymap. 

    localechooser_languagelist_0
  3. The installer will copy the image to your hard disk, probe your network interfaces, and then prompt you to enter a hostname for your system. In the example below, we’ve entered “kali” as the hostname. 

    netcfg_get_hostname_0
  4. Enter a robust password for the root account. 

    kali-linux-install-02
  5. Next, set your time zone.

    time_zone_0
  6. The installer will now probe your disks and offer you four choices. For an Encrypted LVM install, choose the “Guided – use entire disk and set up encrypted LVM” option as shown below.

    partman-auto_init_automatically_partition_0
  7. Choose the destination drive to install Kali. In this case, we chose a USB drive destination. We will use this USB drive to boot an encrypted instance of Kali.

    kali-linux-install-03
  8. Confirm your partitioning scheme and continue the installation.

    kali-linux-install-03
  9. Next, you will be asked for an encryption password. You will need to remember this password and use it each time to boot the encrypted instance of Kali Linux.

    kali-linux-install-03
  10. Configure network mirrors. Kali uses a central repository to distribute applications. You’ll need to enter any appropriate proxy information as needed. 

    NOTE! If you select “NO” in this screen, you will NOT be able to install packages from the Kali repositories.
    kali-linux-install-04
  11. Next, install GRUB. 

    kali-linux-install-05
  12. Finally, click Continue to reboot into your new Kali installation. If you used a USB device as a destination drive, make sure you enable booting from USB devices in your BIOS. You will be asked for the encryption password you set earlier on every boot.

    finish-install_reboot_in_progress_0

Post Installation

Now that you’ve completed installing Kali Linux, it’s time to customize your system. The Kali General Use section of our site has more information and you can also find tips on how to get the most out of Kali in our User Forums.

6.Kali Linux Mini ISO Install

ISO
The Kali mini ISO is a convenient way to install a minimal Kali System and install it “from scratch”. The mini install ISO will download all required packages from our repositories, meaning you need to have a fast internet connection to use this installation method.

6.Kali Mini ISO Install

The Kali mini ISO is a convenient way to install a minimal Kali system and install it “from scratch”. The mini install ISO will download all required packages from our repositories, meaning you need to have a fast Internet connection to use this installation method.

Installation Prerequisites

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

Preparing for the Installation

  1. Download the Kali mini ISO.
  2. Burn The Kali Linux ISO to DVD or Image Kali Linux Live to USB.
  3. Ensure that your computer is set to boot from CD / USB in your BIOS.

Kali Linux Installation Procedure

When you first boot the mini ISO, you will be presented with a small boot menu with various options. For this article, we will simply be doing a basic install.
mini_iso_1
You will next be prompted for various things such as your language and keyboard type, then you will need to select a hostname for your installation. We will stick with the default of kali.
mini_iso_2
Next, you will need to select your time zone, then you’ll be shown the partition options. To get up and running quickly, we will use ‘Guided – use entire disk’ and follow the prompts all the way through to create the new partitioning setup.
mini_iso_3
In order to reduce network bandwidth, a small subset of packages will be selected by default. If you wish to add different services or features, this is the area you would make your selections.
mini_iso_4
At this point, the installer will download all of the packages it requires and install them on the system. Depending on your Internet connectivity speed, this could take some time. Eventually, you will finally be prompted to install GRUB to finish the installation.
mini_iso_5

Post Installation

Now that you’ve completed installing Kali Linux, it’s time to customize your system. The Kali General Use section of our site has more information and you can also find tips on how to get the most out of Kali in our User Forums.

7.Kali Linux Network PXE Install:-

Kali
Booting and installing Kali over the network (PXE) can be useful from a single laptop install with no CDROM or USB ports, to enterprise deployments supporting pre-seeding of the Kali installation.

Setup a PXE Server

Booting and installing Kali over the network (PXE) can be useful from a single laptop install with no CDROM or USB ports, to enterprise deployments supporting pre-seeding of the Kali installation.
First, we need to install dnsmasq to provide the DHCP/TFTP server and then edit thednsmasq.conf file.
apt-get install dnsmasq
nano /etc/dnsmasq.conf
In dnsmasq.conf, enable DHCP, TFTP and PXE booting and set the dhcp-range to match your environment. If needed you can also define your gateway and DNS servers with the dhcp-option directive as shown below:
interface=eth0
dhcp-range=192.168.101.100,192.168.101.200,12h
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/tftpboot/
dhcp-option=3,192.168.101.1
dhcp-option=6,8.8.8.8,8.8.4.4
With the edits in place, the dnsmasq service needs to be restarted in order for the changes to take effect.
service dnsmasq restart

Download Kali PXE Netboot Images

Now, we need to create a directory to hold the Kali Netboot image and download the image we wish to serve from the Kali repos.
mkdir -p /tftpboot
cd /tftpboot
# for 64 bit systems:
wget http://repo.kali.org/kali/dists/kali-rolling/main/installer-amd64/current/images/netboot/netboot.tar.gz
# for 32 bit systems:
wget http://repo.kali.org/kali/dists/kali-rolling/main/installer-i386/current/images/netboot/netboot.tar.gz
tar zxpf netboot.tar.gz
rm netboot.tar.gz

Configure Target to Boot From Network

With everything configured, you can now boot your target system and configure it to boot from the network. It should get an IP address from your PXE server and begin booting Kali.
ENJOY   :-)








1 comment:

  1. CONTACT: onlineghosthacker247 @gmail. com
    -Find Out If Your Husband/Wife or Boyfriend/Girlfriend Is Cheating On You
    -Let them Help You Hack Any Website Or Database
    -Hack Into Any University Portal; To Change Your Grades Or Upgrade Any Personal Information/Examination Questions
    -Hack Email; Mobile Phones; Whatsapp; Text Messages; Call Logs; Facebook And Other Social Media Accounts
    -And All Related Services
    - let them help you in recovery any lost fund scam from you
    onlineghosthacker Will Get The Job Done For You
    onlineghosthacker247 @gmail. com
    TESTED AND TRUSTED!

    ReplyDelete