[1e] | LVM on LUKS Encryption Install

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • EDIT: Sorry for the double Keyboard hook, I typed it when it was already there. The system works fine anyway, but you just need one.
    This is video n.1e in the new series of Arch Linux installations. This video is for UEFI systems, and I am going to install Arch Linux with LVM on LUKS Encryption. The process is fairly straightforward, and we could also encrypt the other way around, but that is it going to go to another video.
    NVIDIA Arch Linux Wiki: wiki.archlinux.org/index.php/...
    Become a Patreon to support the channel: bit.ly/3dGGZxQ
    Donate to the channel by visiting our Website: www.ermannoferrari.net
    My Hardware:
    AMD Ryzen 9
    32 GB RAM
    Sapphire RX 5700 XT
    My software:
    Distro: Arch Linux
    Video editing software: Kdenlive
    Music: Creative Minds on Bensound.com
    Check out our Website and connect on Social Media!
    Website: ermannoferrari.net
    Facebook: ermannoferraritechcoach
    Instagram: efsoftwareandit
    #lvm #archlinux #luks
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Thanks once again Ermanno for a great instructional presentation!

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

      Thanks again Jake for the feedback :)

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

    Ermanno's videos on Arch has become like a library for me. Every time I install or test something new I go here to find instructions and inspiration. I hope these videos are backed up securely, should YT one day remove the content.

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

      Thanks Ben! No worries, they are. I have also some new projects in store for next year. Let's see :)

    • @Henry-sv3wv
      @Henry-sv3wv ปีที่แล้ว

      but old videos are useless anyway cause Arch changes over time ...

  • @67lifedeath
    @67lifedeath 3 ปีที่แล้ว

    Best video. Always coming back to this to install!

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

      Glad it helped!

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

    Ermanno
    I searched the wiki and TH-cam I found this and it worked.
    Grub-install - - target=x86_64-efi - - bootloader-id=grub - - efi-directory=/boot/efi
    Leigh Horton

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

      Great! That’s the same command on the video, difference is it’s installed in /boot/efi instead of /boot. In some PC’s it can happened. Glad it worked out.

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

      @@eflinux yes it's a brand new amd ryzen 5 and a new ssd. With aorus b450 motherboard. I even checked the bios settings.
      Just to add Ubuntu was slow Arco good but nowhere near as fast as arch.
      I am yet to installl DE.
      But have installed qtile.
      Perhaps I should follow and install i3.
      Leigh Horton
      However it will have to wait for now.

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

      I see, well congratulations on your new PC :)

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

    Thank you very much. You helped me a lot.

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

    Great video. Thanks alot. Greetings from Rapperswil SG :)

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

    Great video!

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

      Thanks!

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

    Thanks

  • @96tobia
    @96tobia 4 ปีที่แล้ว +1

    Hi, thanks for your video, I hope you made more video of Arch installation with btrfs :)
    For now i have a question about wireless_tools, I've seen in the arch wiki this tools is deprecated in favor of iw, what did you think about it?
    PS: why is necessary to have two keyboard option in the hook?
    thanks in advance

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

      I'll have to decide what to do with that package. I've seen some PC's won't work without it, but I'll look into it. As for the keyboard hook, I missed that as I am so used to type them always, but it doesn't make a difference. The system works fine anyway, however you just need it once.

  • @user-pi7wn4ji5d
    @user-pi7wn4ji5d 4 ปีที่แล้ว +3

    Super! Thanks.
    HOOKS=(base udev autodetect keyboard keymap modconf block encrypt lvm2 filesystems keyboard fsck) - double-entered "keyboard" will not result in errors ? Or is it not important ?

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

      Ha! I missed that :) The system boots fine anyway, but you can definitely delete one. Thanks for pointing this out!

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

    Hello) Thanks for your videos. They're helpful. What about network printer installation?

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

      Hi thanks! Actually that should work out of the box. If not you can try in the browser localhost:631 and configure from there :)

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

    Heyy Ermanno. Can you help me ? I tried to follow the video and everything worked fine.
    However now I want to expand my home directory using another disk.
    Should I encrypt this disk first, after that mount this disk and make a pv ?

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

    I can't run any commands because systemd isn't running on my Arch chroot... I try using systemd-nspawn -bD but it asks for a password. Then I try using systemd-nspawn -D to set the password and I still cannot log in. Any idea what is going on here?
    Edit: I added pts/0 above the console line in /mnt/etc/securetty and the login worked when using systemd-nspawn -bD. Hope this helps somebody.

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

    Why did you use pacman -Syyy at 2:31? Three Ys are not documented in the manual.

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

      It forces the resync, but I use it way too much... I need to stop that :)

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

      EF - Tech Made Simple According to the manual, two Ys should be sufficient to force resync. Anyway, thanks for a great video! 😀

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

      Old habit, thanks for pointing this out and for the feedback!

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

    # Times I've referred back to this video when doing LVM on LUKS
    # Increment=4

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

    I have a question: Is it possible to install Arch with LVM on LUKS usng BIOS with GPT, or is it only possible with UEFI?

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

      You definitely can. You just need to create a bootable boot partition.

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

      @@eflinux Thank you for the quick answear. I'll try to do that.

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

      No problem! Eventually try it out in a VM first.

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

    Hi thanks for this education but i have a question :
    If we used ssd, what need to do to get best performance ?

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

      Make sure the fstrim timer is active.

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

      @@eflinux thank you very much

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

    Please do a video on lvm snapshots.

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

      I will :)

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

    At about 4:28 you put in cryptsetup luksformat /dev/the name of your partition but i keep getting a (cryptsetup, action unkown) error

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

      Probably the module is not loaded. Type modprobe dm_crypt and try again.

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

      @@eflinux thanks that fixed it, and to thank i just put this message on like 3 minutes ago 😀

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

      My pleasure!

  • @Ham-pb7pb
    @Ham-pb7pb 3 ปีที่แล้ว +1

    Are you booting from external device?

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

      Through SSH.

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

    Systemctl enable org.cups.cupsd
    Failed to enable unit, unit org.cups.cupsd.service does not exist.
    Wut?
    Cups is installed.

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

      It had been updated to just cups.service.