[1c] | Arch Linux Base Install on UEFI with LVM

Поділитися
Вставка
  • Опубліковано 17 лип 2024
  • This is video n.1c in the new series of Arch Linux installations. This video is for UEFI systems, and I am going to install Arch Linux on LVM. We are going to have a quick overview of LVM first and proceed and install the OS. If you'd like a specific tutorial on LVM let me know in the comments!
    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
    #howto #archlinux #uefi
  • Наука та технологія

КОМЕНТАРІ • 82

  • @FrankTheile
    @FrankTheile 3 роки тому +2

    Thank you for the LVM introduction and the high density of information!

    • @eflinux
      @eflinux  3 роки тому +1

      Glad it was helpful Frank!

  • @atheodo
    @atheodo Рік тому

    It worked like a charm; love you bro, keep up the good work; when I say perfect, I mean perfect!!!, and you make everything sound super easy :-) I had ZFS BSD before, so not for the faint of the heart, and created an LVM with 5 disks, but it works, and I have to thank you for it. Really appreciate it.

  • @legymhueck9271
    @legymhueck9271 4 роки тому +1

    Splendid! When you explain this quite advanced topic, I'm reminded of an awesome professor at university who succeeded in breaking down something complicated into bite sized bits that were easy to swallow.
    I'm interested in what you propose to tackle in a future video (15:30). If possible, I'd also be interested in encrypted LVM volumes, preferably with systemd boot (but this would be optional).
    Thank you so much for the awesome content you provide which exceeds base level tutorials!

    • @eflinux
      @eflinux  4 роки тому

      Hey thanks! My goal is trying to provide the easiest possible explanations, and I am always happy when someone can benefit from that :) In the coming days, I'll do a video for an install with encryption, and after that I'll combine it with LVM :)

  • @akikohasegawa3839
    @akikohasegawa3839 4 роки тому +2

    Another great video. Thank you so much!

    • @eflinux
      @eflinux  4 роки тому +1

      Thank you so much peppermint!

  • @nielsroetert
    @nielsroetert 4 роки тому +3

    Another great video in this series, I used to love volume managers on hp-ux and AIX, these days with big drives and more reliable hardware I tend to no longer use any.

    • @eflinux
      @eflinux  4 роки тому +1

      Thanks Niels :) I use LVM on my main machine with 4 drives in it. The cool thing is you can also tell the system if you prefer to have some data on a specific disk. The flexibility of adding or removing drives is also a great plus for me. It happened to me once: one drive was going to fail, moved the data on it to another volume on the logical partition; added a new disk, extended the lvm and voilà. Saved my day :)

    • @agushex
      @agushex 3 роки тому

      In the company that I work that is one of the biggest companies of my country the main SAP server (whole landscape actually) the actual ERP which is the financial module still uses AIX with LVM, we are just stepping into migrating this to RHEL8, but I have to say I will not have any nostalgia once that AIX is gone eheh still powerfull but in my personal opinion unnecesarilly hard to manage but usually... ofc very stable.

  • @abobader
    @abobader 4 роки тому +3

    Well done, good video as always, good idea to do this with more than a disk drive, good idea.

    • @eflinux
      @eflinux  4 роки тому +1

      Thanks! The idea came because I'm using this setup on my machine and works really well. I really enjoy the flexibility of lvm.

    • @abobader
      @abobader 4 роки тому +1

      @@eflinux Well done, I notice you using vim lately, why not neovim since you like to customize :)

    • @eflinux
      @eflinux  4 роки тому +1

      One at a time :)

    • @abobader
      @abobader 4 роки тому +1

      @@eflinux heh, true :)

  •  4 роки тому +3

    You make great Arch videos. Congrats, pal...
    Fábio Nogueira
    Salvador / Bahia / Brasil

    • @eflinux
      @eflinux  4 роки тому +1

      Hey Fabio, thank you so much! Stay safe in Brasil!

    •  4 роки тому +1

      @@eflinux we are.. ;)

  • @gmmxn
    @gmmxn 2 роки тому

    Thank you very much.

  • @keptleroymg6877
    @keptleroymg6877 11 місяців тому

    Very amusing how I had to track down all of these steps word for word before I found this at least I can have a second opinion and feel like I did it on my own best of both world

  • @marianorodrigocc
    @marianorodrigocc 2 роки тому

    special!!!

  • @abobader
    @abobader 4 роки тому +1

    I have only one request no hurry on it when you have time, and that if a user want to wipe his Archlinux and start over, let say to use LVM and want to backup his /home folder and add it back when the fresh install done.
    Here the step to do to find his install packages then install them back, then add the /home from backup, I know these steps already, but will be great video from you indeed, thanks in advanced if you reconsider this.

    • @eflinux
      @eflinux  4 роки тому +1

      Thanks for the suggestion, I'll study on it :)

    • @abobader
      @abobader 4 роки тому +1

      @@eflinux Well done!

  • @tonyawards560
    @tonyawards560 4 роки тому +2

    Thanks for the answer earlier about the perceived load speeds with mixed drives, if it's slight in real time then ok. I was also wondering, let's say root is on one drive and /home is partially on that drive, sda for example. /home extends to sdb and sdc. Sdb fails. What happens to data and is there any reliable way to tell what's on which drive?
    Also, you have my vote for a more in depth look at lvm in another video, with snapshots... It would also be good if you could do one on the pros and cons of different partitioning systems, like separating out var, or opt, and so forth.

    • @eflinux
      @eflinux  4 роки тому +1

      That's a great idea, I'll definitely do that. To answer your question, normally you get some signals before the drive start failing. At that moment you can move what is on that drive to another place in the lvm. Also, when installing lvm, there are ways to tell the system which drive you prefer to use. Say you want to have a specific directory on a specific disk, you can tell lvm to do that.

    • @tonyawards560
      @tonyawards560 4 роки тому +1

      @@eflinux That's a nice feature, I didn't know you could do that, please add it to your list if you do the in-depth lvm video. Can it be done after installation, ie. can you move a directory anytime in some fashion, or must it be declared at installation? Seems if you can move data from a failing drive, maybe you can also change directory locations on the fly? or not?

    • @eflinux
      @eflinux  4 роки тому +1

      I am guessing yes, if you can do that when the drive is failing, but I haven't tested it myself.

  • @tonyawards560
    @tonyawards560 4 роки тому +1

    Lvm seems like the best solution for 2 or more drives. I plan on adding a 3rd to a newer laptop I am getting shortly. I anticipate dual booting at first, then hopefully eliminating the windows install. Can lvm be set up later after dropping windows without having to do a clean install of arch at that point, or, can I install arch with lvm at first? Would it install alongside the windows installation partitions, or somehow incorporate them in one big lvm environment? (That detailed lvm video idea is looking better and better to me...;-) )

    • @eflinux
      @eflinux  4 роки тому +1

      LVM is indeed great for multiple drives. I have the same setup in my machine. It's possible to convert to LVM, but I honestly wouldn't do that. I'd rather resintall.

  • @tonyawards560
    @tonyawards560 4 роки тому +1

    One other totally unrelated question (sorry), I have looked at a number of your arch install variations (all great and all distinct and useful, btw). There was one I now can't find that showed how to properly set trim for an ssd drive, could you post that command again here please? Thanks again, ermanno.

    • @eflinux
      @eflinux  4 роки тому +1

      Hey Toniy! Sure! The command is "systemctl enable fstrim.timer". Cheers :)

    • @tonyawards560
      @tonyawards560 4 роки тому +2

      @@eflinux Thanks so much, saves me a lot of looking ;-).

    • @eflinux
      @eflinux  4 роки тому +2

      No problem!

  • @darrenrichard998
    @darrenrichard998 4 роки тому +1

    can you create 2 or more logical volumes on the same volume group or add extra partitions to an exiting logical volume ?

    • @eflinux
      @eflinux  4 роки тому +2

      You can create several logical volumes in a volume group, that’s a not a problem, but not petitions. Partitions in a volume
      group are the logical volumes.

    • @darrenrichard998
      @darrenrichard998 4 роки тому

      @@eflinux Yeah that makes sense Thanks Ermanno

    • @eflinux
      @eflinux  4 роки тому

      No problem!

  • @greenbean5186
    @greenbean5186 2 роки тому

    I don't see you using reflector in newer video anymore. Arch Wiki says reflector auto detect fast server when connect to the internet is this true?

    • @dimasalang3221
      @dimasalang3221 2 роки тому

      It is true. You should use it when you are installing packages.

  • @rockdie9522
    @rockdie9522 4 роки тому +2

    Request: How to Install Arch using an existing home partition/drive and migrate old user to new system :D

    • @eflinux
      @eflinux  4 роки тому +3

      Good one! I'll note it!

    • @victorjo7918
      @victorjo7918 3 роки тому

      I second that if you haven't already made a video about it and I cannot find it,especially with BTRFS and maybe keep an existing "home" subvolume and install only system root subvolume.Thanks

  • @darrenrichard998
    @darrenrichard998 4 роки тому +1

    I think this may be the answer to my problems I got a 500gb and a 1 tb nvme drives on my laptop and I don't want to make my root partition 500 gb. I think thats way to much so this would allow me to have say a 150gb root with the rest as my home. I've also got a 1tb mechanical drive in my laptop, I'm guessing it would probably be wise just to create an Lvm out of the 2 Nvme drives and leave the mech out. Thanks as always for the video am looking forward to the next vid on the i3 window manager.

    • @eflinux
      @eflinux  4 роки тому +1

      Thanks Darren!

    • @tonyawards560
      @tonyawards560 4 роки тому +1

      @@eflinux Here's a question somewhat related to Darren's: with mixed drives (SSD nvme & physical HDDs), what is the real world effect of such different access and read speeds if they are all storing /home or the / directories, for example? Do certain files display faster than others, or does it all get perceived as the same?

    • @eflinux
      @eflinux  4 роки тому +1

      Hi Tony, yes, there will be a difference, as that is a hardware related thing. But in most cases, you probably won't notice the different in normal use.

  • @Tobi4s.Bonifay
    @Tobi4s.Bonifay 4 роки тому +1

    I would like to switch to arch linux on my main computer,
    Context: I have a year of Debian (CLI, or XFCE) experience as IT student, and I used Ubuntu(Unity, KDE, Gnome) on my personal computer for 2-3 years,
    My "computer hobbies" are Python Dev, basic web dev (php need), Octave for Maths, setting up network on software like Cisco Packet Tracer, also playing games like minecraft (I know I'm too old to play this kind of games), or even sometimes World of tanks using Lutris.
    Plus, I need a small windows VM to run some IT programs that works only on Win*....
    I don't have tried i3 yet, so I still hesitate to install i3 on arch following your tutorials.
    Is i3 stable ? is i3 allowing everything like others ?
    Well, what's your opinion about i3 as DE ?
    What DE would you recommend for my hobbies ?
    Thank you for your videos and your time, (and sorry for my English, I'm still improving it).

    • @eflinux
      @eflinux  4 роки тому +2

      Hi there, if you’d like a WM i3 is very stable and I can definitely recommend it. As for a DE you should probably check out XFCE.

  • @JM-sn5eb
    @JM-sn5eb 4 роки тому +1

    I'm not sure but lvm seems similar to raid0
    If one of the disks in lvm fail will it lead to data loss?

    • @eflinux
      @eflinux  4 роки тому +2

      Before failing, the drive will signal some errors. In this case you can move the content of the physical volume to another place in the lvm. Then you can replace the volume and extend lvm again. It is anyway critical to have a backup, not only for drive failure but also for power outages.

  • @littleghoost
    @littleghoost Місяць тому

    [FAILED] Failed to start D-Bus System Manager
    LightDM/GDM also does not start. I can only access the system via console.
    Can you tell me why?

  • @govindthakre6498
    @govindthakre6498 4 роки тому +1

    what happed to i3 customizing series, you were going to upload video on polybar

    • @eflinux
      @eflinux  4 роки тому +2

      I'm working on it, it's coming up tomorrow or Tuesday.

    • @eflinux
      @eflinux  4 роки тому +1

      It's a matter of personal preference. For my needs, i3blocks does the job well enough :)

    • @govindthakre6498
      @govindthakre6498 4 роки тому +1

      @@eflinux you are doing great job. thank you for these videos

    • @eflinux
      @eflinux  4 роки тому +1

      Thank you so much!

  • @greenbean5186
    @greenbean5186 2 роки тому

    also wifi-menu was replaced with iwctl you have already mentioned this in a seperate video and on your newer install video but this is for anybody looking for help in the comment.

  • @tonyawards560
    @tonyawards560 4 роки тому +1

    Right now I am suddenly going to have to install arch in a hurry tomorrow, and will have to add a 3rd drive later. I also have to dual boot for now and is it true that Windows doesn't do too well with lvm? So, if I skip the lvm for now, and split the SDD with windows & arch, then for the second HDD, can I just make a partition entry of /dev/sdb1 and just mount it at /home/storage (or something) for now? Arch's /home itself would still be on the SDD drive the OSs are on, with extra storage on the HDD. For now windows would be mounted at /home/windows to share like you suggested. I have already shrunken the windows partition down to 100GB. Then later I can reinstall when I wipe windows and properly set up the lvm environment. What do you think, is there a smoother way, or would this work?

    • @eflinux
      @eflinux  4 роки тому +1

      Hi Tony, that sounds good to me. In any case, I'd avoid LVM until you are dual booting.

    • @tonyawards560
      @tonyawards560 4 роки тому +1

      @@eflinux Did you mean until I am dual booting, or until I am not and on arch only?

    • @tonyawards560
      @tonyawards560 4 роки тому +1

      And wouldn't I need to convert the sdb1 hdd from ntfs to an ext4 file system before mounting it at /mnt/storage for arch to use it properly? Sorry for so many questions, ermanno....

    • @eflinux
      @eflinux  4 роки тому +1

      No worries Tony! I meant until you are dual booting with Windows, and yes, you'd have to switch to an ext4.

    • @tonyawards560
      @tonyawards560 4 роки тому +1

      @@eflinux Thanks for that, ermanno. Well, I just started the installation and right after the timedatectl command when I enter pacman -Syyy to sync the servers, I get a long string of repeating errors. The keywords seem to be PCIe Bus Error: severity=Corrected, type=Data Link Layer ... on to BadDLLP, with a few error messages after that. Any idea as to what is happening and how to fix it? The arch forum has some of these errors with slightly different specifics, but none right at installation that I can find.

  • @kc-nk3lc
    @kc-nk3lc 4 роки тому +1

    Everything is fine. But how can I test this in a virtualbox?

    • @eflinux
      @eflinux  4 роки тому +2

      Just add 2 more disks in VB.

  • @nyanlauncher7350
    @nyanlauncher7350 2 роки тому

    "boot device not found"