1 00:00:00,390 --> 00:00:07,110 Hello and welcome to part two of this module in this module we will be looking at how to install Kelly 2 00:00:07,110 --> 00:00:10,910 Linux alongside an existing operating system. 3 00:00:11,040 --> 00:00:18,300 In this case Windows 10 this will be a dual boot configuration that will involve partitioning a section 4 00:00:18,300 --> 00:00:22,410 of our harddrive which will be devoted to Kali Linux. 5 00:00:22,410 --> 00:00:28,730 This way when we boot the computer we will receive a boot options menu every time. 6 00:00:28,740 --> 00:00:34,980 That will allow us to choose between our existing operating system which in this case is Windows 10 7 00:00:35,550 --> 00:00:37,450 and Cally Linux. 8 00:00:37,470 --> 00:00:43,550 Keep in mind that this process will work with older versions of Windows Windows 8 and Windows 7. 9 00:00:43,560 --> 00:00:46,650 There are really no differences in the procedure. 10 00:00:46,650 --> 00:00:53,400 Also keep in mind that for recording purposes I am using a virtualize environment as it would otherwise 11 00:00:53,400 --> 00:00:59,730 be impossible to record the transitions between each step of the installation processes. 12 00:00:59,730 --> 00:01:02,160 Once we leave the windows 10 environment. 13 00:01:02,250 --> 00:01:07,920 This may lead to some rather unusual aspect ratios and I apologize for that. 14 00:01:07,920 --> 00:01:15,150 It will also mean that the drives I will be using will be much smaller than you will be using and I 15 00:01:15,150 --> 00:01:17,130 will point this out when it comes up. 16 00:01:17,160 --> 00:01:24,960 I recommend a minimum of 30 gigabytes be devoted to any Kelly Linux installation and doing less than 17 00:01:24,960 --> 00:01:27,040 that you may run into problems. 18 00:01:27,060 --> 00:01:30,480 So to begin we need to open up our web browser 19 00:01:33,540 --> 00:01:38,450 and we're going to need to download Kelly Linux for most users. 20 00:01:38,490 --> 00:01:44,760 The 64 bit version will be the version that you will be using for older computers that can't run up 21 00:01:44,760 --> 00:01:46,330 to date operating systems. 22 00:01:46,380 --> 00:01:49,100 The 32 bit version is available. 23 00:01:49,320 --> 00:01:52,440 There are slight differences between the versions. 24 00:01:52,440 --> 00:02:02,880 Nothing major but this tutorial will assume that you are using the 64 bit version each TTP will allow 25 00:02:02,880 --> 00:02:08,820 you to download it directly or you may torrent the file with a third party program if you wish. 26 00:02:08,880 --> 00:02:12,560 The creators have given universal permission to download it. 27 00:02:12,570 --> 00:02:20,830 Keep in mind that this is a fairly large file at 2.8 gigabytes once it is downloaded. 28 00:02:20,830 --> 00:02:23,530 You will have a file that looks like this. 29 00:02:23,530 --> 00:02:25,310 This is called an iso file. 30 00:02:25,330 --> 00:02:35,110 We will be burning this file to a U.S. B stick or to a DVD and using it to boot the system to proceed 31 00:02:35,110 --> 00:02:36,680 with the installation. 32 00:02:36,730 --> 00:02:44,440 If you have a DVD burner with your system and you also have a blank disk you may choose to burn this 33 00:02:44,500 --> 00:02:46,720 image at this time. 34 00:02:46,720 --> 00:02:54,470 However if you do not then you will need to once again open your browser 35 00:02:57,480 --> 00:03:05,270 and download universal USP installer. 36 00:03:05,390 --> 00:03:12,890 This program will allow us to place Cally Linux on to our USP stick and boot from it. 37 00:03:14,470 --> 00:03:16,960 Once that's done you can close the browser 38 00:03:20,220 --> 00:03:25,420 and please insert the USP device that you wish to use for this procedure. 39 00:03:25,440 --> 00:03:29,120 Please keep in mind that the device will need to be blank. 40 00:03:29,160 --> 00:03:35,720 Any information that is stored on it will be overwritten by this process so make sure that if you have 41 00:03:35,810 --> 00:03:43,050 anything on that device it's backed up before proceeding once the device is inserted. 42 00:03:43,050 --> 00:03:45,180 Go ahead and load USP installer 43 00:03:53,830 --> 00:03:59,880 and now from the top drag down menu we will need to select our operating system which in this case is 44 00:03:59,880 --> 00:04:04,460 called Linux you need to scroll all the way down 45 00:04:10,290 --> 00:04:20,800 to security and penetration testing and here it is and now we need to select our iso file which in my 46 00:04:20,800 --> 00:04:22,300 case is on the desktop. 47 00:04:22,300 --> 00:04:26,800 Yours will be wherever you saved it to so click the browse button 48 00:04:30,530 --> 00:04:32,510 and go ahead and select your iso file 49 00:04:38,870 --> 00:04:42,850 and now from this menu we need to select the USP device that will. 50 00:04:42,890 --> 00:04:43,790 We will be using 51 00:04:50,020 --> 00:04:55,690 once you're ready and once you're absolutely sure you're okay with this device being completely formatted 52 00:04:55,990 --> 00:04:57,370 click the create button. 53 00:05:00,500 --> 00:05:03,320 And this screen is simply warning you of what I just said. 54 00:05:03,350 --> 00:05:06,760 The device will be overwritten when you're sure. 55 00:05:06,770 --> 00:05:07,100 Click. 56 00:05:07,100 --> 00:05:12,560 Yes this installation process will take some time. 57 00:05:12,650 --> 00:05:17,930 So I'm going to pause the recording at this point and resume it when the process is complete. 58 00:05:21,070 --> 00:05:22,910 Now the process is complete. 59 00:05:22,930 --> 00:05:29,410 Please close this window and inject your USP device 60 00:05:37,960 --> 00:05:38,890 with this done. 61 00:05:38,920 --> 00:05:42,030 It will now be time to set up our system partitions. 62 00:05:42,040 --> 00:05:45,910 Now you can use any partition tool that you wish for this procedure. 63 00:05:45,910 --> 00:05:50,830 There are a great many tools available on the Internet some free some not. 64 00:05:50,830 --> 00:05:54,940 However it is not necessary to use a third party program. 65 00:05:54,940 --> 00:06:00,800 The windows petitioner will suffice for this particular situation. 66 00:06:01,270 --> 00:06:03,820 So go ahead and open up your file manager 67 00:06:06,610 --> 00:06:18,330 and right click on this P.C. or whatever you have named it and select Manage when this window comes 68 00:06:18,330 --> 00:06:18,750 up. 69 00:06:18,750 --> 00:06:20,310 Click on disk management 70 00:06:27,420 --> 00:06:33,280 and now we can see an overview of our partitions right now. 71 00:06:33,280 --> 00:06:37,210 We only have the windows partition which is right here. 72 00:06:37,240 --> 00:06:42,810 The partition currently selected designated as C we're going to start by clicking it. 73 00:06:42,820 --> 00:06:44,440 If it's not already selected 74 00:06:49,500 --> 00:06:53,620 right click select shrink volume 75 00:07:00,970 --> 00:07:07,920 now will be necessary to determine how much free space you wish to allocate to your colleague Linux 76 00:07:07,920 --> 00:07:10,000 installation. 77 00:07:10,050 --> 00:07:14,950 I'll remind you again that because I'm using virtual box these numbers are very small. 78 00:07:14,970 --> 00:07:22,200 You will want to allocate a minimum of at least 30 gigabytes to your Cally installation and probably 79 00:07:22,200 --> 00:07:24,650 more at the time of this recording. 80 00:07:24,660 --> 00:07:31,350 30 gigabytes is sufficient but Carly is a system that is always being improved with each new distribution 81 00:07:31,380 --> 00:07:38,620 and new tools are being released almost daily so that the bare minimum is likely to increase with time. 82 00:07:38,640 --> 00:07:47,520 Realistically a minimum of 50 gigabytes is probably best and that is minimum but at the time of this 83 00:07:47,520 --> 00:07:54,180 recording you can get away with 30 for demonstration purposes the number I'm going to enter will be 84 00:07:54,180 --> 00:08:00,430 much smaller once the process is complete and you see unallocated space. 85 00:08:00,520 --> 00:08:11,440 Go ahead and close this window make absolutely sure that your USP device is removed and reboot the system. 86 00:08:11,440 --> 00:08:13,810 This will ensure that the partitioning goes smoothly 87 00:08:31,550 --> 00:08:34,700 once the obligatory reboot is out of the way. 88 00:08:34,730 --> 00:08:40,430 Go ahead and insert your USP device on which you have installed Kali Linux. 89 00:08:40,490 --> 00:08:42,820 We're going to reboot one more time now. 90 00:08:42,830 --> 00:08:49,460 Unfortunately I can't give you specific instructions for this next step of the procedure because it 91 00:08:49,460 --> 00:08:57,650 will vary from system to system on my system and I suspect many the F 12 key can be held down during 92 00:08:57,650 --> 00:09:04,130 the early part of the boot process when the BIOS screen first appears and this will open a one time 93 00:09:04,130 --> 00:09:09,830 boot menu allowing me to select the boot from USP option. 94 00:09:09,830 --> 00:09:14,840 Some computers will automatically boot from USP or a DVD. 95 00:09:14,960 --> 00:09:22,910 If one is detected at the time of booting sometimes you may have to go into your computer bios and change 96 00:09:22,910 --> 00:09:32,150 the boot order so that the U.S. B device or the DVD depending on which you're using boots before the 97 00:09:32,150 --> 00:09:36,270 hard drive no only to make sure that the media is inserted. 98 00:09:36,440 --> 00:09:43,230 Then when you reboot it will be checked first for specific instructions regarding your computer model. 99 00:09:43,310 --> 00:09:45,170 Please consult your user manual 100 00:09:58,440 --> 00:10:00,350 once you reach this menu. 101 00:10:00,900 --> 00:10:07,530 Select graphical install press Enter several. 102 00:10:07,530 --> 00:10:10,190 Error messages will display on screen. 103 00:10:10,210 --> 00:10:11,980 This is actually normal. 104 00:10:11,980 --> 00:10:13,900 Just ignore them. 105 00:10:14,110 --> 00:10:23,180 Select your language click Continue select your country click continue 106 00:10:26,820 --> 00:10:29,420 and finally select your keyboard layout. 107 00:10:29,580 --> 00:10:36,660 Please keep in mind that all modules in this class will assume that you are using American English click 108 00:10:36,660 --> 00:10:37,190 continue 109 00:10:45,710 --> 00:10:46,630 to save time. 110 00:10:46,640 --> 00:10:55,420 I will be making pauses to the recording to abbreviate these rather lengthy processes now. 111 00:10:55,480 --> 00:10:59,740 It will be necessary to select your hostname. 112 00:10:59,910 --> 00:11:02,120 You may type in anything you wish. 113 00:11:02,130 --> 00:11:03,720 Kali will suffice. 114 00:11:03,720 --> 00:11:05,070 When you're ready click continue. 115 00:11:07,670 --> 00:11:10,210 We will be skipping this step for now. 116 00:11:10,370 --> 00:11:11,150 Click Continue. 117 00:11:14,020 --> 00:11:16,930 You have the option of inputting a password. 118 00:11:16,930 --> 00:11:21,430 I strongly recommend that you do this if you choose to leave this blank. 119 00:11:21,430 --> 00:11:24,640 You won't be prompted for a password very often. 120 00:11:24,640 --> 00:11:31,090 However it will come up occasionally and the lock screen if you allow your computer to idle out will 121 00:11:31,090 --> 00:11:36,770 require you to type a password even though you don't have to type one when you first load the system. 122 00:11:36,790 --> 00:11:41,440 Kelly uses the word Tor as a default password. 123 00:11:41,440 --> 00:11:47,710 That's t o o r root spelled backwards. 124 00:11:47,710 --> 00:11:53,380 And this has been the case ever since the earliest versions of the precursor to Kylie Linux which was 125 00:11:53,380 --> 00:11:55,230 backtrack 5. 126 00:11:55,240 --> 00:12:01,120 This is a very poor security practice and anyone with familiarity with the operating system will be 127 00:12:01,120 --> 00:12:07,360 aware of this password and what's worse if you forget that the password is Tor because it's not something 128 00:12:07,360 --> 00:12:08,980 you personally set. 129 00:12:09,040 --> 00:12:13,060 You may find yourself locked out of the system at inappropriate times. 130 00:12:13,090 --> 00:12:16,120 So I'd recommend setting a password now 131 00:12:21,630 --> 00:12:22,510 when you've done this. 132 00:12:22,530 --> 00:12:23,250 Click Continue 133 00:12:27,870 --> 00:12:31,830 select your time zone click Continue 134 00:12:38,130 --> 00:12:44,730 experienced users of Linux often disagree on the best way to install a Linux distribution. 135 00:12:44,760 --> 00:12:52,230 Some people like to use manual and do fancy things like split up their home directory and their root 136 00:12:52,230 --> 00:12:56,700 directory and so forth creating various partitions. 137 00:12:56,880 --> 00:13:03,600 You can do this if you wish but it's really not necessary for the purposes of this tutorial. 138 00:13:03,600 --> 00:13:06,630 We will be using the guided method. 139 00:13:06,630 --> 00:13:15,860 This will also incidentally set up our swap file automatically press continue. 140 00:13:15,870 --> 00:13:18,870 This is just giving you the option that I described a moment ago. 141 00:13:19,050 --> 00:13:27,390 You could choose to separate out your home your other partitions or simply separate your home partition. 142 00:13:27,390 --> 00:13:34,470 There are pros and cons to doing so and explaining them as a bit outside of the scope of this particular 143 00:13:34,470 --> 00:13:38,750 module if you wish to research it on your own you may do so. 144 00:13:38,790 --> 00:13:45,420 However there's really no disadvantage to using all in one partition for the purposes of this class. 145 00:13:45,450 --> 00:13:49,470 And so that's what I'm going to be going with just to keep things simple. 146 00:13:49,620 --> 00:13:58,640 So when you're ready click Continue now in my case it set up a very small swap partition of two point 147 00:13:58,640 --> 00:14:00,070 one gigabytes. 148 00:14:00,080 --> 00:14:06,890 This is because as I explained earlier for demonstration purposes I'm using virtual box to be able to 149 00:14:06,890 --> 00:14:13,370 record this stage of the installation process and I used a small fixed disk size. 150 00:14:13,400 --> 00:14:19,250 The reason I'm bringing this up again is that you may wish to adjust this number up in your case. 151 00:14:19,250 --> 00:14:28,170 I recommend a minimum of 4 gigabytes for the swap file however what you're seeing here is adequate though 152 00:14:28,180 --> 00:14:33,070 again you'll want your installation partition to be much larger than this. 153 00:14:33,070 --> 00:14:41,140 I recommend a minimum of 30 gigabytes but realistically 50 and the swap partition should be four gigabytes. 154 00:14:41,140 --> 00:14:44,760 You may assign more than 4 gigabytes if you wish. 155 00:14:44,770 --> 00:14:53,350 I don't believe that excessively large swap partitions do very much for system performance but it is 156 00:14:53,350 --> 00:15:00,970 your option when you are satisfied with the way things look click finish partitioning and write changes 157 00:15:00,970 --> 00:15:04,670 to disk and then click the Continue button 158 00:15:08,980 --> 00:15:13,150 right change to disk select yes and click continue. 159 00:15:15,990 --> 00:15:23,250 Once again this process will take some time so I will pause the recording and resume when this process 160 00:15:23,310 --> 00:15:27,800 is complete and do expect this to take quite a while. 161 00:15:27,810 --> 00:15:34,740 On most systems now that the process is done we're going to go ahead and say no to this dialog option. 162 00:15:34,920 --> 00:15:38,070 We will be updating manually from within Kelly so click continue 163 00:15:42,210 --> 00:15:44,180 and finally click yes. 164 00:15:48,640 --> 00:15:50,770 Go ahead and select your drive 165 00:15:53,510 --> 00:15:55,590 and click continue. 166 00:15:55,610 --> 00:15:58,160 This is installing the grub bootloader. 167 00:15:58,250 --> 00:16:03,030 This will allow you to select which operating system you wish to use. 168 00:16:03,050 --> 00:16:11,050 When you put your computer in this case it will give an option between Windows 10 and Cally Linux. 169 00:16:11,180 --> 00:16:17,570 If you are using Windows 7 or Windows 8 it would obviously say Windows 7 or Windows 8. 170 00:16:17,630 --> 00:16:24,230 It is also possible to use this same method with another distribution of Linux if you wish to have more 171 00:16:24,230 --> 00:16:32,040 than one Linux operating system on your computer the installation is now complete and we are being prompted 172 00:16:32,040 --> 00:16:33,450 to reboot our system 173 00:16:36,870 --> 00:16:43,560 so go ahead and reboot this menu or one that is very graphically similar is what you will be presented 174 00:16:43,560 --> 00:16:46,500 with when you load your computer from this point on. 175 00:16:46,530 --> 00:16:52,650 This is the grub bootloader and it will give you the option of booting either Cally Linux or Windows 176 00:16:52,650 --> 00:17:00,510 10 or in the case of older systems Windows 8 Windows 7 etc. You could actually have more than just two 177 00:17:00,510 --> 00:17:05,060 operating systems installed grub will automatically detect them. 178 00:17:05,070 --> 00:17:09,570 However this is a topic for an advanced course for right now. 179 00:17:09,590 --> 00:17:15,860 Go ahead and proceed to load into Kelly and our final step will be to conduct the basic update 180 00:17:21,370 --> 00:17:25,490 once you've loaded into Kelly Linux and you see this desktop. 181 00:17:25,730 --> 00:17:30,860 Go ahead and connect to the Internet by going to the upper right hand corner 182 00:17:34,450 --> 00:17:35,740 and selecting your network 183 00:17:41,980 --> 00:17:53,060 once connected please open your terminal that's this little icon in the left side of the screen. 184 00:17:56,310 --> 00:18:02,290 And you're going to need to run 3 update commands that will bring the operating system up to date. 185 00:18:02,290 --> 00:18:04,370 You can do these one at a time. 186 00:18:04,390 --> 00:18:11,350 I will present them all together with two Ampersand separating them which will cause Linux to run them 187 00:18:11,590 --> 00:18:12,580 consecutively. 188 00:18:12,580 --> 00:18:18,670 That is to say it'll run the first and when it finishes it will run the second followed by the third. 189 00:18:18,670 --> 00:18:21,190 So the first command is apt. 190 00:18:21,190 --> 00:18:24,460 Dash get update 191 00:18:27,320 --> 00:18:29,360 the second command is apt. 192 00:18:29,420 --> 00:18:41,460 Dash get upgrade in the third command is apt dash get dist dash upgrade 193 00:18:44,390 --> 00:18:47,060 this process will take a very long time. 194 00:18:47,090 --> 00:18:50,090 You may wish to run these commands one at a time. 195 00:18:50,300 --> 00:18:56,530 If you run them all together you can leave the operating system unattended to conduct the update. 196 00:18:56,540 --> 00:19:04,070 However there may be tools that will require some sort of user input to confirm their installation. 197 00:19:04,070 --> 00:19:10,040 So unfortunately this can't be left completely unattended all the way through the process. 198 00:19:10,130 --> 00:19:16,830 Once your system is successfully updated you will have successfully installed Cally Linux. 199 00:19:16,910 --> 00:19:17,240 Thank you.