Arch Linux Install: January 2021 ISO With BTRFS & Snapshots

Поділитися
Вставка
  • Опубліковано 28 сер 2024
  • CORRECTION: the fsck hook can be left in the hooks, as it does not "corrupt" the btrfs file system, but can be safely removed from btrfs file systems in the fstab file as it does not provide any benefit to the file system itself.
    NOTE 2: the var_log sub volume should be mounted on var/log.
    NOTE: at 41:00 there is a typo (ustr instead of usr). I edited it immediately after so the result on the tutorial is correct.
    This is the installation of Arch Linux with the January 2021 ISO. I am going to install it with btrfs, snapper, and I am going to build it to take snapshots on system upgrades.
    Snapper Wiki: wiki.archlinux...
    BTRFS Wiki: btrfs.wiki.ker...
    ** Become a Patreon to support the channel: bit.ly/3dGGZxQ **
    ** Follow Us on Twitter: bit.ly/3gKkPeR **
    ** Donate to the channel by visiting our Website **
    My Hardware:
    AMD Ryzen 9
    32 GB RAM
    Sapphire RX 5700 XT
    My software:
    Distro: Arch Linux
    Video editing software: Kdenlive
    Music: Jindupe by Lauren Duski
    Check out our Website and connect on Social Media!
    Website: ermannoferrari...
    Facebook: / ermannoferrariit
    Instagram: / efsoftwareandit
    #howto #archlinux #btrfs

