Install Fedora with LUKS + Btrfs + Snapper + Grub-Btrfs (100% WORKING)

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 25

  • @SysGuides
    @SysGuides  9 місяців тому +1

    UPDATE:
    Something has changed in Fedora recently. The kernel and initramfs were installed in /boot/efi rather than the default /boot directory. To fix this, you must make two changes.
    Change 1 at 16:24 timestamp. Add this command instead:
    dnf --releasever=39 --best --setopt=install_weak_deps=False --installroot=/mnt \
    install @minimal-environment langpacks-en glibc-langpack-en glibc-all-langpacks \
    kernel grub2-efi-x64 grub2-efi-x64-modules grub2-tools grub2-common shim \
    cryptsetup btrfs-progs grubby polkit vim git inotify-tools make finger \
    tpm2-tss tpm2-tools bash-completion cracklib cracklib-dicts
    Change 2 at 28:15 timestamp. remove the word '--root-dev-only' from the file /boot/efi/EFI/fedora/grub.cfg.
    From this:
    search --no-floppy --root-dev-only --fs-uuid --set=dev xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    To this:
    search --no-floppy --fs-uuid --set=dev xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

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

    Very nice guide -- reminds me of setting up an Arch Install. Thanks!

  • @AndreaIppolitoIppo
    @AndreaIppolitoIppo Рік тому +4

    I would like to move to fedora (from tumbleweed), but this seems like so much hassle
    Fedora should really provide nicer defaults via anaconda to allow users to:
    full disk encrypt VS only home folder encrypt VS no encryption at all - all while minimizing the amount of decryption key prompts
    snapshot support, on or off (including grub)
    filesystem preference (unless conflicting with snapshots, in which case I guess it's fine to force the user to stick with btrfs, for example)
    Then come up with a proposal where the user can adjust partition sizes or ratios
    Is it really THAT hard?

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

      Fedora, it appears, is more concerned with providing its users with a stock experience and stability. I'm surprised Fedora is still offering BTRFS when Red Hat has already abandoned it. Red Hat typically uses Fedora to test new features before incorporating them into their Red Hat Enterprise Linux operating system.
      For some reason, Fedora's creators appear hesitant to deviate from their default structure. Even when they want to, they move slowly. They most likely do not want to confuse their long-time users.
      For example, in the Fedora 37 release ChangeSet, they are supposed to release DNF5 and relocate the DNF database to somewhere in /usr. However, this did not occur. It was moved to Fedora 38, then to Fedora 39. It has now been rescheduled for Fedora 41.

  • @vangtrangkhuyet732
    @vangtrangkhuyet732 3 місяці тому

    Thanks for your video. I'm newbies to Linux and my love Distro is Fedora. I had use this one since early 2001 or 2002 but I'm struggling to find driver for it to work my system and I quit using until now but I still finding struggle to make manually installation. since I discovered your video on UA-cam then you made my life easier. Everything is working perfectly but there is small noticed that I discover was the snapper only snap the application if i use terminal to insall but when I switch to to apple Store to install the snapper doesn't record it. is there a way to make snapper snap everything that i install either from using command line or App Store?

  • @plows2940
    @plows2940 5 місяців тому

    Would it be possible to do something like this with a Windows Dual Boot? Ideally both Fedora and Windows being encrypted with TPM support?

  • @christoskokkolis5110
    @christoskokkolis5110 10 місяців тому +1

    I have installed Fedora 39, and being a complete Linux novice I wrongly assumed that something as popular as Fedora would had already a “restore point management system” as a default -especially given that’s using btrfs. How wrong I was.
    So, can I follow this guide (or ANY guide) that will allow me to create restore points (for total 100% rollback, even if fedora does not boot!) in fedora 39 WITHOUT having to re-install fedora?
    For info, I have already installed fedora 39 workstation on a laptop as a dual boot (so two separate SSD disks, one runs Windows 11, the other one runs Fedora 39, with Grub 2.06, each SSD is 250GB, and on the Fedora SSD I’ve got c 150GB free… wish I had seen your video prior to installing Fedora. Thank you.
    By the way, Is Timeshift a good option for Fedora with btrfs snapshots?

    • @SysGuides
      @SysGuides  10 місяців тому

      Unfortunately, Fedora does not include any restore options by default and is popular for reasons such as stock experience, stability, and RPM-based packages.
      Regarding Fedora reinstallation, I am afraid you have to do so because Fedora by default installs the root file system in a subvolume. In my setup, it is initially installed in the main volume. Later, a snapshot of the root file system is created as a subvolume and set as the default root file system.

  • @BruhKhokhols
    @BruhKhokhols 7 місяців тому

    can you update tutorial for fedora 40?

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

    How can I replace the initial text mode input request of the luks key to graphic mode using plymouth?

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

      Unfortunately, you cannot. Plymouth is the Fedora graphical boot theme, and it cannot be used to pre-boot GRUB.

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

    Great tutorial, feels very much like installing Arch this way. Bit of a n00b question, but what are the extra packages needed and steps that you have to take when performing this on a laptop with only Wi-Fi?

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

      I don't think you need to install any additional packages or go through any additional steps to get Wi-Fi to work. This will be handled by the package group @networkmanager-submodules, which will be installed in Step 3.
      *$ sudo dnf group info networkmanager-submodules*
      Group: Common NetworkManager Submodules
      Description: This group contains NetworkManager submodules that are commonly used, but may not be wanted in some streamlined configurations.
      Default Packages:
      NetworkManager-bluetooth
      NetworkManager-wifi
      NetworkManager-wwan
      dhcp-client
      dnsmasq
      iptables-nft
      wpa_supplicant

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

      May be this will help: www.makeuseof.com/connect-to-wifi-with-nmcli/

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

    The question is; why Fedora does not do this as default?!
    I love openSUSE's default setup.

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

      Fedora appears to be more concerned with providing a stock experience and stability to its users.

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

    Thanks for the tutorial, great work!
    This maybe a very noob question, but what about upgrading the distro after installing it your way. Will it be possible to upgrade to Fedora 39 easily or will I have to perform the whole installation process again?

    • @SysGuides
      @SysGuides  Рік тому +4

      You can easily upgrade to Fedora 39. You don't need to make any changes.
      If Fedora introduces DNF5 or moves the DNF database to /usr, you may need to make some changes. If changes are made, I will post a video showing how to do so.

    • @NiklasStadelmeyer
      @NiklasStadelmeyer Рік тому +2

      @@SysGuides Thanks a lot!

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

      @@NiklasStadelmeyer You are most welcome.

  • @Sohal.Sandeep
    @Sohal.Sandeep Рік тому

    Please make a video on Linux Mint with same process. Or make a video Fedora with cinnamon desktop

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

      To install Fedora with cinnamon, simply replace two commands.
      In section 9:
      (1) Replace the command
      𝚍𝚗𝚏 𝚐𝚛𝚘𝚞𝚙 𝚒𝚗𝚜𝚝𝚊𝚕𝚕 '𝙵𝚎𝚍𝚘𝚛𝚊 𝚆𝚘𝚛𝚔𝚜𝚝𝚊𝚝𝚒𝚘𝚗'
      with this command:
      𝚍𝚗𝚏 𝚐𝚛𝚘𝚞𝚙 𝚒𝚗𝚜𝚝𝚊𝚕𝚕 '𝙲𝚒𝚗𝚗𝚊𝚖𝚘𝚗 𝙳𝚎𝚜𝚔𝚝𝚘𝚙'
      (2) And instead of creating a '𝚐𝚍𝚖' subvolume in /var/lib, create a '𝚕𝚒𝚐𝚑𝚝𝚍𝚖-𝚍𝚊𝚝𝚊' subvolume in /var/lib.
      Everything else will remain the same.

    • @Sohal.Sandeep
      @Sohal.Sandeep Рік тому

      @@SysGuides Thank you for the information