1
00:00:01,080 --> 00:00:03,410
Welcome to part three of this module.

2
00:00:03,510 --> 00:00:11,580
Today we're going to be looking at how to install Cally Linux with persistence onto a USP device such

3
00:00:11,580 --> 00:00:14,740
as for example a small thumb drive.

4
00:00:14,790 --> 00:00:21,960
This approach can be advantageous because having your operating system on a small thumb drive is very

5
00:00:21,960 --> 00:00:23,110
portable.

6
00:00:23,280 --> 00:00:30,000
You won't have to haul a laptop computer around with you everywhere you go from job site to job site

7
00:00:30,560 --> 00:00:32,660
you if there's going to be a computer present.

8
00:00:32,670 --> 00:00:38,580
You can simply use the USP device and boot from it.

9
00:00:38,580 --> 00:00:44,460
And because we will be installing the operating system with persistence any changes we make to it such

10
00:00:44,460 --> 00:00:53,240
as updating it or downloading new tools will persist even after we reboot the system.

11
00:00:53,250 --> 00:00:59,940
There is also an advantage for privacy conscious individuals or individuals who wish to keep customer

12
00:00:59,940 --> 00:01:10,110
data very safe between pin tests by USP device is logistically a bit easier to wipe than a computer

13
00:01:10,110 --> 00:01:11,260
hard drive.

14
00:01:11,520 --> 00:01:20,610
And of course if it's absolutely necessary it is psychologically much easier to smash such a device

15
00:01:20,670 --> 00:01:21,710
into little bits.

16
00:01:21,750 --> 00:01:31,110
If you really needed to and of course the cost of doing so would be relatively light since these devices

17
00:01:31,110 --> 00:01:32,940
tend to be very cheap.

18
00:01:33,180 --> 00:01:38,730
Certainly a great deal cheaper than disposing of an old laptop hard drive that after a great many pen

19
00:01:38,730 --> 00:01:45,370
tests has seen too much sensitive information to be left intact.

20
00:01:45,450 --> 00:01:52,440
Of course there are downsides to this your performance for your operating system will be somewhat limited

21
00:01:53,130 --> 00:02:02,820
to the rewrite speed of your U.S. be device and it will not be realistic to run virtualizing environments

22
00:02:03,570 --> 00:02:07,200
within the life boot.

23
00:02:07,500 --> 00:02:15,630
It just won't work well so to begin with we're going to be downloading two programs.

24
00:02:15,630 --> 00:02:22,970
So go ahead and open up your browser and the first program we're going to download is called mini partition

25
00:02:22,970 --> 00:02:24,650
wizard.

26
00:02:24,660 --> 00:02:28,170
There is a free version as of the time of this recording.

27
00:02:28,410 --> 00:02:31,980
Any partition tool that you would like to use will suffice.

28
00:02:31,980 --> 00:02:37,150
There are a great many pretty much any one of them will do the job.

29
00:02:37,160 --> 00:02:40,490
So feel free to use a different one if you prefer.

30
00:02:40,490 --> 00:02:45,380
I've selected this one because at the time of the recording it is free and will therefore be available

31
00:02:45,380 --> 00:02:47,510
to most students.

32
00:02:47,510 --> 00:02:56,240
When you have downloaded the program of your choice you will also need to download universal USP installer

33
00:02:58,020 --> 00:03:05,140
simply navigate down and click the download button.

34
00:03:05,250 --> 00:03:07,030
I've already done this.

35
00:03:07,170 --> 00:03:18,560
There is one more step you may need to complete and that is to download the Cally Linux iso file that

36
00:03:18,560 --> 00:03:25,330
we will be installing to our USP device so click on Download Kelly.

37
00:03:25,840 --> 00:03:29,910
And here you may select the version of your choice.

38
00:03:30,040 --> 00:03:38,170
Carly 64 bit is appropriate for most users older computers that can't run a 64 bit operating system

39
00:03:38,650 --> 00:03:43,420
will need the 32 bit version.