КОМЕНТАРІ • 402

  • @harryvendryes
    @harryvendryes 3 роки тому +57

    I like the fact that you frequently revisit subjects. There's always improved methods and software. The rolling disto never sleeps. Keep them coming.

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

      I sometimes feel like I am redoing the same videos, but then discover every time something new or different. That is the beauty of a rolling release :)

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

      @@eflinux Completely agree. Your videos are all superb. Never miss a single one. The clarity and detail is crystal clear. Fab!

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

      And also, the stuff you cover more than once across multiple videos is just reinforcement. It will make it easier to retain the info for longer.

    • @dequ-1
      @dequ-1 3 роки тому

      @@eflinux Any chance of revisiting Fedora 34? Pipewire specifically?
      I have used Arch since 2011, but my Kimsufi servers stopped offering Arch as a distro and so I selected Fedora for Servers. And I thought it made sense to go to Fedora for Desktop and Laptop. But Pipewire has me well and truly beaten, especially in Firefox. I am also struggling with taking any version of Fedora back to Alsa/Pulseaudio.
      Maybe my problem is that I dont seem to be able to grasp HOW the pipewire set up works. With ALSA/Pulseaudio I could easily sketch you a diagram of how things work in Linux, but with Pipewire, just when I thought I had things sorted, another problem seems to rear its ugly head.

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

      I did the last video for the monthly install of Arch we here I go a little deeper on pipewire. But I’ll definitely revisit F34.

  • @minjung3350
    @minjung3350 3 роки тому +17

    I like how you not only show the commands, but explain for what they stand!

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

      Happy to help:)

  • @ricardo072
    @ricardo072 3 роки тому +16

    I was following every minute of this... it's 1:20am now but I ended up with an impressive, new, clean, badass Arch Linux installation with KDE Plasma... Thanks a lot Ermanno..!! I appreciate your hard work.

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

      Glad I could be of help!

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

      @@eflinux
      when you have some time, Could you please make a video about the WezTerm terminal emulator ? Including some beautification on it ?

  • @moonsk1ter89
    @moonsk1ter89 3 роки тому +11

    I literally just finished installing arch with the help of one of your videos (MBR version) thank you so much !

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

      Glad I could help!

  • @aldyreal
    @aldyreal Рік тому +3

    The fact that this tutorial still works till this date is amazing! For anyone who wanna try this, there's a couple suggestions for you: Check for the corrections in the description (typos and stuff), also use the current wiki version of bootbackup hooks since it is a bit different now
    I personally installed it with EPS mounted to "/efi" instead of "/boot" since I'm doing dual boot and it is recommended to do so in wiki, however it's not stated clearly in the wiki. For me it goes like this: mounting stuff goes to /efi. Grub cfg however still goes to /boot/grub. --efi-directory goes to /efi.

    • @silentobserver9095
      @silentobserver9095 6 місяців тому

      I was following along the video while reading the ArchWiki and got confused on the bootbackup hooks part.
      Thanks for the heads up!

  • @rabbitphluff
    @rabbitphluff 2 роки тому +2

    Worked perfectly thank you! Having the pre and post snapshots automatically added as grub entries is super convenient.

  • @renegade_101
    @renegade_101 2 роки тому +1

    I decided to wipe my Arch install and rebuild with BTRFS. Mainly because I want to learn btrfs. This video was very informative and resulted in a perfectly running system. It went beyond "just type these commands". I felt like I was back in college. You have make a subscriber out of me. I am considering typing up a text version of your instructions. BTW I noticed that typo and corrected it.

  • @bobruddy
    @bobruddy 2 роки тому +1

    This is by far the best walk through I’ve seen.
    I had gotten most of the way by myself, but found your video researching what wasn’t working. Your tutorial cleared up all my issues.
    Thank you!!!!

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

    Great walk-through.
    I initially did my install without any Btrfs subvolumes (just root volume), because the Arch wiki was vague about things, so I couldn't set up Timeshift.
    So I just scrapped the whole installation and followed your steps now.
    By the way, there is a way to have a swapfile with Btrfs now, so you don't need a swap partition.

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

      Thanks! Yes for the swapfile. Another way is ZRAM, which I covered in the last monthly install.

  • @beardedgeek973
    @beardedgeek973 3 роки тому +3

    This video inspired me to install Arch the Arch Way for the first time since 2018 (an avid EndeavourOS user, normally, these days). Since I don't have two computers I took notes from this and used those and my memory from previous installs to do a dual boot setup with W10 and I made it up and running in with Xfce, btrfs and snapshots (lazy version: timeshift, not snapper) in 20 minutes (fast internet ;) ). Thank you.

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

      Hi Stefan! Glad to hear that!

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

    Complements of the season Master 🙏🏾. I’ve saved this video on Linux playlist because I know that in the coming months I’m going to be trying out BTRFS in this way.

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

      Let me know how it goes!

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

    You're phenomenal, I successfully made my first arch installation with this video today!! Thanks

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

      Congrats!

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

      @@eflinux I've been deep-diving on BTRFS in the last 2 days, and I have been studying a bit how Garuda is set up, since I found their backup pretty intuitive to use.
      Despite the fact that they don't use subvolumes, they use timeshift instead of snapper to take snapshots which I find easier to use for the average Linux user, than snapper. It uses 3 packages: timeshift, grub-btrfs and timeshift-autosnap. Have you used it anywhere? Do think this would be a good combination for a standard arch too?

  • @farhazulislam405
    @farhazulislam405 3 роки тому +25

    19th viewer :) YES~
    I WILL INSTALL ARCH AGAIN TOMORROW MORNING.
    IT'S 11 30 PM HERE...
    MUCH LOVE FROM BANGLADESH, SIR.

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

      Let me know how it goes!

    • @liddlemeee4763
      @liddlemeee4763 3 роки тому +3

      I'm from bangladesh too😊

    • @farhazulislam405
      @farhazulislam405 3 роки тому +3

      @@liddlemeee4763 DAMN BRO

    • @farhazulislam405
      @farhazulislam405 3 роки тому +3

      @@eflinux Well, I really enjoyed how you explained the Snap Shot on your video.
      and Honestly, Your video is better then My online Classes :'). I would rather watch your videos then doing online useless classes.

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

      Thanks! But I still have a lot to learn and your teaching experience is irreplaceable:)

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

    Absolutely the best guide available on youtube! Thank you

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

      Thanks! Glad it helped!

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

    Really solid guide. It's always recommended to follow the arch wiki, but using this video in tandem with the wiki may help with understanding some commands/concepts better.
    This still holds up a couple years later, but do make sure to cross reference the arch wiki as some parts of the installation have changed, such as the bootbackup.hook file.

  • @act.13.41
    @act.13.41 2 роки тому

    I used this, along with a couple of your other videos to get a fresh setup of Arch/btrfs/kde-minimal going today. I am tweaking it now. Thank you for the hard work you put into these videos. It does not go un-noticed.

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

    Hello
    I want to say, thank you!
    Your video was great, good pace and detail explanation to understand everything that is happening on the installation
    Cheers from Mexico

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

      Thanks Daniel! Glad it helped!

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

      @@eflinux hey
      Sorry to bother you
      The video you made on dwm around 7 months ago.
      Will it work after this installation?
      Or do I need to look at something else?

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

      It should work, though I haven't tried dwm in a while.

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

      @@eflinux thank you for replying
      I will check it out

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

    I got two notifications at first with same title, weird to think :D
    Another great video ;)

  • @dsdxtech
    @dsdxtech Рік тому +1

    Hi Ermanno! First off I just wanted to say that your tutorials are the best I've seen. They are intuitive and just the right speed. I've been using Arch Linux for about 7 years now and haven't used anything else. I love the stability and the freedom. So I have a question about this tutorial. Is it safe to use btrfs on a standard HDD?

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

    Thanks Ermanno for keeping us updated, now this will reduce chance to breaking the system and enjoying Archlinux forever.Garudalinux has also implemented the same..But you have shown the whole process guite nicely..Keep it up....

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

      My pleasure!

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

      Garuda has different organizations of subvolumes and it use timeshift. I wonder what is the best way to use. What do you think about it?

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

      It is a different approach and probably TimeShift is easier than Snapper to use. Both approaches work well, but to be honest I prefer Snapper as it is a little more flexible with the subvol structure.

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

    Excellent!
    Just a little request: I know that the video is already quite long, but why not spend one more minute in order to explain how to have a double boot and configure Grub to see a windows partition?
    I've done it on my own (and I felt very proud! ;-) ) but maybe not everybody is capable to do it, and I think that a great number of viewer has a machine with a partitioned hard disk.
    Again my compliments: your tutorials are definitely the most precise, easy to follow that I have ever seen, please don't stop!

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

      Hi Lorenzo, thanks for the feedback! I usually focus on the monthly installs with new ISO's on Arch only. That said, I do have already several videos on dual booting on the channel.

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

    So hard for me to comprehend now. I guess I'll stick to the ext4 way, but I'll also keep this video in my playlist and one day I'll install arch with BTRFS, hehe ;) amazing job man, a lot of info

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

    Great video! very informative and easy to follow. There is an issue though if you gonna install it on NVMe .. at 23:28 you need to add "---removable" flag and make sure to enable UEFI mode from bios, otherwise it will not boot. It took me a few hours to figure it out. Thank you very much finally I have my perfect custom Arch :)

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

      Yes, some motherboards require that.

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

      where did you put that flag, on the very end? WIth three dashes or two?

    • @robsonsilv4.
      @robsonsilv4. 2 роки тому

      Or keep both with (after grub-install):
      mkdir /boot/EFI/BOOT
      cp /boot/EFI/GRUB/grubx64.efi /boot/EFI/BOOT/bootx64.efi

    • @robsonsilv4.
      @robsonsilv4. 2 роки тому

      @@edwardnihal248 after grub-install, if you prefer --removable

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

    Awesome video. It got me running Arch on the 1st try with BTRFS. Now to rewatch your i3 videos and set that up. THANK YOU!

  • @eljejer
    @eljejer 3 роки тому +3

    Hello Ermanno. Thanks for this great tutorial. As s result of your very clear directions I manged to get my home server running in Arch linux in one hour. Really appreciated!
    With regards to your NOTE 2: the var_log sub volume can, and probably should, be mounted also on var/log:
    I interpreted your advise as follows by adding a duplicate line in /etc/fstab for the third partition: with the duplicate pointing to /var/log in stead of /var_log
    So basically the third partition is mounted twice now on two different folders.
    Am I correct in my interpretation?

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

      Hi! Thanks for the feedback! Actually the best way is to mount directly to /var/log at the mounting stage. I should have done that in the video, I guess I was asleep that day :)

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

      ​@@eflinux I am new to btrfs and linux in general. I have also mounted @var_log to var/log afterwards. My fstab shows the entry for /var_log mount directory. Do I edit it to /var/log mount directory?

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

      Exactly.

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

    Thank you so much! I spent the whole day thinking about how to create and mount the partitions correctly. Now I am able to use Timeshift.

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

    Thanks for this vid on b-tree file system :) just installed on my main PC .. looking forward to more info on btrfs👍

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

      Glad it was helpful!

  • @panospolychronis8043
    @panospolychronis8043 3 роки тому +5

    I just switched from Manjaro(XFS) to Arch with BTRFS ... thank you!!!! :)

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

      Glad I could be of help!

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

      Panos Polychronis, why not Ext4? I heard it's the best filesystem for linux.

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

    Can you say what the difference between timeshift vs snapper and what is better to use?

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

      Both are good for normal user . timeshift is easy to setup while snapper has a bit more options for managing snapshots(for admins) . u can use any.

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

    I was waiting for it. Thanks.

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

    Around 40-41 minutes, you wrote ustr instead of usr.... Maybe it is good to correct it, I did install Arch with btrfs and it is great, thanks!

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

      Thanks, yes it is in the video description.

  • @renzito3627
    @renzito3627 3 роки тому +16

    Please do an updated windows 10 dual boot on uefi with Btrfs and snapshots

    • @adeebh.s1915
      @adeebh.s1915 2 роки тому

      You just need to install ntfs-3g and os-prober, and then maybe mount windows partition to /windows and generate fstab

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

    I have tried 4 different tutorials for installing Arch. All of them have left something out. Your video is by far the most comprehensive. I will be trying the installation again tonight. Thank you so very much!!!!! One question though. If I want to install KDE instead of Gnome, do I just list it as kde when installing desktop environments?

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

      Hey Jake! Thanks for the feedback! I have a video on KDE on the channel which shows you also the packages to install.

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

      @@eflinux awesome! Thanks sir!! After discovering you for the first time last night, I have subscribed! Am currently at point of enabling snapper cleanup timer! This is such an amazing tutorial!

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

    Love your videos, very helpful! Cheers from Russia!

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

      Thank you very much!

  • @sarundayo
    @sarundayo 3 роки тому +9

    Would have been extra nice to also add full disk encryption to the install but I'll take it as is. Fucking legend 😎👌👌

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

      Thanks man! I'll do encryption once as well.

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

    Any reason not to make a @var subvolume and mount it at /var? It seems like most of the /var directory is databases and similar things which constantly change and will make the snapshots inefficient.

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

      Not really. I was just following one example.

  • @adonespitogonaif
    @adonespitogonaif Рік тому +1

    Just want to point out that you have a typo error in your pacman hook in the Exec line. You typed "/usrt/bin/rsync" (notice the extra "t")

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

    Happy new year - another great video!
    Could you do a video in the future adding encryption?

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

      I'll look into it, but btrfs is not yet fully mature. AFAIK encryption is not fully baked yet.

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

      TL;DR - EndeavourOS installer got LUKS working with BTRFS. The partitioning I had to do, but the encryption worked fine via the installer
      ​@@eflinux Personally i ended up going with EdeavourOS to bootstrap an arch installation. As you noted, I found some trouble getting my FDE to work.
      I haven't looked into the EOS installer, but i have to. It successfully setup LUKS on my drive....
      Not sure how. Mainly because decryption takes longer (~8sec on my x1c 6) whereas other hardware i having using PopOS FDE decrrypt in a second or two... Not sure if this has to do with the X1C and wanting things in a ramdisk or what....

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

    Good job! I will watch it several times to master it, thanks.

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

    Thank you for all your videos !

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

      My pleasure!

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

    Hello Ermanno, another short question: Is there any reason you create a seperate subvolume for /var/log but not for /var/cache? Imho, both can grow quite large and are not neccessary if the systems needs to be restored from a snaphot.

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

      Definitely! I just followed the Wiki as an example to show the procedure, but absolutely. Any directory like that could be subvolumed.

  • @chadwinters4285
    @chadwinters4285 2 роки тому +1

    I have a question that I hope you can find the time to answer. Around the 30:30 mark, you mentioned that creating a config also creates a .snapshot subvolume. Since we had already created one, we need to delete the new one. My question is, if the two subvolumes have the same name, how do you know that you're deleting the new one and not the old one?

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

    Blessings on you firstly! Thank you sir for this great tutorial, i just break my other arch linux install which i installed by following your video a year ago and about which i asked you on Twitter yesterday, and then i decided to freshly install arch and followed this video of your!!! And now I'm up and ready to go again! All thanks to you sir! Sir i also have a question for you and that is, Can we install arch linux with ZFS and if yes, then could you also make a video on that with snapshots capabilities? Thank you once again sir! Much appreciated, your efforts are❤

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

      Glad it helped!

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

    Excellent tutorial ! I can't say enough good things about it. You just gained a new subscriber. I managed to install Arch Linux on my Acer Aspire V Nitro. Couple of questions and a couple of suggestions. First the questions:
    1) I am using a 250GB Samsung 860 Evo M.2 SSD stick. Is btrfs ok to install onto an M.2 SSD like the one I have? I'm reading different things and some say btrfs is better on SSDs while others say it is bad. Will TRIM be enabled/supported on btrfs using this install method?
    2) This laptop has Nvidia Optimus graphics (Intel portion is Intel HD 4600 while the Nvidia graphics is GTX 860m, the NV117 variant @ 2GB). Now the thing is that I had to pull the battery out of this laptop anyways because it started to swell up, so I use it strictly without a battery. It is my livingroom laptop and it is always plugged in. I just want Nvidia graphics to run all the time. I don't need to switch. I installed GNOME which runs Wayland by default. Is there a way to run Nvidia all the time? I tried a few different tutorials but was always met with a black screen upon reboot
    My suggestion to everyone would be to run two Clonezilla backups, one just after gettting the base install done (before GNOME) and then one right after installing GNOME. This way, one can avoid all of the very lengthy initial steps of having to reinstall from scratch should things go horribly wrong OR if one decides to do a clean install and choose a different DM, let's say. Then run another Clonezilla backup after installing GNOME. That way, one has two different options of starting over again. Because Arch is so lightweight, the Clonezilla backups whether just base install or with GNOME literally took less than 10 minutes.

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

    Just one quick question from incompetent / learner user:
    Is the snap package really necessary? There is no other way to set up snapper?
    Thank you for this video, I'll share it on social networks!
    Cheers!

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

      You don't need snap-pac-grub to use snapper. I have another video for that on the channel.

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

    Boss this is the correct for "Exec = /usr/bin/rsync" not /ustr 😂
    I Really learn a lot from you regarding btrfs and snapper keep-it up 🥰

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

      Thanks! Yes, the correction is in the video description.

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

      @@eflinux and also boss one more the correct mount point for @var_log is /var/log

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

      That's also in the description :)

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

    Waited for it eagerly

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

      Make sure you read also the video description.

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

    Thank you once more. Best wishes for the New Year 2021

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

      Same to you!

  • @danielkrajnik3817
    @danielkrajnik3817 4 місяці тому +1

    wouldn't it be better to mounting eps in /boot/efi instead of /boot to allow btrfs to include kernel and initrd in snapshots?

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

    Hello Ermanno, thanks for your great videos.
    I have one question: Currently I'm using a Manjaro/Windows 10 dual boot system and I want to switch from Manjaro to Arch linux with btrfs. In your tutorials you mount the efi partion to /boot. When I check this in my Manjaro system the efi partiton is mounted to /boot/efi. Can you tell me the differences of the two ways to do it and which one is better? Can i reuse my efi partion (and my windows installation)? A warm RTFM with a link to the M is also welcome, couldn't find anything about the difference.

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

      It doesn't really matter where you mount your boot partition to. He also mounted it to the /boot/efi (that he first had to create) on his October installation. I always just mount to /boot directly, because the extra efi directory really is just an extra directory and nothing more.

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

      As Peter said above, you can use both. The only difference is in the boot loader you choose to install. If you want to install systemd-boot for example, you will have to choose /boot only. Also, some motherboards require you to use /boot/efi.

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

      @@eflinux oh wow I didn't know of that! Thank you

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

      Thanks guys. I'll use grub and give it a try mounting the efi partition to /boot .

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

      warm RTFM 😂😂 Arch forum leaves us a little afraid of asking sometimes

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

    Awesome. I refer to this tutorial often.

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

    Thanks, great video. Quick question: There was a subvolume @var_log, mounted at /var_log (initially at /mnt/var_log). Why was it mounted at /var_log and not at /var/log? Thanks very much.

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

    First of all: Thank you for these great videos. I've learned a lot about Arch because of this amazing work you are doing!
    I do have a question about this video. I wonder if the setup for the boot backup hook (ua-cam.com/video/Xynotc9BKe8/v-deo.html) is correct. I followed your example, but I do not see any log output when I do have an actual change in the boot partition, nor I can find the backup. In the arch wiki this hook is also setup with condition "PostTransaction" but in your video you set it up with "PreTransaction". Do i miss something here?

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

      Ran into the same issue...trying to figure it out now, did you ever resolve this?

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

    Exactly what I needed, thanks!

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

      Glad it helped!

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

    I might be wrong but isn't the mounting point should be /mnt/var/log instead of /mnt/var_log?

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

      Yes, it is. It is corrected in the description.

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

    Thank you so Much, sir, even a dumb like me can succes installing arch. ill share this

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

      No dumbs, just learning :)

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

      Dumbx2 ill install arch for 3rd time only because of your video sir. Thanks.

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

    Great Tutorial Video and indepth explanation. Thank you. One question is I have EndeavourOS for over a year on Laptop and Desktop with Timeshift working. I have used the snaps several times to fix boot problems so I know it works. Is there any benefit that snapper has over Timeshift? I seems Arch doesn't support Timeshift since it is not in the Arch packages but in the AUR. Any thoughts? Thanks

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

    Hi, have found a small error in you description. The Mount point for @var_log should be /mnt/var/log and not /mnt/var_log....

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

      Yes it's corrected in the note 2 in the description.

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

      Sorry for such a late comment but how would I correct this after I've already done the entire tutorial?

  • @user-rr7ei4iu3j
    @user-rr7ei4iu3j 3 роки тому +1

    Wow!!! show the kernel optimization for your archlinux hardware

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

    Love your videos!!

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

    Thanks for this, my friend.

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

    Thank you for your videos.
    What is the difference between this video and the one from June 19, 2020 where you create subvolumes tmp , opt , swap ... ?
    I am a bit confuse following the different videos.
    Would appreciate your reply.
    Thanks.

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

    Hi excelent video, when you install base, I dont see you install base-devel It is not necessary ..?

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

      It is installed at 22:13.

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

    I did this just so that I could have a safe retreat whenever I do something stupid in Arch Linux lmao. Thx for the vid btw.

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

    Couple of questions regarding btrfs mount options:
    - Why LZO instead of ZSTD?
    - Why V2 of space_cache?
    - Why no discard=async?
    Regarding subvolume scheme: did you by any chance see OpenSuse btrfs scheme located? What are your opinions about it? thx

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

      Hey Mitja, thanks for your comment. I usually choose the standard option for these kinds of videos. LZO, as per the wiki, seems to give satisfying results for general use and that's why I used it here. Same for the other options. I did a video where I apply the openSuse btrfs scheme on Arch. I think it has several interesting aspects, but might be too complex for some people. Some comments on that video were pointing in that direction. In general, though, I think btrfs is a fascinating fs, but it probably needs still time to mature a little.

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

      @@eflinux so you personaly do not use it? I am asking this because I am still deciding between EXT4 and BTRFS for my workstation. However I chose to keep home on EXT4 partition in any case.

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

      On my machines I use ext4. That's also because the way I set up my work I don't need snapshots of the system. But, again, this is just my personal setup :)

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

      @@eflinux do you by chance use EtcKeeper?

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

      I know about this package, but I never used it.

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

    Hey great video. Near the end you mentioned something about fsck in the mkinitcpio.conf file and how it can cause issues with our boot part being fat32. Can you provide a link? I'd like to read more about it (I couldn't find it)

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

      Hi Joseph, the information was available on Vultr, but I've seen now it has been /removed/corrected. The fsck hook is useful if you want to check the efi partition (which is formatted with fat), but it does not provide any use to the btrfs file system, so you just need to make sure the filesystem checks in the fstab files are 0 0. In the last video with btrfs with the April 2021 ISO the info is more up to date. I'll update the video description with this note. Thanks for pointing this out on this video.

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

      @@eflinux Thank you. I'll have to give my fstab a look.

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

    I installed Arch with btrfs a couple of month ago when kernel 5.10 wasn't yet released, using your previous guides, and with kernel 5.9 everything worked good. Since I have updated to 5.10 my older snapshots won't boot, even the release of the 5.10 version of the btrfs-progs package hasn't solved this problem. The error is "failed to mount /boot, dependency failed for local file systems"

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

    ​ @EF - Linux Made Simple Why afther the install you don't use the iwctl for set the wifi connection?

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

    What's the difference between having fsck to boot or not? Will it improve performance if we don't fsck the boot or is it safer to leave it there as it is in the mkinitcpio.conf? And thank you for the great video.

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

    Thank you for this tutorial, Ermanno. Unfortunately I have a problem with some installations and I don't know what I'm doing wrong. My snapper shows only one snapshot: "#0 Now root current". Can you tell me what I did wrong? Thanks a lot in advance.

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

    Can I still do this if I keep home and root separated ?
    How do I mount the partitions if that's what I decide to do ?

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

      Since you use the btrfs file system you don't need separate partitions as separate subvolumes for root and home can be created.

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

    my script works but... yours is 100 times better hahaha. awesome video

  • @Ham-pb7pb
    @Ham-pb7pb 3 роки тому +1

    With BTRFS is everything encrypted unlike other methods where there are some partitions left unencrypted?

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

      No, btrfs needs to be encrypted.

  • @AGGPEE
    @AGGPEE 9 місяців тому

    noice, gonna try it out right now

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

    Your Work is Highly appreciated

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

    I have been using ubuntu for the past 2years now I am thinking of switching to Arch linux. What is your advice for me?

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

      Practice in a VM until you’re comfortable first. Try many times different combinations on how you want your system to be and only after go on metal.

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

      @@eflinux thanks I will do that

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

    Is there a way to limit the amount of snapshots it keeps? I have it up to 12 snapshots and I think that should be all that it keeps. Is there a way for it to automatically delete?

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

      You can define the snaps limit in the config file I showed in the video and make sure to enable the cleanup timer.

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

    Amazing, as always. Thank you!!

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

    the snapper seems to work good.. except when you do a rollback it errors out..
    "can not detect ambit since default subvolume is unknown?"
    btrfs/snapshots seem so clunky compaired to zfs :(

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

      For that you need to define the ambit on snapper. You can see my video on fedora for that, but it is a little too much work.

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

      @@eflinux ty! will do

  • @gerds.9956
    @gerds.9956 3 роки тому +1

    Another helpfull Tutorial! Thank you Ermanno!

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

      Glad it was helpful!

    • @gerds.9956
      @gerds.9956 3 роки тому

      @@eflinux Yes Sir! It works fantastic on my VM. Thanks a lot Ermanno. I Think i will test it for a while and then i install it at this way to my Laptop.

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

    I wonder: is it worth reinstalling Arch with BTRFS? Edit: last time I used ext4
    My problem last time was the wifi, which was not entirely stable (hardware-wise, it is an old Macbook Air 2011, with broadcom wifi card). As I need the machine to supplement my main machine for work in the short run, I (temporarily) went for Pop OS, but I really enjoyed Arch.

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

      Those machines can be tough to configure WiFi. Which drivers have you tried?

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

      EF - Tech Made Simple My lspci output said that I needed the one for BCM43224, according to the ArchWiki, thats brcmsmac. After that did not work (I still got kernel panic), I also tried again with broadcom-wl-dkms. I have not tried b43 until now, because it did not list my specific hardware on the wiki. Do you think that this could work?

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

      If you are able to install arch look in aur for wifi wrapper

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

    zona waktu dll untuk tempat dua kata seperti New York adalah New_York bermodalkan pertama setiap kata bergabung dengan garis bawah, tidak pernah kesalahan kemudian

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

    Is it possible to create another snapshot configuration in the same /.snapshots folder? I want to be able to make snapshots of both the root subvolume and home subvolume

  • @asdf1213-t2n
    @asdf1213-t2n 2 роки тому

    Amazing job 👌

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

    Probably now you would rather use zstd compression, since it generally compresses better than lzo with similar performance. It was added to the linux kernel in version 5.9

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

      Yes! Definitely! I did so in the April 2021 iso video :)

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

      ​@@eflinux Oh, awesome! It's great that you keep these videos up to date. I'm gonna check out the new video soon, thank you for doing this!

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

    Hi, thank you for making the switch to linux a little bit easier:) could you make a tutorial on how to use external drives with subvolumes on btrfs? i.e. 1tb external drive how to create several subvolumes, and then mount them on the computer? It seams no-one have made a tutorial on it, and I cant figure it out how to do it the right way. with uuid, subvolume-id. on manjaro it tells me it's not in the fstab. file. and if you can as a bonus tip show how you format the external drive to get i.e. /sdh/sdh1 instead of just /sdh in arch linux distributions.

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

      Thanks for the idea! I'll look into it!

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

    Muito obrigado Ermanno. 😀

  • @JohnJohnson-dl8oq
    @JohnJohnson-dl8oq 6 місяців тому

    Snapper setup @28:00

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

    Hey why do you use sometimes ntp sync at first and sometimes not?

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

    when i want to restore snapshot from grub i'm getting this message: The root device is not configured to be mounted read-write! It may be fsck'd again later. what command you missed in installation process?

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

    Excellent ! I saw your earlier video and this one is even better. I have a question - I was successful in installation per your instruction but I loaded KDE, not Gnome. My question is .... how do I restore a snapshot from GRUB ? I have tried many times and I get .... the root device is not configured to be mounted read-write! it may be fsck'd again later
    You mentioned that fsck could be a problem - but I did nothing to prevent the problem. HELP

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

      No, that's not an issue as long as the FSTAB has 0 0 on the btrfs file system. The problem is snapshots are by default read only. You can set them as read and write (I did another video for that), or you can use the grub-btrfs-overlayfs hook, for which I will do a video soon.

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

      what's the name of that video?

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

    Nice video. I am always confused how to install anaconda and have jupyter notebook run on arch. It would be nice to have such a video...

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

      Great suggestion!

  •  2 роки тому

    This video helped me a lot. Thank you.

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

    Automatic snapshots during package installs do not work for me for some reason.
    Apart from using a swapfile instead of a swap partition I didn't do anything different.
    Could that be the problem?
    Getting the error below when I install something.
    imgur.com/a/iPYloNQ
    Edit: Might actually be a problem with the swapfile. It works now after not having created one.
    (or maybe I really messed up some step)

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

      It might have been because of the swapfile, although I am not 100% positive.

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

      @@eflinux I just tested creating a swapfile after having finished the install. It results in the same error again. Removing the swapfile makes snap-pac work again.
      Followed these instructions to create the swapfile. wiki.archlinux.org/index.php/Btrfs#Swap_file
      Edit: I'm stupid. Says here on the Arch Wiki page for snapper that swap files are not supported. wiki.archlinux.org/index.php/Snapper#Suggested_filesystem_layout

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

    snapper displays an error invalid snapshot --type. I could not find a solution for this so far. Any ideas? Thanks in advance

  • @KazLeFou
    @KazLeFou 3 роки тому +3

    Hello , Could you install Arch with luks 2 encryption argon2id sha3-512 , btrfs and refind for booting (arch and windows 10 on other disk) please. Thank you for helping

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

      That's a full menu :) I'll see what I can do.

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

      @@eflinux yes it is quite complicated! there is a tutorial available on github (Arch Secure Laptop install), but there are errors. Thank you anyway for your great videos

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

      I simply shrink ssd on my WIndows laptop. Now it have 4 partitions EFI, Windows, EFI, Arch. Last one is encrypted. BIOS sees EFI partitions how 2 different SSD, so I just disabled first which is for Windows. Whet it needed I just go to bios and eneble it.

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

    Thank you, this tutorial was really helpful.

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

    Can you do a openbsd install video?

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

    I have an old laptop..with 4gb ram intel 3rd gen processor..
    Should i go with pop os or garuda linux ??
    I mostly use my laptop for coding

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

    How I backup @home?
    When I use sanpper to create snapshot for home subvolume, auto-generated subvolume is @home/. snapshot.
    Is it correct?
    But I also want it in /. snapshots