Тёмный

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

EF - Linux Made Simple
Подписаться 39 тыс.
Просмотров 11 тыс.
50% 1

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 82   
@littleghoost
@littleghoost 3 месяца назад
[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?
@keptleroymg6877
@keptleroymg6877 Год назад
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
@nielsroetert
@nielsroetert 4 года назад
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 года назад
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.
@FrankTheile
@FrankTheile 3 года назад
Thank you for the LVM introduction and the high density of information!
@eflinux
@eflinux 3 года назад
Glad it was helpful Frank!
@Tobi4s.Bonifay
@Tobi4s.Bonifay 4 года назад
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 года назад
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.
@rockdie9522
@rockdie9522 4 года назад
Request: How to Install Arch using an existing home partition/drive and migrate old user to new system :D
@eflinux
@eflinux 4 года назад
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
4 года назад
You make great Arch videos. Congrats, pal... Fábio Nogueira Salvador / Bahia / Brasil
@eflinux
@eflinux 4 года назад
Hey Fabio, thank you so much! Stay safe in Brasil!
4 года назад
@@eflinux we are.. ;)
@legymhueck9271
@legymhueck9271 4 года назад
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 :)
@abobader
@abobader 4 года назад
Well done, good video as always, good idea to do this with more than a disk drive, good idea.
@eflinux
@eflinux 4 года назад
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 года назад
@@eflinux Well done, I notice you using vim lately, why not neovim since you like to customize :)
@eflinux
@eflinux 4 года назад
One at a time :)
@abobader
@abobader 4 года назад
@@eflinux heh, true :)
@tonyawards560
@tonyawards560 4 года назад
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 года назад
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 года назад
@@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 года назад
I am guessing yes, if you can do that when the drive is failing, but I haven't tested it myself.
@tonyawards560
@tonyawards560 4 года назад
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 года назад
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.
@akikohasegawa3839
@akikohasegawa3839 4 года назад
Another great video. Thank you so much!
@eflinux
@eflinux 4 года назад
Thank you so much peppermint!
@JM-sn5eb
@JM-sn5eb 4 года назад
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 года назад
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.
@kc-nk3lc
@kc-nk3lc 4 года назад
Everything is fine. But how can I test this in a virtualbox?
@eflinux
@eflinux 4 года назад
Just add 2 more disks in VB.
@abobader
@abobader 4 года назад
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 года назад
Thanks for the suggestion, I'll study on it :)
@abobader
@abobader 4 года назад
@@eflinux Well done!
@gmmxn
@gmmxn 2 года назад
Thank you very much.
@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.
@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.
@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.
@nyanlauncher7350
@nyanlauncher7350 2 года назад
"boot device not found"
@darrenrichard998
@darrenrichard998 4 года назад
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 года назад
Thanks Darren!
@tonyawards560
@tonyawards560 4 года назад
@@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 года назад
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.
@tonyawards560
@tonyawards560 4 года назад
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 года назад
Hey Toniy! Sure! The command is "systemctl enable fstrim.timer". Cheers :)
@tonyawards560
@tonyawards560 4 года назад
@@eflinux Thanks so much, saves me a lot of looking ;-).
@eflinux
@eflinux 4 года назад
No problem!
@darrenrichard998
@darrenrichard998 4 года назад
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 года назад
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!
@marianorodrigocc
@marianorodrigocc 2 года назад
special!!!
@govindthakre6498
@govindthakre6498 4 года назад
what happed to i3 customizing series, you were going to upload video on polybar
@eflinux
@eflinux 4 года назад
I'm working on it, it's coming up tomorrow or Tuesday.
@eflinux
@eflinux 4 года назад
It's a matter of personal preference. For my needs, i3blocks does the job well enough :)
@govindthakre6498
@govindthakre6498 4 года назад
@@eflinux you are doing great job. thank you for these videos
@eflinux
@eflinux 4 года назад
Thank you so much!
@tonyawards560
@tonyawards560 4 года назад
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 года назад
Hi Tony, that sounds good to me. In any case, I'd avoid LVM until you are dual booting.
@tonyawards560
@tonyawards560 4 года назад
@@eflinux Did you mean until I am dual booting, or until I am not and on arch only?
@tonyawards560
@tonyawards560 4 года назад
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 года назад
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 года назад
@@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.
Далее
[8e] | Polybar on i3
42:12
Просмотров 112 тыс.
[1e] | LVM on LUKS Encryption Install
26:31
Просмотров 17 тыс.
titan tvman's plan (skibidi toilet 77)
01:00
Просмотров 6 млн
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
Просмотров 2 млн
[1a] | Arch Linux Base Install on UEFI - New Series
35:23
Dual Booting Windows 10 and Arch Linux on MBR/BIOS
33:21
Arch Linux: October 2020 Base Install on UEFI & MBR
34:34
titan tvman's plan (skibidi toilet 77)
01:00
Просмотров 6 млн