40
00:03:43,740 --> 00:03:53,020
However the 32 bit version may lack certain tools that the 64 bit version is able to run.

41
00:03:53,140 --> 00:03:59,400
I do not have extensive experience with 32 bit version and this tutorial will assume that you are using

42
00:03:59,400 --> 00:04:01,020
the 64 bit.

43
00:04:01,350 --> 00:04:09,210
So when you have selected your version of choice you may click each TTP for a direct download or if

44
00:04:09,210 --> 00:04:15,110
you have a third party software that is appropriate for taunting you may torrent the file.

45
00:04:15,120 --> 00:04:22,120
Keep in mind this is a fairly large file and the download will take some time once the download is complete.

46
00:04:22,170 --> 00:04:24,620
We'll have a file that looks like this.

47
00:04:24,740 --> 00:04:28,420
This is the iso file for Kali Linux.

48
00:04:28,450 --> 00:04:37,040
This is what we are going to install to our little USP device so go ahead and open up your Downloads

49
00:04:37,040 --> 00:04:45,010
folder and here will find universal USP installer provided of course that this is where you downloaded

50
00:04:45,010 --> 00:04:45,550
it to.

51
00:04:46,120 --> 00:04:47,140
And we're going to open it

52
00:04:49,960 --> 00:04:50,620
click agree

53
00:04:54,860 --> 00:05:04,130
and now from the drop down menu we're going to scroll all the way towards the bottom until we find Kelly

54
00:05:04,130 --> 00:05:04,850
Linux

55
00:05:07,760 --> 00:05:09,200
and select it.

56
00:05:09,560 --> 00:05:15,670
And now we will browse for our iso file which in my case it's located on the desktop.

57
00:05:15,680 --> 00:05:18,380
Yours will be wherever you chose to store it.

58
00:05:23,820 --> 00:05:27,930
And finally we all need to select our USP device.

59
00:05:27,930 --> 00:05:33,780
If you have not already done so make certain that you have plugged in the USP drive that you're planning

60
00:05:33,780 --> 00:05:35,840
to install Cally Linux to.

61
00:05:36,120 --> 00:05:40,990
It may not show up on this menu until you restart USP installer.

62
00:05:41,010 --> 00:05:47,870
If it's not plugged in at the time that you load the program keep in mind that when you click Create

63
00:05:47,930 --> 00:05:52,830
this will delete all data stored on that USP device.

64
00:05:52,940 --> 00:05:59,210
So make absolutely certain that there is nothing important on that device and if there is be sure to

65
00:05:59,210 --> 00:06:04,580
back it up before proceeding to the next step when you're sure you wish to proceed click the create

66
00:06:04,580 --> 00:06:05,200
button.

67
00:06:07,460 --> 00:06:10,070
And this will simply warn you of what I just told you.

68
00:06:10,130 --> 00:06:13,740
All data on the device will be lost click.

69
00:06:13,750 --> 00:06:18,920
Yes and this will begin the installation process.

70
00:06:18,920 --> 00:06:26,030
This process will take quite some time so I'm going to pause the recording here expect that this will

71
00:06:26,030 --> 00:06:29,990
take about 5 to 10 minutes for most operating systems

72
00:06:32,720 --> 00:06:38,810
now at the installation process complete we're going to open up our partition program once again I'd

73
00:06:38,810 --> 00:06:45,170
like to stress that you don't have to use mini partition tools or many tools partition you can use any

74
00:06:45,170 --> 00:06:47,940
program you wish that will do the job.

75
00:06:51,290 --> 00:06:55,560
From here we're going to click on our USP device.

76
00:06:55,640 --> 00:07:05,490
Make absolutely sure that it is selected and we're going to click move resize partition and we're going

77
00:07:05,490 --> 00:07:11,620
to drag this bar all the way back as far as it will go and click ok.

78
00:07:15,090 --> 00:07:20,850
Now click on the unallocated space and click the create partition button.

