Arch Linux: An 𝔼𝕟𝕔𝕣𝕪𝕡𝕥𝕖𝕕 Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

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

  • @paulopacitti
    @paulopacitti 5 หลายเดือนก่อน +26

    there's no other channel on TH-cam better on covering Linux guides

  • @matej_skalickyy
    @matej_skalickyy 5 หลายเดือนก่อน +7

    Man, you are a blessing! I just plugged in the USB with Arch, opened up youtube on my second PC and right on the home screen was your video. Exactly what I need! Thank you so much

  • @nicholashacault1965
    @nicholashacault1965 4 หลายเดือนก่อน +9

    Creates a tutorial for setting up an encrypted Arch install, emphasizing security for the audience. Then, undermines that security by enabling auto login, essentially rewarding malicious actors for their efforts in bypassing the first layer of defense, lol.
    That said, great video! It was very easy to follow with a straightforward approach

    • @Denshi
      @Denshi  4 หลายเดือนก่อน +16

      Thank you for watching my video! As I mentioned in the video, if someone gets access to your decryption password, then all your files are compromised. In fact, they can even change your login password. Autologin doesn't remove any real security, unless you have a multi-user system with strict file permissions and secureboot.

    • @nicholashacault1965
      @nicholashacault1965 4 หลายเดือนก่อน +4

      @Denshi Thanks for the clarification! You're right that if someone has your decryption password, they already have significant access. My concern was more about reducing the overall security posture.
      Appreciate your response and the video!

  • @wh1t3st4r5
    @wh1t3st4r5 13 วันที่ผ่านมา

    This is hands down the best guide I've ever seen, explains stuff way better than the wiki itself or other tutorials, the only things to watch out for when installing is NVidia drivers and configure them when needed or nvme stuff but those are just the specifics this is more than perfect and did save me from many headaches, thanks!

  • @Kweshuu
    @Kweshuu 3 หลายเดือนก่อน +4

    Im not doing this right now, its 1am and i already have an arch install (thanks to your arch install video) and im just here because i like the vibes and your voice is calm lol

  • @HappyG1lm0re
    @HappyG1lm0re 2 หลายเดือนก่อน +1

    I need to reference an install guide every few years for a quick new install rather than spending hours in the wiki, and this tutorial is by far the best.

  • @Bin2Hex
    @Bin2Hex 3 หลายเดือนก่อน +7

    Great tutorial! but side note you should showcase how we can encrypt our SWAP as well because most people would wanna use SWAP and generally you need to encrypt both your SWAP partition and the root partition as well but some people don't really know how to do that, If you can showcase how to encrypt your SWAP and root partitions properly that would be great!
    Also, some people also already have a live install of arch linux without LUKS encryption and would like to convert to using LUKS encryption on an already live OS. If possible, are you also able to showcase how we can use LUKSIPC (LUKS in place conversion) to also show how we can encrypt our partitions post install?

  • @crossses
    @crossses 5 หลายเดือนก่อน +3

    been waiting a while for this, thanks for this video!

  • @randomnoobontheinternett
    @randomnoobontheinternett 25 วันที่ผ่านมา

    Thank you so much Denshi! I managed to get it all working on the very first try. 10/10 would recommend ❤

  • @RazoBeckett.
    @RazoBeckett. 5 หลายเดือนก่อน

    You always upload something which i am interested in, Love you man ...

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

    why single boot partition vs separate efi and boot partitions?
    Also, why lvm2 and the hook if not using any logical volume management?

  • @MaxiIsSlayy-j
    @MaxiIsSlayy-j 3 หลายเดือนก่อน

    Lovely guide, worked flawlessly first time thanks so much ❤️

  • @applesoda77
    @applesoda77 5 หลายเดือนก่อน +2

    Thanks. I'm buying a new laptop next week and this will help

  • @RoofusRoof19
    @RoofusRoof19 5 หลายเดือนก่อน

    still decrypting this tutorial, thanks denshi!

  • @mynameisjeff9124
    @mynameisjeff9124 10 วันที่ผ่านมา

    23:57 in /etc/default/grub there‘s a commented line that says GRUB_ENABLE_CRYPTODISK. Why didn’t we enable this? What is this for?

  • @yahia098
    @yahia098 5 หลายเดือนก่อน +3

    From comfy to encrypted
    What a jump

  • @creeping130
    @creeping130 17 วันที่ผ่านมา

    Nice guide! It inspired me to encrypt my own laptop. BTW, how do you record the screen of the VM with that high quality? I'm trying something like this with QEMU or VirtualBox, but I'm unable to have a quality similar to this video. Thanks for the help!

  • @speakersr-lyefaudio6830
    @speakersr-lyefaudio6830 3 หลายเดือนก่อน

    This was super clear, thanks

  • @TheRogueVigilante
    @TheRogueVigilante 10 วันที่ผ่านมา +1

    Yeah baby i am back to linux ❤️

  • @bivi3100
    @bivi3100 4 หลายเดือนก่อน +1

    I keep getting errors downloading KDE Plasma 27:38. It says: “Error: failed to commit transaction (failed to retrieve some files)”
    EDIT: I figured it out. For anybody having this issue, after you reboot into arch for the first time it doesn’t matter if you enabled network manager during the install, you will still have to reconnect to the wifi. To do this you need to use the nmcli command line tool.

  • @davisssamuel
    @davisssamuel 4 หลายเดือนก่อน +1

    How would you add a swap partition to the encrypted drive?

  • @Burner-d2f
    @Burner-d2f หลายเดือนก่อน

    Why was the type of sda1 in the video without "EFI SYSTEM" type in cfdisk? Is it not needed? Do i just need to format it to fat32 without changing the type.

  • @zentrans
    @zentrans 18 วันที่ผ่านมา

    how does artix calamares installer manage to do without a unencrypted boot partition? Maybe cover this topic in the future

  • @jellyscatter
    @jellyscatter 4 หลายเดือนก่อน

    Thank you so much!!!! I love this channel

  • @naraksama3903
    @naraksama3903 2 หลายเดือนก่อน

    Well, time to do everything again. I got till 18:50 and grub-install threw me an error, because I somehow fucked up the boot partition.

  • @entropy2910
    @entropy2910 19 วันที่ผ่านมา

    Does it have to be a fresh install? I have been using an Arch machine for months can I do it without wiping my data?

  • @-_vh_-
    @-_vh_- 3 หลายเดือนก่อน

    how can I change the keyboard layout in sddm and during the decryption?

  • @KimBrianRoblesAvila
    @KimBrianRoblesAvila 4 หลายเดือนก่อน

    Hello, I've done the same but instead of only 1 root partition, I made 2 partitions: home and root (I ve created a logical vol ) so what should I put for the grub config ? exactly like you (I mean only root partition uuid ) ?
    Thanks

  • @technootism6280
    @technootism6280 4 หลายเดือนก่อน

    When I try installing grub it tells me that it cannot install and gives me this warning:: grub-install warning: this GPT partition label contains no BIOS Boot Partition. Can anyone help?

  • @SaintJames14
    @SaintJames14 2 หลายเดือนก่อน

    This is such a great tutorial - the wiki and another tutorial kept giving me issues (ik it's my fault but since idk wtf I'm doing how can I know how to fix it?) but this tutorial got me further than ever and I feel like I understand some of the process.
    My issue is when logging in the system just stalls on a blank screen for 5 minutes before giving me a timed out warning waiting for device "/dev/tpmrm0" and blank screen again

  • @AlokThakur-y5d
    @AlokThakur-y5d 3 หลายเดือนก่อน

    What if i install arch with btrfs and use btrfs's subvolume and not the lvm ? Which will be good ?
    And in my previous installation with arch + btrfs (with subvolums) + encryption, in grub configuration i added encryption UUID but not Decrypt but i added like ,
    GRUB_CMDLINE_LINUX_DEFAULTS="loglevel=3 quiet cryptdevice=UUID=456ft........6s4:main root=/dev/mapper/main"
    What's about it ?

  • @FodaseGoogreorio-h7v
    @FodaseGoogreorio-h7v 5 หลายเดือนก่อน +1

    Can you do this on BTRFS with snapp subvolume? 😅

  • @amamoh
    @amamoh 5 หลายเดือนก่อน

    Why is every tutorial show saving file in nano with three steps (Ctrl+O/Enter/Ctrl+X) instead of two steps Ctrl+S/Ctrl+X ?

  • @PatenPaten
    @PatenPaten 2 หลายเดือนก่อน

    Sorry for bothering you, but Arch boots directly into BIOS after I unplugged the USB drive with the ISO. Did I just mess something up? I don't know, this is my first Linux installation.

  • @cherradiyacyn
    @cherradiyacyn 3 หลายเดือนก่อน

    hey Denshi why did you install lvm2 ? I don't see you did use it ..

  • @Qoolant
    @Qoolant 4 หลายเดือนก่อน

    Hi, when I’m booting the system and entering password, after it says Root device mounted successfully, but /sbin/init does not exist. Do you know where is the problem or where I can find the solution?

  • @HitokiriKincho
    @HitokiriKincho 3 หลายเดือนก่อน

    This is golden, have a like and sub!

  • @im_andrei1010
    @im_andrei1010 3 หลายเดือนก่อน

    Amazing tutorial! but do you know how to decrypt root with fido2? i can't seem to get it working

  • @Stiviii_01
    @Stiviii_01 4 หลายเดือนก่อน

    Hi densh please make a video how to self-host a private matrix synapse server on debian or ubuntu

  • @noahcox8752
    @noahcox8752 4 หลายเดือนก่อน

    is adding a swap partition more just a preference? or will a swap partition not work with an encrypted disk?

    • @Denshi
      @Denshi  4 หลายเดือนก่อน

      it will work, it's just a preference.

  • @Qoolant
    @Qoolant 4 หลายเดือนก่อน

    Hello! Good video, but I didn’t understand why you created a decrypted partition on the disk) in my opinion, it undermines security. Sorry if the question is stupid because maybe I misunderstood because I’m a newbie to Linux or didn’t understand because I don’t know English well. Thank you for your reply in advance!

    • @Denshi
      @Denshi  4 หลายเดือนก่อน +3

      The only decrypted partition is the boot partition, which contains your kernel and initramfs. While it is possible to also encrypt this partition, the security gain is negligible at best because you're probably not going to put any sensitive information here.
      If you still want an encrypted boot partition, you can read more here: wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Encrypted_boot_partition_(GRUB)
      Once again, I didn't cover this in the video because you're probably not gonna put your passwords or any valuable information on your boot partition, but it's still an option to encrypt it if you wanna go through the extra steps.

  • @shriram5494
    @shriram5494 4 หลายเดือนก่อน

    Dear denshi,
    Can you do a comfy guide for setting up an openvpn server?

  • @mynameisjeff9124
    @mynameisjeff9124 10 วันที่ผ่านมา

    Does this also encrypt the boot partition?

    • @cate-g7e
      @cate-g7e 13 ชั่วโมงที่ผ่านมา

      use chat gpt for these questions

    • @cate-g7e
      @cate-g7e 13 ชั่วโมงที่ผ่านมา

      you will safe your and someone else's time

  • @SpicyPoison
    @SpicyPoison 3 หลายเดือนก่อน

    I have separate /home partition!
    So, if i follow the same steps with that partition, it will encrypt that too? With one password for root partition and one different password for home partition.
    Will that mean I have to type 2 passwords to login?😅

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

      Yes, if you encrypt both the root (/) and /home partitions with different passwords, you’ll need to enter both during boot one for the root and another for /home. This happens because each encrypted partition is independent. To avoid typing two passwords, you can configure /home to unlock automatically after the root is decrypted.

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

      @wackyowl424 Nah, I installed Arch 1 month ago. And It's fine with 3 passwords.
      1st for root
      2nd for home
      3rd for Display Manager (SDDM)

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

      @@SpicyPoison yeah, that works

  • @dankquaman
    @dankquaman 4 หลายเดือนก่อน +3

    video cured my brain cancer

  • @JesusManuelPlasenciaToledo
    @JesusManuelPlasenciaToledo 15 วันที่ผ่านมา

    19:00

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

    make an updated version of gentoo

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

      Thanks for the suggestion! I will add it to the list.

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

      @@Denshihere is a additional suggestion
      Create a updated comfy gentoo guide, as well as the encrypted guide

  • @XENOSITE-d5i
    @XENOSITE-d5i 2 หลายเดือนก่อน