dual boot kali & windows 7

Upload: seaton-harns

Post on 02-Jun-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/11/2019 Dual Boot Kali & Windows 7

    1/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 1

    Dual Boot Kali & Windows 7

    MARCH 28, 2013 | POSTED IN KALI| NO COMMENTS

    Greetings

    In this tutorial we will walk together step by step into Creating a dual boot of Kali-Linux & Windows

    7. I Do not take credit for this post.

    So , Lets start :

    The objective here is to show how to install it on an HDD alongsideanexisting installation of

    Windows 7, with the Windows 7 boot manager as the master boot loader, so that at the end,

    when the computer is (re)booted, you will be presented with a boot menu that looks just like the

    one shown below. Selecting Windows 7 boots the system into Windows 7 and choosing Kali Linuxwill, by default, take you to the Kali Linux boot menu, which is the same thing as the GRUB 2 menu,

    the version of GRUB used by Kali Linux.

    To bypass Kali Linuxs boot menu, simply edit the file named /etc/default/grub and change

    GRUB_TIMEOUT=5 to GRUB_TIMEOUT=0. Then run the update-grub command.

    ARCHIVES

    March 2014(1)

    November 2013(4)

    October 2013(3)

    June 2013(1)

    April 2013(6)

    March 2013(5)

    February 2013(4)

    January 2013(18)

    December 2012(9)

    November 2012(14)

    BLOG CATEGORIES

    GNCC ATV(3)

    KaLi(9)

    Metasploit(6)

    News(13)

    NMAP(2)

    Password Cracking(4)

    Pentesting ISOs(3)

    Programming(3)

    Reference Sheets(3)

    Scripts(12)

    SQL(4)

    Tutorials(26)

    Uncategorized(2)

    Wireless(9)

    RECENT POSTS

    Quads Finally Done!

    Search & DL music with Kali Linux!

    TRX450er Fox Float DSC evol and Podium X

    setup info.

    911_AP updated for Kali linux. Help

    Meterpreter Script to BackDoor any Window

    Machine

    CALENDAR

    October 2014

    M T W T F S S

    1 2 3 4 5

    6 7 8 9 10 11 12

    HOME FORUMS ISO IMAGES YOUTUBE TWITTER WALLPAPERS LIBRARY search here...

    http://em3rgency.com/category/programming/http://em3rgency.com/category/kali/http://em3rgency.com/2012/12/http://em3rgency.com/meterpreter-script-to-backdoor-any-windows-machine/http://em3rgency.com/library/http://em3rgency.com/wallpapers/https://twitter.com/em3rgency_comhttps://www.youtube.com/channel/UCm6Br7PkG5_2qtZkt2QzAFg/videoshttp://em3rgency.com/iso-images/http://forum.top-hat-sec.com/index.phphttp://em3rgency.com/http://em3rgency.com/http://em3rgency.com/meterpreter-script-to-backdoor-any-windows-machine/http://em3rgency.com/911_ap-updated-for-kali-linux-help/http://em3rgency.com/fox-float-dsc-evol-and-podium-x-setup-info/http://em3rgency.com/search-dl-music-with-kali-linux/http://em3rgency.com/quads-finally-done/http://em3rgency.com/category/wireless/http://em3rgency.com/category/uncategorized/http://em3rgency.com/category/tutorials/http://em3rgency.com/category/sql/http://em3rgency.com/category/scripts/http://em3rgency.com/category/reference-sheets/http://em3rgency.com/category/programming/http://em3rgency.com/category/pentesting-isos/http://em3rgency.com/category/password-cracking/http://em3rgency.com/category/nmap/http://em3rgency.com/category/news/http://em3rgency.com/category/metasploit/http://em3rgency.com/category/kali/http://em3rgency.com/category/gncc-atv/http://em3rgency.com/2012/11/http://em3rgency.com/2012/12/http://em3rgency.com/2013/01/http://em3rgency.com/2013/02/http://em3rgency.com/2013/03/http://em3rgency.com/2013/04/http://em3rgency.com/2013/06/http://em3rgency.com/2013/10/http://em3rgency.com/2013/11/http://em3rgency.com/2014/03/http://em3rgency.com/category/kali/
  • 8/11/2019 Dual Boot Kali & Windows 7

    2/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 2

    1. Shrink the Windows 7 C Drive: My test system has an existing installation of Windows 7 on a 500

    GB HDD, with just two primary partitions. This is how they appear in Windows 7s partition

    manager. The task here is to shrink the C drive to create room for installing Kali Linux. To do that,

    right-click on the C drive and select Shrink Volume.

    Note: If you intend to install Windows 7 afresh, this process will be a lot easier if you set aside the

    free space that will be used for Kali Linux during the installation of Windows 7.

    If you have enough free space on the C drive, the system will suggest a 50-50 split of the free

    space. Which is just good enough for this test installation. Shrink.

    After the operation has completed, you should see the newly reclaimed space next to the C drive.

    You may exit the partition manager and reboot the computer. Be sure to have the installation disc

    of Kali Linux in the optical drive before rebooting.

    Mar

    13 14 15 16 17 18 19

    20 21 22 23 24 25 26

    27 28 29 30 31

    http://em3rgency.com/2014/03/
  • 8/11/2019 Dual Boot Kali & Windows 7

    3/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 3

    2. Install Kali Linux: The best option to select on Kali Linuxs boot menu is Graphical Install. It gives

    you a point-and-click installation process. Install works just as well, but the interface is ncurses-

    based.

    For installing Kali Linux, the following partitions will be created: /boot, /, /home, and Swap. In that

    order. The /home partition is optional. At the disk partitioning methods step of the installation

    process, you get a bunch of options. Because none of the guided options will create a separate

    /boot partition, creating the partitions will have to be done manually. So select Manual and click

    Continue.

  • 8/11/2019 Dual Boot Kali & Windows 7

    4/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 4

    Here you can see the existing Windows 7 partitions, both of which are primary part itions. The free

    space, reclaimed from Windows 7 in the previous step is what will be used for creating the

    partitions for Kali Linux. To start creating the partitions, select the free space and click Continue.

    Create a new partition. Continue.

  • 8/11/2019 Dual Boot Kali & Windows 7

    5/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 5

    This shows the total amount of disk space available for Kali Linux. The /boot partition will be

    created first, so you need to specify the amount of disk space for it.

    For this test system, I assigned 300 MB to it. Continue.

    Because you still have two primary partitions to use, you can create the boot partition as a primary

    or logical partition. Either option will work, but the installer prefers creating it as a primary

    partition, if the boot loader is going to be installed in it. For this test installation, I chose to create it

    as a logical partition. Continue.

  • 8/11/2019 Dual Boot Kali & Windows 7

    6/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 6

    Beginning. Continue.

    This step shows the details of the boot partition you just created. The only thing you need to

    change here is the mount point. Double-clicking on it will open another window where you can

    specify the correct mount point.

    Heres what it should look like after the mount point has been specified. The other option you

    might want to change here is the Bootable flag.

  • 8/11/2019 Dual Boot Kali & Windows 7

    7/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 7

    There is a good reason it should be enabled, but the system will boot even if it is disabled. It just

    depends on your BIOS version. For this test installation, it was disabled and the system still worked

    perfectly.

    Heres the final details of the boot partition. Scroll to Done setting up the partition, then click

    Continue.Note that the steps you used to create the boot partition will be repeated for the other

    partitions.

  • 8/11/2019 Dual Boot Kali & Windows 7

    8/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 8

    Back to the main disk partitioning window, you can see the boot partition you just created, plus the

    remaining free space. Select, the free space, then click Continue.

    The next partition will be mounted at /. A new installation of Kali Linux takes up about 6.4 GB of

    disk space, so any amount greater than that will do. For the test installation, I gave it 60 GB, which

    is way too much, so you do not have to do the same. About 10-12 GB is more than enough.

    Continue.

  • 8/11/2019 Dual Boot Kali & Windows 7

    9/15

  • 8/11/2019 Dual Boot Kali & Windows 7

    10/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 10

    For Swap, 2 GB is good enough. Continue.

    Here are the default details of the new partition. To specify that it be used as a Swap partition,

    double-click the Use as line.

    Then select swap area. Continue.

  • 8/11/2019 Dual Boot Kali & Windows 7

    11/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 11

    Scroll to Done setting up the partition, then click Continue.

    With all the partitions created, scroll to Finish partitioning and write changes to disk. Continue.

    Make note of the device number of the boot partition. Here, it is sda5. Youll need it later.

  • 8/11/2019 Dual Boot Kali & Windows 7

    12/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 12

    Select Yes. Continue.

    By default, the installer will want to install GRUB, the boot loader, in the Master Boot Record (MBR).

    However, for setting up this dual-boot system, we want GRUB in the boot partition. So, select No.

    Continue.

    his is where you have to specify where GRUB should be installed. For this test system, it is

    /dev/sda5. Continue.

  • 8/11/2019 Dual Boot Kali & Windows 7

    13/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 13

    After installation, the computer will reboot into Windows 7. The next task involves add an entry for

    Kali Linux in Windows 7s boot menu.

    3. Add Kali Linux to Windows 7s boot menu:The simplest graphical application for modifying the

    Boot Configuration Data of Window that I know, is EasyBCD. It is free for personal use. You may

    download it from here. Install it as you would any other Windows application. The main window is

    shown below. To add an entry for Kali Linux in the boot menu, click on the Add New Entrytab.

    Then click on the Linux/BSDtab. From the Type dropdown menu, select GRUB 2. Modify the name

    field to reflect the name of the distribution you are adding. From the Drive menu, you can either

    select the specific partition corresponding to the boot partition of the Kali Linux installation or let

    EasyBCD automatically locate and load it. Either one will work. Note that EasyBCDs drive numbers

    and the device numbers of the Linux partitions do not match. For example, in this test installation,the boot partition is /dev/sda5, but the corresponding drive number in EasyBCD is Partition 3. The

    size of the partition helps to determine which one it is. Click the Add Entry button when wll the

    options have been specified.

  • 8/11/2019 Dual Boot Kali & Windows 7

    14/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    http://em3rgency.com/dual-boot-kali-windows-7/ 14

    From the Edit Boot Menutab, you can see a preview of the entries that will appear in the Windows

    7 boot menu. Exit EasyBCD and reboot the computer. That should do it.

    Extra: Here are all the partitions on the HDD as seen from the Windows 7 partition manager.

  • 8/11/2019 Dual Boot Kali & Windows 7

    15/15

    10/3/2014 em3rgency's Blog Dual Boot Kali & Windows 7

    Post Comment

    That is it , Now you can enjoy your dual boot.

    Its a long tutorial , but after all , it is the only way to learn

    Greetings

    Leave a comment

    Your email address will not be published. Required fields are marked *

    Name *

    Email *

    Website

    Copyright 2014 em3rgency s Blog

    Proudly powered by WordPress. GamePress

    BACK TO TO

    http://webtuts.pl/themes/http://wordpress.org/http://em3rgency.com/