79
00:07:22,680 --> 00:07:33,390
Select yes make sure that the partition is selected as primary file system we're going to use x t for

80
00:07:35,390 --> 00:07:39,140
and for the partition label we will put in

81
00:07:41,960 --> 00:07:42,830
persistence

82
00:07:46,250 --> 00:07:47,620
click OK.

83
00:07:48,380 --> 00:07:51,140
I would like to insert a quick footnote here.

84
00:07:51,230 --> 00:07:56,190
The USP device that I'm using is a 15 gigabyte thumb drive.

85
00:07:56,210 --> 00:08:01,070
This is just something that I had lying around the office for demonstration purposes.

86
00:08:01,100 --> 00:08:08,810
However I strongly recommend that if you use this method your device have at least 30 gigabytes of space

87
00:08:08,870 --> 00:08:14,660
free in the unallocated partition that will become our storage area.

88
00:08:14,660 --> 00:08:20,780
So for example a 36 gigabyte device would be more than adequate.

89
00:08:20,900 --> 00:08:21,880
It is up to you.

90
00:08:21,950 --> 00:08:24,320
You can go with less if you want.

91
00:08:24,320 --> 00:08:31,280
However once we fully update our installation of Kali Linux a great deal of the space will be eaten

92
00:08:31,280 --> 00:08:37,760
up and you may wish to download more tools in the future but it is up to you when done.

93
00:08:37,820 --> 00:08:46,070
Press the Apply button to write the changes to the USP device.

94
00:08:46,240 --> 00:08:51,130
I've already done this once so the partition tool has less to do in my case.

95
00:08:51,130 --> 00:08:54,520
This will take a bit longer for you if it is your first time.

96
00:08:54,850 --> 00:09:00,370
I'm going to pause the recording here and resume when this process is complete.

97
00:09:00,670 --> 00:09:01,590
The process done.

98
00:09:02,620 --> 00:09:03,280
Click Okay.

99
00:09:05,170 --> 00:09:07,830
And now we can close out of this.

100
00:09:08,040 --> 00:09:15,780
Now it will be necessary to reboot your computer and to life boot off the USP device that you have just

101
00:09:15,780 --> 00:09:17,850
created.

102
00:09:17,850 --> 00:09:23,860
Instructions for doing this will vary from system to system so I cannot give you a demonstration.

103
00:09:23,880 --> 00:09:31,350
Some systems you will be able to open up a boot menu by simply pressing the F 12 key after your bio

104
00:09:31,350 --> 00:09:35,840
screen first appears very early in the boot process.

105
00:09:35,940 --> 00:09:39,990
Some systems will automatically recognize a USP device and boot from it.

106
00:09:39,990 --> 00:09:49,020
If it's plugged in other systems will require you to enter your bios and adjust your boot order.

107
00:09:49,290 --> 00:09:55,860
If you're still not clear on how to boot from USP and none of the options I've presented work for you

108
00:09:56,190 --> 00:10:03,420
it may be necessary to look up your individual system model and find out the correct procedure when

109
00:10:03,420 --> 00:10:04,180
you're ready.

110
00:10:04,290 --> 00:10:08,880
Go ahead and reboot the system and boot from the USP device

111
00:10:12,140 --> 00:10:14,120
when you reach this screen.

112
00:10:14,180 --> 00:10:24,170
Select live USP persistence and press the enter button once you have completed the boot process you

113
00:10:24,170 --> 00:10:30,260
should now be seeing the Cally Linux desktop and please let me begin by apologizing for the unusual

114
00:10:30,260 --> 00:10:37,310
aspect ratio it's not up to your Demi standards but until we achieve persistence and are able to update

115
00:10:37,310 --> 00:10:44,900
the system drivers X render was simply not willing to cooperate and display the screen in any mode other

116
00:10:44,900 --> 00:10:46,490
than the one you're seeing.

117
00:10:46,490 --> 00:10:49,160
You may have this problem as well but don't worry.

