How To Use Linux LUKS Full Disk Encryption For Internal / External / Boot Drives

  Рет қаралды 111,111

Lawrence Systems

Lawrence Systems

Күн бұрын

Пікірлер: 90
@praecorloth
@praecorloth 6 жыл бұрын
2:10 "What's the easiest way to get around LUKS?" Only appropriate response: "Good LUKS with that!"
@LennLeaf
@LennLeaf 17 күн бұрын
Hah😂 I see what you did there!
@dannyism3221
@dannyism3221 5 жыл бұрын
Finally a video that actually explains the technology, rather than just spoonfeeding me commands to copy into the terminal.
@jamescarson4507
@jamescarson4507 3 жыл бұрын
This video just blew me away. i switched to Linux last week from Windows, and this OS which is user involved, is very interesting and fun working in a more hands-on fashion.
@trapOrdoom
@trapOrdoom 2 жыл бұрын
I did too, and I fucking loveee it! I can’t stop looking at my desktop and terminal!
@BangBangBang.
@BangBangBang. 6 жыл бұрын
I would be interested in the remote key video. I've been in the industry for a long time and thought I was retired. Your videos keep me one foot inside the industry. I just needed a career to pay the bills and avoid IT burnout so I work a 9-5 and manage a few servers for customers.
@ckrajewski79
@ckrajewski79 6 жыл бұрын
Agreed I would love to see a good video on how to achieve that.
@example101
@example101 3 жыл бұрын
Ticked every checkbox in the lesson plan. Could/should be first video lesson in any Linux Certification syllabus. Great work.
@broadrama43
@broadrama43 5 жыл бұрын
7:40 yes please make a video about that :) Thank you
@chromerims
@chromerims 4 ай бұрын
Glad I came around to watching this at long last. Worthwhile 👍 Thank you.
@TVJAY
@TVJAY 6 жыл бұрын
I would love to see more videos about this, especially the scripts you talked about.
@hottake3633
@hottake3633 6 жыл бұрын
underrated channel imho
@HerveLouis
@HerveLouis 3 жыл бұрын
Wow thank you so much for this breakdown. This is more info than I was looking for but definitely what needed.
@notpublic7149
@notpublic7149 6 жыл бұрын
Yay! Nice to see a video on LUKS, cheers.
@araa5184
@araa5184 3 жыл бұрын
I once encrypted a 2TB hard drive with a hidden partition. After being away for 2 years I have completely forgotten the password and all my data of 2 years are forever lost to me. Lesson learned, never try making a password out of a random subtitution cipher you came up with one random afternoon thinking that you'll remember the method after 2 years.
@araa5184
@araa5184 2 жыл бұрын
@MusicHub in hindsight, its easy to say, but this was a time when passwords managers were untrust worthy to me and I didn't really have a greater understanding of personal opsec lmao. Now I just host my passwords somewhere on my own
@a.athertonwrites
@a.athertonwrites 2 жыл бұрын
I seem to have hidden an entire hard drive. Any advice on how to get it to show itself? I can liveboot but now the machine functionally has no OS. I do have the encryption password
@araa5184
@araa5184 2 жыл бұрын
@@a.athertonwrites what'd you use to encrypt it with?
@a.athertonwrites
@a.athertonwrites 2 жыл бұрын
@@araa5184 At some point I had a version of Arch which had an install wizard that led me to use LUKS
@malik.alimoekhamedov
@malik.alimoekhamedov 5 жыл бұрын
The ultimate guide! Lovely.
@anandkkpr
@anandkkpr 11 ай бұрын
Superb tutorial, thank you for this!
@colt1596
@colt1596 5 жыл бұрын
Do you have a video showing how to backup a luks encrypted drive to a synology device or freenas?
@yotam57
@yotam57 3 жыл бұрын
Would love to see an example of: 0. partiitioning with encryption inside a "live" system running from a (usb) .iso [x]ubuntu image, 1. running the live-installer, 2. performaing necessary post-live install steps.
@fujinaichannel5880
@fujinaichannel5880 5 жыл бұрын
Great informative video. Thanks! This helped me a lot.
@ckrajewski79
@ckrajewski79 6 жыл бұрын
Great video on LUKS!
@ari-athbadminton0301
@ari-athbadminton0301 2 жыл бұрын
Impressive overview. Thanks you so much for the share.
@michaelmueller5211
@michaelmueller5211 3 жыл бұрын
awesome video! ty! i finally understand!
@Tom-kt8lu
@Tom-kt8lu Жыл бұрын
An update with encrypted /boot (grub2) would be nice.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
I still use LUKS
@ericlawrence9060
@ericlawrence9060 4 жыл бұрын
if u hold down the ctrl key and roll your mouse wheel up... you will zoom into some mode where we can read the tiny letters instead of seeing a tiny thing and a bunch of background and white blank area. Squint-mode makes teaching harder. Would also be smart to change your base font to the most readable one possible like Ariel. Then your videos would be at least 20% more awesome!!! Many of us are OLD.
@TheHesster
@TheHesster 3 жыл бұрын
Thanks for this!!
@alertshake8965
@alertshake8965 3 жыл бұрын
Do we have to "close" an encrypted container before reboot or computer shutdown?
@TheL337trance
@TheL337trance 2 жыл бұрын
Can you do a video showing how to boot from a flash drive then the flash drive unlocks the hard drive to boot? I'd like a plausible deniability situation where you could plug in a red flash drive to get to one operating system and a blue flash drive to get to another operating sytsem
@utubepunk
@utubepunk 3 жыл бұрын
Hi. Thanks for this. Gonna need to watch it a few times to properly digest it. I did a Linux Mint install with the goal to dual boot. However after a full encryption, I can't resize the partition to create a space for Windows 10. Seems like I need to level up my command line/ terminal kung fu to accomplish this task. Any advice?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 3 жыл бұрын
I never use dual boot, I just run Windows in a VM using VirtualBox
@utubepunk
@utubepunk 3 жыл бұрын
@@LAWRENCESYSTEMS It took a while, but I figured it out. I installed Windows, resized it, then installed Mint. I was able to encrypt Windows with Bitlocker & the install of Mint.
@Cookiekeks
@Cookiekeks 3 жыл бұрын
Smooth voice
@RandomUserName92840
@RandomUserName92840 3 жыл бұрын
Any tips on if luks won't detect the keyboard on a laptop?
@freebeenergy
@freebeenergy 4 жыл бұрын
Can I change the name of the container in /dev/mapper, on an installed distribution?
@D1Ck3n
@D1Ck3n 4 жыл бұрын
Is there a central management server for LUKS to manage the keys? i want to use linux in my company but i need a centralized Management Server for the Clients. Does anyone have an idea?
@LEO-xo9cz
@LEO-xo9cz 5 жыл бұрын
What happens when you do an update and get a newer header can you not keep the older version as a backup? What are the chances of bothering becoming corrupt?
@gnul
@gnul 3 жыл бұрын
I assume, it generates a random key which is used to encrypt the data, so encrypting two drives with the same password, they would have different keys, which would be good in e.g. the case your first passphrase was as easy as ‚password‘ and you change it later to a 512 bit random whatever, so the evil hackers can’t decrypt it later after the change as a consequence of the first weak passphrase. So under the hood it should generate a random key, use this for encryption, then the password is just decrypting a part of the drive where the actual key is, so that part can be easily shredded and interchanged with a better password, is it like that?
@Waris-bv7nu
@Waris-bv7nu 4 жыл бұрын
Could you please create a video where it goes and grabs the password from else where so it can unlock itself. There is plenty of interest! If you have already created a video addressing that could you please link it.
@muhammadkashif4000
@muhammadkashif4000 3 жыл бұрын
I had to design own module for usb drive encryption using AES-256 algorithm. Kindly suggest me where do I find relevant information about it. Thnks
@ClaudeBajada
@ClaudeBajada 3 жыл бұрын
Is it recommended to leave any free space after the disk encryption when encrypting ext4 with LUKS?
@hotshot2472010
@hotshot2472010 4 жыл бұрын
is their any way to add luks encryption to a hard drive without formatting it?
@starelite6332
@starelite6332 4 жыл бұрын
Nop
@kahlschlag17
@kahlschlag17 Жыл бұрын
how do you un mount and power down a luks protable SSD drive.
@ejbully
@ejbully 4 жыл бұрын
Hmmm a dedicated keyserver would be interesting... thanks
@woodswannamaker5797
@woodswannamaker5797 6 жыл бұрын
Thank you!
@LEO-xo9cz
@LEO-xo9cz 5 жыл бұрын
Hi Lawrence. I encrypted to hard drives on a live USB before i planned on doing a system install. The next morning it says that i don't have permission to view contents. I completely reformatted the disks to LUKS/ext4 now neither work. Please help me.
@a.athertonwrites
@a.athertonwrites 2 жыл бұрын
I am having a hard time installing an OS to this encrypted drive. It seems the drive has been 'unmounted' as is not showing up at all in BIOS. Any advice? Which utility are you using in this video?
@snakeblue2484
@snakeblue2484 3 жыл бұрын
How does LUKs work? Is it just a container/ a partition that gets encryptet? Or is is possible to set up that while the system is booting u have to enter the pw ?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 3 жыл бұрын
It can be used to setup a boot passwrod. Pop_OS! has this feature as part of the install and I think Ubuntu does as well.
@snakeblue2484
@snakeblue2484 3 жыл бұрын
@@LAWRENCESYSTEMS So "encryption while booting" is an option that the OS-Vendor needs to have build in?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 3 жыл бұрын
Yes
@yoho403
@yoho403 4 жыл бұрын
if you want to fully decrypt the drive so it goes back to normal how would you do that?
@Wehelpuglitch
@Wehelpuglitch 5 жыл бұрын
So I am running hyper-v with a few virtual machines. Should I leave the main hv boot drive decrypted and only encrypt the data drives? Right now I have it to encrypt on boot so the server itself can’t boot to prevent any physical access but it can get challenging to do updates remotely.
@neail5466
@neail5466 2 жыл бұрын
cant the disk be encrypted which has some data in it?
@neobandit9134
@neobandit9134 4 жыл бұрын
if you have a strong password can the hard drive be hacked and file gets into it?
@sayyidalisajjadrizavi7418
@sayyidalisajjadrizavi7418 4 жыл бұрын
Sir I have a live Kali LUKS encrypted persistence USB. I want to set up a nuke password on it. The "cryptsetup luksAddNuke ..." is no longer available and now 'cryptsetup-nuke-password' is used. Using that on the USB Kali says:- "update-initramfs is disabled and Kali is running on a readonly system". Can you help?
@waipalisrevenge3707
@waipalisrevenge3707 5 жыл бұрын
Hi, I'd like to know if there's a way to prevent a non root user to access the encrypted drives or partition ?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 5 жыл бұрын
Yes, just don't give them permission.
@waipalisrevenge3707
@waipalisrevenge3707 5 жыл бұрын
@@LAWRENCESYSTEMS Really? Thanks for your answer, I appreciate it
@TraceguyRune
@TraceguyRune 23 күн бұрын
can LUKs be used on just an external drive?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 23 күн бұрын
Yes
@bilalabudan9645
@bilalabudan9645 3 жыл бұрын
bro, do you have tutorial to configure this with Yubikey also? or anyone can help, please?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 3 жыл бұрын
Nope
@bilalabudan9645
@bilalabudan9645 3 жыл бұрын
@@LAWRENCESYSTEMS any references to that sir? LUKS with 2FA (password and yubikey) i have tried with yubikey-luks-enroll, but not working for yubikey. i mean when i unlock the volumes thats not ask the yubikey
@rashidm5138
@rashidm5138 6 жыл бұрын
thank you so much!!
@zekestewart8249
@zekestewart8249 3 жыл бұрын
Does anyone know what happens if I "initialize" luks encrypted drive from windows? I assume it gonna break the header because non initialized drives on windows means they are missing partition table so it thinks it's empty hardware, which on linux is also true as all you will see from lsblk just the drive itself no partition tables until you use cryptsetup to map luks partition first
@BoyFromMa
@BoyFromMa 3 жыл бұрын
When installing Linux for the first time it gives you the option to encrypt the drive. So what's the point of this video? Does it mean that the installation encryption is weak or useless?
@ezekielj20
@ezekielj20 2 жыл бұрын
I can’t access my encrypted disk again on kali.
@ElVerdaderoAbejorro
@ElVerdaderoAbejorro 2 жыл бұрын
After watching about 5 videos, yours was the only one that explained the details of how the full disk encryption works. I was finally able to install Ubuntu on my USB drive. Thank you. However, I had to create 2 volumes, 1 for the boot (unencrypted) and 1 for the OS (encrypted). Is this how it is supposed to be?Is it possible (or necessary) to encrypt the boot partition too?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 2 жыл бұрын
POP_OS has an installer that does both, I am not sure how to do that with Ubuntu
@AnthonyMametsa
@AnthonyMametsa 5 жыл бұрын
I want to remove harddisk password in deepin os. Please help
@varunv6641
@varunv6641 5 жыл бұрын
Please help, how do I remove full disk luks encryption?
@n.w.aicecube5713
@n.w.aicecube5713 4 жыл бұрын
if you don't mind why would you do that ?
@constancecammonpeters8008
@constancecammonpeters8008 4 жыл бұрын
how it can encrypt so so so fast.. at 16gb with PGP ... it take several minutes .. this LUKS .. is douind it instantly .. is imposible to encryopt instantly somting...
@varunv6641
@varunv6641 5 жыл бұрын
How do I remove the luks encryption?
@Christopher-gi4pu
@Christopher-gi4pu 5 жыл бұрын
Why not just sign in to the lux partition, pull all your data off, and do a reset? I feel like that'd be the easiest way to go about it
@tdslot
@tdslot 5 жыл бұрын
Hi Lawrence, can you make video data encryption with tang/clevis remote key server github.com/latchset/tang ,github.com/latchset/clevis
@broadrama43
@broadrama43 5 жыл бұрын
Yes please! Please show it on a Server. That would be very nice
@rashidjafri110
@rashidjafri110 8 ай бұрын
Hi root password it is encryption passphrase
@JD-im4wu
@JD-im4wu 4 жыл бұрын
overall nice tutorial but u lost me when u used the GUI to setup your luks encryption, CLI only tutorial would have been better so I didn't watch the whole thing.
@BoyFromMa
@BoyFromMa 3 жыл бұрын
I can see why the average person would prefer windows. Instead of having the option to just the disk I want to encrypt and set a password I'm faced with 20 minutes of gibberish and code.
@scort8888
@scort8888 4 жыл бұрын
WITHOUT FORMATTING !!!! HELLO!!!!???? Doesn't it occur to you that many users have want to encrypt drives WITH DATA?????
@rottenfist220
@rottenfist220 5 жыл бұрын
21mins of BS...
Arch Linux: An 𝔼𝕟𝕔𝕣𝕪𝕡𝕥𝕖𝕕 Guide
30:06
DenshiVideo
Рет қаралды 19 М.
Tuesday Tech Tip - Showcasing the Power of dm-crypt on Linux
23:40
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
I Encrypt All My USB Drives with LUKS.
11:32
Luke Smith
Рет қаралды 70 М.
Breaking Bitlocker - Bypassing the Windows Disk Encryption
9:11
stacksmashing
Рет қаралды 1 МЛН
LUKS & Full Disk Encryption
24:17
DebConf Videos
Рет қаралды 13 М.
Basic File Encryption with GPG key pairs!
8:36
Luke Smith
Рет қаралды 141 М.
Modernize your Linux Storage with btrfs!
46:34
Learn Linux TV
Рет қаралды 158 М.
Which Firewall is RIGHT for YOU? pfSense vs. UniFi
22:42
Lawrence Systems
Рет қаралды 20 М.
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,8 МЛН
Problems You will Encounter on Linux (and How to Solve Them)
23:01
Rob Braxman Tech
Рет қаралды 180 М.
[1d] | Arch Linux Base Install on UEFI with LUKS Encryption
27:42
EF - Linux Made Simple
Рет қаралды 31 М.