Installing Kali Linux 2021.3a on USB stick with persistence & encryption: step by step manual

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • How to install Kali Linux 2021.3a on USB thumb drive with persistence to save all your files and settings, secured by LUKS encryption.
    In this step-by-step tutorial you will learn how to get latest Kali distro, where to get all the needed software and exactly how you can make a bootable Kali USB stick with encrypted persistence mode.
    book.cyberyozh...
    t.me/book_cybe...

ความคิดเห็น • 89

  • @cyberyozheng1879
    @cyberyozheng1879  2 ปีที่แล้ว

    twitter.com/CyberyozhN

  • @soklog1
    @soklog1 ปีที่แล้ว +2

    Thank you!

  • @funclipshotonandroid1427
    @funclipshotonandroid1427 3 ปีที่แล้ว +6

    That was wonderful...
    Good luck man...

  • @jcantonelli1
    @jcantonelli1 11 หลายเดือนก่อน +1

    What a useful tutorial - thanks!

  • @crossddelta
    @crossddelta 3 ปีที่แล้ว +2

    That was an AWESOME tutorial man, congrats! Please, keep up with the good work!

  • @abhijeetoswal3909
    @abhijeetoswal3909 3 ปีที่แล้ว +5

    Very nice and very detailed… it helped . Thanks

  • @anyketnaskar
    @anyketnaskar 7 หลายเดือนก่อน

    8:05 when I enter the password, it says "No key available with this passphrase."
    I tried everything from changing the password to renaming it but nothing works. Yes, I am entering the correct password and my Capslock is not on.

  • @geosaiofficial1070
    @geosaiofficial1070 2 ปีที่แล้ว +2

    I do have persistance folder for my data. But, why I can't retain my desktop settings?

  • @jayachandram3086
    @jayachandram3086 2 ปีที่แล้ว +1

    Thanks for your help , explained and understood in a very clear manner .

  • @orelbenhamo3525
    @orelbenhamo3525 3 ปีที่แล้ว +3

    hey , first of all i wish everybody would do video toturial like you , you the best i saw till now (and im with this problem 4 days lol) . finally fix it thanks to you.. please make more eng tutorial :) but now that i heve persistence it w'ont upgrade when i do "$ sudo apt full-upgrade -y" it stuck on 0% in progress.. please help me

  • @mbattles2
    @mbattles2 ปีที่แล้ว

    Im trying to do this on a sd card. Im having trouble i think mine is only readable and i cant write in it. Sadly rufus wont work for this.

  • @Free-Palestine.....
    @Free-Palestine..... 2 ปีที่แล้ว +2

    Finally, it worked.
    Thanks bro 🌷

  • @maph420
    @maph420 2 ปีที่แล้ว +2

    worked pretty well, thanks dude!

  • @wisdomquotaza
    @wisdomquotaza 3 ปีที่แล้ว +3

    You deserve more subscribers

  • @brolytim4303
    @brolytim4303 ปีที่แล้ว

    so first boot you chose "live system" and continue configurating the persistence & encrypt, but after you do this and restart the kali, u chose "live system" or "live syste with persistence" for default?

  • @Lenjiy
    @Lenjiy 2 ปีที่แล้ว +1

    this tutorial is so easy to follow. Thank you :D

  • @contfals4381
    @contfals4381 2 ปีที่แล้ว +1

    Hey what to do if it doesn save the files

  • @abdoudz7521
    @abdoudz7521 ปีที่แล้ว +1

    Thank you very much it's really work

  • @WolfGamingNation
    @WolfGamingNation ปีที่แล้ว

    When i enter in encrypt ... the partition dont mount automatic and dosnt save anything

  • @biriani2855
    @biriani2855 2 ปีที่แล้ว

    Help I keep getting the target is busy when I type umount /dev/mappper/pers

  • @soufianechahbouni5460
    @soufianechahbouni5460 ปีที่แล้ว +1

    Thank you so much you are helped me very thank

  • @morganvladimir5415
    @morganvladimir5415 3 ปีที่แล้ว +12

    What command did you use at 6:32 to check the mount point ?

    • @cyberyozheng1879
      @cyberyozheng1879  3 ปีที่แล้ว +18

      sudo passwd root
      su root
      fdisk -l
      cryptsetup --verbose --verify-passphrase luksFormat /dev/sdb3
      cryptsetup luksOpen /dev/sdb3 pers
      mkfs.ext3 /dev/mapper/pers
      e2label /dev/mapper/my_usb persistence
      mkdir -p /mnt/pers
      mount /dev/mapper/pers /mnt/pers
      nano /mnt/pers/persistence.conf
      # write the line below and save
      / union
      umount /dev/mapper/pers
      cryptsetup luksClose /dev/mapper/pers

    • @manishshokeen8625
      @manishshokeen8625 3 ปีที่แล้ว +3

      thanks i was looking for the same thing

    • @geosaiofficial1070
      @geosaiofficial1070 2 ปีที่แล้ว +1

      @@manishshokeen8625 same

    • @Free-Palestine.....
      @Free-Palestine..... 2 ปีที่แล้ว +1

      Same. Thx

    • @mbattles2
      @mbattles2 ปีที่แล้ว

      How to save / union I dont see a save button

  • @Secretrose-x2r
    @Secretrose-x2r ปีที่แล้ว

    How do u save when u type in / union someone pls help!!!

  • @theodoresteiner3501
    @theodoresteiner3501 2 ปีที่แล้ว +1

    Did anyone else run into this problem: I was able to carry out the etcher/partition steps without error, but when I attempt to boot from the external HD I'm using, and I select it in the boot menu, nothing happens: the screen flashes, and just reloads the boot menu options

    • @theodoresteiner3501
      @theodoresteiner3501 2 ปีที่แล้ว +1

      Update Solved: To anyone having this issue:
      (1) Enter BIOS
      (2) Navigate to "Security" tab
      (3) Select "Secure Boot" and then "Disable"
      (4) Navigate to "Start-up" tab
      (5) Enable "Both" UEFI/Legacy Boot
      Now, when you change the boot order, Kali should boot without issue

  • @TheAshish60
    @TheAshish60 2 ปีที่แล้ว +1

    luksOpen command doesnt work , is there any solution for this

    • @TheAshish60
      @TheAshish60 2 ปีที่แล้ว

      cryptsetup -v luksOpen /dev/sdb3 pers
      that code worked for me

  • @tilted2339
    @tilted2339 ปีที่แล้ว +1

    Thank you❤ you are the best.

  • @vrishabvishnu5520
    @vrishabvishnu5520 3 ปีที่แล้ว +2

    Should we boot into forensic mode initially? And then persistence mode?

  • @4n7h4r4x
    @4n7h4r4x 3 ปีที่แล้ว +1

    5:02 didnt understand what should i do next , plz help im trying tp get kali instead of win , thanks

    • @cyberyozheng1879
      @cyberyozheng1879  3 ปีที่แล้ว +2

      You need to plug your usb drive in, reboot pc or laptop and select boot menu on startup. It's usually F12 button but can vary on different laptops, if F12 does not work then search for "[your model] boot menu"

    • @emmet2899
      @emmet2899 3 ปีที่แล้ว

      @@cyberyozheng1879 then what do you do once you get to boot menu? You left that part out.

    • @manofmartin
      @manofmartin 3 ปีที่แล้ว

      @@emmet2899 look for boot sequence. Find the USB and move it to the top.

  • @contfals4381
    @contfals4381 2 ปีที่แล้ว

    What did u typed in root kali home kali

  • @contfals4381
    @contfals4381 2 ปีที่แล้ว

    Hey i need to enter in encrypted persistence or just usb persistence

  • @kitsumikiVT
    @kitsumikiVT ปีที่แล้ว

    When I reboot it I get into grub and cant boot kali

  • @Nitishyadav-qm6nq
    @Nitishyadav-qm6nq 3 ปีที่แล้ว

    Please, how to remove write protection from pendrive

  • @imadobermann
    @imadobermann 2 ปีที่แล้ว

    8:38 always says ...wrong fs type, bad option, bad Superblock on...

  • @frikkiebecker394
    @frikkiebecker394 ปีที่แล้ว

    Hi. How did you save the persistence.conf file after typing.
    / union. You Just say that you save it. Please tell me what or were to find the save menu there.
    Kindest Regards Frik.

    • @hueyvandiver9819
      @hueyvandiver9819 ปีที่แล้ว

      control +X

    • @doomu9
      @doomu9 ปีที่แล้ว

      hi, how did you even open the window to write /union im linux beginner@@hueyvandiver9819

  • @SkitoOwn
    @SkitoOwn 3 ปีที่แล้ว

    Thanks for the nice video! One question, if you don't mind:
    I noticed on your file explorer that you only had 3.8 GiB free space on the Desktop/new folder, not the 5 GiB we have set. I also tried it here with an even larger partition, and when I opened my file explorer I saw something similar. Does it mean we are limited to 3.8 GiB on the Desktop, for instance? If so, are we able to expand it?

  • @Rheaded
    @Rheaded 2 ปีที่แล้ว

    What shortcut you used for checking disks

  • @unknownexe-ih7wj
    @unknownexe-ih7wj 3 ปีที่แล้ว

    if i formats my pendrive will the partition mess up my pendrive ?

  • @himothy-90
    @himothy-90 3 ปีที่แล้ว +2

    what did you do at 6:31

    • @cyberyozheng1879
      @cyberyozheng1879  3 ปีที่แล้ว +2

      sudo passwd root
      su root
      fdisk -l
      cryptsetup --verbose --verify-passphrase luksFormat /dev/sdb3
      cryptsetup luksOpen /dev/sdb3 pers
      mkfs.ext3 /dev/mapper/pers
      e2label /dev/mapper/my_usb persistence
      mkdir -p /mnt/pers
      mount /dev/mapper/pers /mnt/pers
      nano /mnt/pers/persistence.conf
      # write the line below and save
      / union
      umount /dev/mapper/pers
      cryptsetup luksClose /dev/mapper/pers

  • @neuralsdata
    @neuralsdata 3 ปีที่แล้ว

    How to update/upgrade after installation?

  • @chandubhai1u257
    @chandubhai1u257 3 ปีที่แล้ว

    I am not found live boot mode
    Can i boot as live system

  • @contfals4381
    @contfals4381 2 ปีที่แล้ว

    Bro its not working at cryptsetub verbose etc

  • @Yaseen.Kareem
    @Yaseen.Kareem 3 ปีที่แล้ว

    When i need to format then tell me
    "Failed to open file in read/writ mode"
    Any help?

  • @vrishabvishnu5520
    @vrishabvishnu5520 3 ปีที่แล้ว +1

    Why isn't the old method using Rufus not helpful?

    • @cyberyozheng1879
      @cyberyozheng1879  3 ปีที่แล้ว +4

      Rufus can create persistence drive with a few clicks, and it's easier. But it's always a good practice to get your hands dirty and do something that's automated manually. For the sake of understanding how it works under the hood.

  • @kevindanielfondevilaricard6103
    @kevindanielfondevilaricard6103 2 ปีที่แล้ว

    Why isn't working my wifi device ?

  • @rukyp
    @rukyp 3 ปีที่แล้ว

    searched for days and spent hours mucking about with archaic and old methods to flip this trick just to find out this is now a 5 minute no fuss, no muss job with RUFUS 3.16 and up.
    It has a tab to set up persistence even before you setup the usn installer.
    Hope this helps someone, peace

    • @blazeg263
      @blazeg263 ปีที่แล้ว

      So Rufus already does it for you?

  • @Rheaded
    @Rheaded 2 ปีที่แล้ว

    This software took 4 weeks to complete 24.4 gb partitioning

  • @yonasmillion904
    @yonasmillion904 3 ปีที่แล้ว

    How can you save nano file

    • @davidu9904
      @davidu9904 2 ปีที่แล้ว

      Ctrl-X, hit yes to confirm

  • @alfiesparkes3099
    @alfiesparkes3099 3 ปีที่แล้ว +5

    This is the worst video I’ve seen after doing all this not one thing even saved

  • @contfals4381
    @contfals4381 2 ปีที่แล้ว

    It wants my password at the begining but after it doesnt save files

  • @MINDDUMPP
    @MINDDUMPP 2 ปีที่แล้ว

    I flashed the usb with my android phone

  • @velljo
    @velljo 2 ปีที่แล้ว +3

    This is by far the worst video tutorial I have ever endured - Thank you for wasting 2 hours of my life. After all that, the only thing that was encrypted was 1 folder - Desktop or other areas are still in live mode meaning nothing is saved, absolutely pointless.
    Every step was followed exactly as you mentioned even though I had to google things because you don't explain properly for example you just skip scenes and end up somewhere else like Nano, you never mentioned how to save the nano file. At the beginning I think at 6:30 there was no command to to check mount point.
    Now I need to find another video tutorial as im assuming critical parts were left out/skipped making it pointless and not working as it should

    • @WolfGamingNation
      @WolfGamingNation ปีที่แล้ว

      If you find send an link here 😂😂😂

  • @innoxentgaming9266
    @innoxentgaming9266 3 ปีที่แล้ว

    wifi not shiwing plese give us link for drivers

    • @faycelriag4835
      @faycelriag4835 3 ปีที่แล้ว

      try this comman ( sudo apt-get install network-manager )

  • @AdamA-wg1ko
    @AdamA-wg1ko 3 ปีที่แล้ว

    We never checked the sum tho... not just paranoia. We should do that.

  • @mdnaveeds7964
    @mdnaveeds7964 2 ปีที่แล้ว +2

    everything worked fine except persistence which was the main reason i came to this video desktop changes and folders created are not working

    • @contfals4381
      @contfals4381 2 ปีที่แล้ว

      And i got that problem

  • @H4R4K1R1x
    @H4R4K1R1x 3 ปีที่แล้ว

    Nice one

  • @z33andme71
    @z33andme71 2 ปีที่แล้ว +2

    It was going good until you switch screens at 9:05. I'm new at this and all I typed up to there was good. So, I have to erase my usb, make a new one, find another video to help me that don't switch screens and change dir. smh...

    • @davidu9904
      @davidu9904 2 ปีที่แล้ว +1

      He didn't switch screens. He opened the file that he had just created in nano, his text editor.
      You could just type 'nano persistence.conf' to get to the next step.

  • @alfredodirksen6370
    @alfredodirksen6370 3 ปีที่แล้ว

    good vid

  • @sapumalaryarathne2052
    @sapumalaryarathne2052 2 ปีที่แล้ว

    👊🏼

  • @DustyBaker987
    @DustyBaker987 ปีที่แล้ว

    Зачитальнормально 😊

  • @3dynastyrich282
    @3dynastyrich282 2 ปีที่แล้ว +1

    cryptsetup luksClose /dev/mapper/pers
    Shows still in use

    • @I4nni
      @I4nni 2 ปีที่แล้ว

      you probably forgot to unmount, to solve write:
      umount /dev/mapper/pers

    • @SmurtzTR
      @SmurtzTR ปีที่แล้ว

      @@I4nnitarget is busy for that one

  • @contfals4381
    @contfals4381 2 ปีที่แล้ว

    How do i enter in boot from my flash drive