118
00:10:49,160 --> 00:10:55,060
Once the drivers are updated and the system has been brought up to spec this problem should disappear.

119
00:10:55,130 --> 00:11:03,180
So let's begin by opening up the terminal in the left console window and from here we will type the

120
00:11:03,180 --> 00:11:04,530
following commands

121
00:11:10,390 --> 00:11:17,770
f disk space dash L and then we're going to highlight the second partition on the list which is usually

122
00:11:17,980 --> 00:11:21,980
s d b to and we're going to copy it

123
00:11:29,170 --> 00:11:29,980
from here.

124
00:11:30,040 --> 00:11:35,440
You'll just need to type in the commands as you see me type them on screen one at a time.

125
00:11:36,560 --> 00:11:48,050
M K D I R which is short for make directory space dash P space forward slash M N T forward slash USP

126
00:11:49,910 --> 00:11:50,270
enter

127
00:11:57,240 --> 00:12:02,840
mount then go ahead and paste in the partition information press center

128
00:12:08,380 --> 00:12:08,830
echo

129
00:12:11,810 --> 00:12:26,280
quotation forward slash space union good quotation space greater than sine forward slash

130
00:12:32,040 --> 00:12:47,290
M and T forward slash USP forward slash persistence dot c o and F and press enter

131
00:12:53,160 --> 00:13:04,980
new mount and then paste in the drive the partition excuse me space forward slash M.A. forward slash

132
00:13:04,980 --> 00:13:14,080
USP and you may need to do this twice and you'll know that you've been successful when the small icon

133
00:13:14,110 --> 00:13:18,070
in the upper left corner that says persistence disappears.

134
00:13:18,130 --> 00:13:21,570
I'm really not sure why this had to be done twice.

135
00:13:21,940 --> 00:13:29,350
So if the command does not succeed on the first try tried again and it will succeed.

136
00:13:29,350 --> 00:13:30,340
There we go.

137
00:13:30,340 --> 00:13:33,730
The icon has now disappeared in the upper left hand corner.

138
00:13:33,850 --> 00:13:41,400
So all that is left now is to reboot and follow the normal procedure for booting from your USP.

139
00:13:41,410 --> 00:13:49,280
Remember to select USP persistence from the boot menu and you'll be ready for the next step.

140
00:13:49,300 --> 00:13:56,560
Now that we've rebooted let's go ahead and make a folder on the desktop and we'll call it test

141
00:14:00,170 --> 00:14:02,580
in a moment we're going to reboot the system.

142
00:14:02,690 --> 00:14:09,200
If the folder is present when the reboot completes we'll know that we have successfully installed persistence

143
00:14:12,920 --> 00:14:15,770
if the folder is still present after the reboot.

144
00:14:15,770 --> 00:14:21,570
It means that the process has been successful if it is not present.

145
00:14:21,570 --> 00:14:32,080
You may have missed a step along the way and now it is prudent to update our operating system.

146
00:14:32,080 --> 00:14:35,230
This is a lengthy process so you may wish to postpone it.

147
00:14:36,660 --> 00:14:38,240
Go ahead and connect to the Internet.

148
00:14:38,250 --> 00:14:48,050
If you're not already and open the terminal then type the following three commands at dash get.

149
00:14:48,250 --> 00:15:04,270
UPDATE 2 ampersand is apt dash get upgrade to more ampersand is apt dash get dist dashed upgrade it

150
00:15:04,270 --> 00:15:09,460
is not necessary to run these three commands back to back you could do them one at a time rather than

151
00:15:09,460 --> 00:15:14,830
consecutively and this might be wise as this will be a very lengthy process.

152
00:15:15,100 --> 00:15:21,130
The updates should correct any display problems you may be having such as the resolution issues I ran

153
00:15:21,130 --> 00:15:22,830
into while recording this video.

154
00:15:23,170 --> 00:15:26,950
If everything went well Kelly Linux is now installed with persistence.

