Debian 12 Bookworm Installation w/BTRFS/XFCE/TIMESHIFT & GRUB-BTRFS

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024

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

  • @tolgayenici
    @tolgayenici 24 วันที่ผ่านมา +2

    This is the best ever Debian installation video. I can say that as a Debian user who installed the Debian a million times. Thank you. You are the champion.

  • @brunombardi
    @brunombardi หลายเดือนก่อน +4

    Man, it was a huge effort for a begginer in Linux like me, but in the ends everything is working fine. I really appreciate the tutorial. Keep the good working, man. Cheers from Brazil.

  • @timoleary5815
    @timoleary5815 6 หลายเดือนก่อน +8

    Absolutely brilliant, it make take me awhile to get it sorted, as I'm still learning, but to be able to restore snapshots from GRUB is a very useful feature. Thanks Drew.

    • @JustAGuyLinux
      @JustAGuyLinux  6 หลายเดือนก่อน +3

      You're welcome!

  • @huntmanday
    @huntmanday 6 หลายเดือนก่อน +1

    Dude I’ve been using Linux for over 10 years, but have mainly focused on the enterprise space and haven’t kept up with the latest filesystem technologies on my local Linux desktop machines. This video was so insanely helpful for someone who still wants to stay on Debian but yearn for more modern features that are in other distros I personally don’t care much for. HUGE thank you

  • @NatesRandomVideo
    @NatesRandomVideo 2 หลายเดือนก่อน +2

    Appreciate your work on this. Been working on doing stuff on an ancient MacBook Pro, and this is great for reverting things I try out and don’t work out well. Cheers!

  • @phonewithoutquestion80
    @phonewithoutquestion80 6 หลายเดือนก่อน +2

    I recently redid an install of Debian with xfce and timeshift, myself. To minimize cruft with snapshots, I split my btrfs configuration across six subvolumes, like so:
    /
    /home
    /opt
    /srv
    /tmp
    /var
    Easy enough. I do realize that this layout isn't ideal for flatpak usage, and whatever actually installs to /opt, as you exclude their contents in the snapshot process, but I am leaving flatpak behind to take full advantage of Debians predictable stability.
    As for the xfce half, I only installed the bare minimum core components outlined in the official xfce documentation, which Debians packaging of xfce allows you to do. I did use substitutions for the volume knob, notifications, terminal, etc... Overall I am aiming for a less redundant desktop experience.

  • @UBubba98
    @UBubba98 2 หลายเดือนก่อน +1

    This video has been a big help. I did have to consult another video to get help with encrypting because I’m using a laptop and I do like to encrypt my SSD, but other than that the video was great and I love that I can restore it properly and use XFCE on Debian because I was really wanting to do that. Ty Drew! Keep up the great content. I can’t wait to watch the videos you’ve made on customizing XFCE.

    • @JustAGuyLinux
      @JustAGuyLinux  2 หลายเดือนก่อน +1

      You're welcome!

  • @jeffersonsantos4603
    @jeffersonsantos4603 4 หลายเดือนก่อน +2

    You, sir, are a gentleman and a scholar! Thank you!

  • @PatrickDunn13078
    @PatrickDunn13078 3 หลายเดือนก่อน +2

    While this isn’t all for me I did learn something neat about the expert install that will be quite neat to use.

  • @emanonmuc7762
    @emanonmuc7762 6 หลายเดือนก่อน +2

    Perfect for me. I set up my xps 13 that way. works like a charme. Next will be your xfce customization vid. Great and much appreciated work. Thank you so much.

  • @ramosel
    @ramosel 3 หลายเดือนก่อน +1

    Drew, this was awesome!! Thank you, sir!. Fortunately, I was close with a Dell 7480 but after slogging through to the first reboot I got the dreaded "no bootable devices found". Try as I might to resolve this issue, it failed repeatedly. Yet the SAME M.2 drive would load and boot Windows and Linux Mint with no problems... hmmm. I re-ran your process up to the GRUB install and selected YES to the "Force GRUB installation to the EFI removable media path" and it FINALLY showed up in the F2/Boot Sequence as UEFI/debian. Otherwise, the ONLY deviation from your install and my result was although it installed an launches Firefox-esr, the launcher icon is just the generic "web browser" blue earth icon.
    But now I can really start to work on a debian based tool box for working with all my linux and freebsd devices and not have to worry about borking something so bad I get a brick.
    Again, Thank you!!

  • @nicopelle72
    @nicopelle72 14 วันที่ผ่านมา +1

    Excellent tutorial, thanks !

  • @darkbash-f3m
    @darkbash-f3m หลายเดือนก่อน

    Great video. Debian fan here also tried BTRFS it kept getting corrupted over the last 2 years or slowing down during everyday gnome use. Went back to EXT4 for my debian stable.

  •  2 หลายเดือนก่อน +1

    That is exactly what I was looking for! Thank you so much!

  • @h20andmore
    @h20andmore 6 หลายเดือนก่อน +1

    I thought you made a great video, thank you sir. I use Linux as desktop, not an expert on anything. Therefore I like being spoon fed sometimes. I have a creator type laptop so that implies what I do on the desktop. You included right amount of details for me without chasing rabbits, that is a real skill. Enjoyed, thank you ! Intend to use it in the near future.👏

  • @mrCastrinho_
    @mrCastrinho_ 3 หลายเดือนก่อน +2

    Omg you're really very good at it

  • @bokami3445
    @bokami3445 5 หลายเดือนก่อน +2

    Great video, easy to follow along and well paced. Now have a lean'n'mean debian nas server.

    • @JustAGuyLinux
      @JustAGuyLinux  5 หลายเดือนก่อน +1

      Welcome aboard!

  • @MarkusHobelsberger
    @MarkusHobelsberger 6 หลายเดือนก่อน +3

    That's a pretty neat setup. Great video.

  • @RKRK-e5f
    @RKRK-e5f 6 หลายเดือนก่อน

    Excellent method of recovering from a disaster. Thank you

  • @tunageldigitti7811
    @tunageldigitti7811 หลายเดือนก่อน +1

    Drew, many thanks for this amazing guideline.
    May I suggest gnome-core package as a minimalistic and beautiful way of installing Gnome? Each time I install Debian, I do my installation this way (and disable my Wi-Fi from /etc/network/interfaces). Pretty lightweight. Highly recommended.
    Thanks again!

  • @johnnylee3505
    @johnnylee3505 6 หลายเดือนก่อน +2

    Debian rules!🎉

  • @SnordCranston23
    @SnordCranston23 6 หลายเดือนก่อน +2

    Great information! Thanks!

  • @kev2020-z9s
    @kev2020-z9s 6 หลายเดือนก่อน +6

    Graphical install Root Password Note that you can leave both fields empty if you want the root account to be disabled. In that case, the login for the root user will be deactivated and the first regular user - that will be created by the installer in the next step - will have administrative rights through sudo.

  • @sergioarondejesusmenichini
    @sergioarondejesusmenichini 2 หลายเดือนก่อน +1

    Thanks 😊

  • @hiralpatel3863
    @hiralpatel3863 6 หลายเดือนก่อน +1

    Nice one mate. Very resourceful

    • @JustAGuyLinux
      @JustAGuyLinux  6 หลายเดือนก่อน

      Thank you! Cheers!

  • @leodnz-sg
    @leodnz-sg 5 หลายเดือนก่อน +1

    Excellent tutorial, maybe it would be great if you did the same thing but with LMDE + Setup secure boot

  • @bryanmoore2355
    @bryanmoore2355 5 หลายเดือนก่อน

    Worked for me. Thanks Drew.

  • @JestyJoshua
    @JestyJoshua 5 วันที่ผ่านมา +1

    What is this splitting subvolume thing people are commenting about? Is it something I should do?

  • @Phoenix-zk2oe
    @Phoenix-zk2oe 6 หลายเดือนก่อน +1

    I'm kind of new to Linux and Debian. Does btrfs need to be maintained somehow? Like a series of commands that need to be run regularly? I would appreciate it if you also made tutorials about more basic stuff, like what the benefit of using btrfs over ext4 is. BTW you've got a new subscriber; thanks for your quality videos.
    Update: I installed Debian with the btrfs filesystem in a virtual machine, and, oh boy, every snapshot only took a few megabytes instead of gigabytes! I can now take snapshots on every boot without sacrificing my SSD storage. Btrfs is just amazing.

    • @donaldwilliams6821
      @donaldwilliams6821 6 หลายเดือนก่อน +1

      You are probably thinking of BTRFS scrub and BTRFS balance. IMO there differences between EXT4 and BTRFS are vast! Performance, scalability, features are just a few

  • @huntmanday
    @huntmanday 6 หลายเดือนก่อน +3

    If anyone here is following along but decided to use KDE Plasma as their Desktop Environment of choice, after installing timeshift and attempting to launch it by clicking on the icon in the Application launcher, it won’t launch because a package needs to be installed. Run this command to fix it: sudo apt install pkexec -y

    • @globetrotterdk
      @globetrotterdk 6 หลายเดือนก่อน

      I got it working by issuing the following command: $ sudo chmod +x /usr/share/applications/timeshift-gtk.desktop

  • @sergeiborodin9254
    @sergeiborodin9254 6 หลายเดือนก่อน +1

    One thing I noted when followed your Debian 12.5 BTRFS guide - Timeshift can derp with snapshots due to current rsync version. Happened to me, couldn't restore my snapshot, after restoration I had system with all changes made after snapshot was taken. Timeshift just can't delete some directories in subvolumes. Maybe Timeshift itself is broken in this version.
    12.5 is just ridden with bugs - Nvidia drivers are broken due to missing symbols in kernel (needs kernel downgrade), Nouveau drivers are broken too, Timeshift is broken and a lot more complains on forums.
    I will probably wait for 12.6 now. 12.5 wasn't properly tested.
    Also, as a request, please make a guide for XRDP or any open-source remote desktop server for Debian with audio passthrough capability so Windows RDP client could work. I tried some ready script for Ubuntu/Debian but it required tinkering with TCP packet size to prevent audio bufferization/tearing over network. Most guides out there are just plain misleading even to the point of tinkering with pulseaudio/pipewire. Hours were wasted.

  • @busterbrown8830
    @busterbrown8830 6 หลายเดือนก่อน +1

    WOW - great video!
    sorry to ask - How about the part 2 Debian 'trixie' Hyprland video?
    Hope that video is in the que to be done?

    • @JustAGuyLinux
      @JustAGuyLinux  6 หลายเดือนก่อน +2

      for ricing?

    • @busterbrown8830
      @busterbrown8830 6 หลายเดือนก่อน

      yes - I remember you saying you would do a 2nd video ricing the waybar. But again, maybe not. I have stopped using X11 wm's using only Hyprland now- it is the next software replacing X11. @@JustAGuyLinux

  • @upgrade1373
    @upgrade1373 4 หลายเดือนก่อน +1

    Going to fire up my Pentium M again!

  • @anirbellahcen5551
    @anirbellahcen5551 26 วันที่ผ่านมา

    That's an impressive job. I have a question if you could help me out. I have already installed Debian 12, would it work if I install those subvolumes even after the base system installation? Thank you pal.

  • @ultraprimez
    @ultraprimez 5 หลายเดือนก่อน +1

    can i use gnome or cinnamon or KDE instead of XFCE ? i want my home pc for browsing, emails, e-shopping, banking and gaming. how to activate SELinux permissive or Enforcing ? What's Pro & Con of activating SELinux ?

  • @Phoenix-zk2oe
    @Phoenix-zk2oe 6 หลายเดือนก่อน +1

    I have a few questions:
    1. Why didn't you use ext4 for the boot partition?
    2. Why didn't you create a subvolume for snapshots?
    3. In the fstab file, why didn't you use noatime and compression in conjunction with defaults?
    4. Why didn't you specify a compression level?

    • @JustAGuyLinux
      @JustAGuyLinux  6 หลายเดือนก่อน

      just the way I have always done it.... Thanks for giving me something to think about.

    • @MarkusHobelsberger
      @MarkusHobelsberger 6 หลายเดือนก่อน +1

      @@JustAGuyLinux Compression levels are a "newer" feature of btrfs. Just setting it to zstd defaults to 3. I personally recommend zstd:1. That's quite a bit lighter on the CPU without losing much compression rate (like 50% vs 47% space).

  • @essetee
    @essetee 6 หลายเดือนก่อน +1

    ctrl+alt+F.. is only needed when you are in a GUI. Otherwise just use alt+F..

  • @Drugvigil
    @Drugvigil 20 วันที่ผ่านมา

    I have an issue
    Installed debian xfce with expert install include btrfs. Installed successfully but during login. It's not letting me in. I tried resetting my password also. Could you please guide me?

  • @krillAmorim
    @krillAmorim 6 หลายเดือนก่อน +1

    Excellent video! I was able to replicate these settings on my newer PC.
    However, I have an older PC that doesn't work with EFI. It's BIOS Legacy only.
    would like to use Debian with BTRFS and Timeshift on it. Could you please make a step-by-step guide or provide a link to some documentation or tutorial where I can accomplish this task?
    I've tried everything so far but without success. Currently, the notebook is running Debian using Timeshift with RSYNC.
    Any help would be greatly appreciated!

  • @codingcats
    @codingcats 3 หลายเดือนก่อน +1

    I need swap partition, while since I can't understand those complicated commands with btrfs and fstab, I had to follow the video exactly as it is. Can I just add swap partition during the partition part?

  • @jotwist138
    @jotwist138 4 หลายเดือนก่อน +1

    👋👌very cool, am still looking if to use timeshift ore snapper but I tested this in vm and cant find reason now why not use timeshift, thx

  • @herrvorragend4713
    @herrvorragend4713 2 หลายเดือนก่อน

    ok, fine, thanks but timeshift does not save /opt. changes in /opt cannot be reset with timeshift in your configuration. if i make a backup of /, /opt is excluded and that is not good! program changes cannot be undone this way. var and opt should always be backed up as well

    • @OraOraOra
      @OraOraOra หลายเดือนก่อน

      It's personal taste, but even openSUSE (the king of BtrFS and rollback) has complete /var and /opt as subvolume, to exclude it from rollbacks.
      If you install virtual machines like qemu/kvm - virtmanager, the images are saved in /var. You don't want to rollback your VM's.

  • @TheOfficialPesca
    @TheOfficialPesca 6 หลายเดือนก่อน +3

    25:57 EENNSSUURREE 😅

  • @GlenGlenervo
    @GlenGlenervo 20 วันที่ผ่านมา

    cant unmount target: device or resource busy?

  • @memilanuk
    @memilanuk 4 หลายเดือนก่อน +1

    How much difference is there going with 'expert' instead of 'graphical expert' for the install?

    • @ChrisDrymon
      @ChrisDrymon วันที่ผ่านมา

      When I tried graphical expert, the installation hung up when I exited busy box.

  • @gormhatre
    @gormhatre 3 หลายเดือนก่อน +1

    Do these sub volumes have to be created manually ? What if I used the GUI installer and partitioned disk using btrfs in GUI mode? Will that not be sufficient ?
    WRT ZRAM what if I wanted to set a fixed amount of ZRAM such as 4 GB. How to achieve that in the Zram file ?

    • @JustAGuyLinux
      @JustAGuyLinux  3 หลายเดือนก่อน +1

      Manual is the only way. Edit the zram at /etc/default/zramswap, Uncomment the size line to SIZE=4096. Make sure the percent is commented.

    • @gormhatre
      @gormhatre 3 หลายเดือนก่อน

      @@JustAGuyLinux thank you.

  • @hiralpatel3863
    @hiralpatel3863 5 หลายเดือนก่อน

    Quick question before I try this.
    What additional steps needed if I were to encrypt the BTRFS? Does it get more complicated?
    Thank you in advance

    • @mrCastrinho_
      @mrCastrinho_ 3 หลายเดือนก่อน

      Were you able to do the installation with encryption? I'm trying too, but without success

  • @globetrotterdk
    @globetrotterdk 6 หลายเดือนก่อน +1

    Many thanks for your video. At your "/dev/sda2 /mnt", in my case "/dev/nvme0n1p1 /mnt", I get "permission denied". Any ideas?

    • @globetrotterdk
      @globetrotterdk 6 หลายเดือนก่อน +1

      I solved it. It should have read "/dev/nvme0n1p2 /mnt"

  •  6 หลายเดือนก่อน

    Can you make a video showing how to do a dual boot install with windows?

  • @fuguimashu
    @fuguimashu 6 หลายเดือนก่อน

    Why do you need Partitioning for BTRFS, wasn't BTRFS already selected during installation?

    • @JustAGuyLinux
      @JustAGuyLinux  6 หลายเดือนก่อน

      Timeshift needs this type of setup.

    • @fuguimashu
      @fuguimashu 6 หลายเดือนก่อน

      @@JustAGuyLinux ok,thank you!

  • @farhadmodaresi4182
    @farhadmodaresi4182 6 หลายเดือนก่อน

    what if grub doesn't boot

    • @JustAGuyLinux
      @JustAGuyLinux  6 หลายเดือนก่อน +1

      I reinstall at the most minor of problems.

  • @janmussche6815
    @janmussche6815 6 หลายเดือนก่อน +2

    I wonder for whom you made this video. It can't be for people who can do it themselves already, the "experts", so it has to be people who need help. But you don't give any help at all. You race through the installation with your preferred settings and that's it. Nobody will learn from this. Create longer videos and really explain what it is you are doing. People will thank you.

    • @h20andmore
      @h20andmore 6 หลายเดือนก่อน

      I thought this video was long already but your point is understood. To understand the "bones" of btrfs I found this video to be insightful. th-cam.com/video/RPO-fS6HQbY/w-d-xo.html

    • @edbeckerich3737
      @edbeckerich3737 6 หลายเดือนก่อน +1

      This is like a Gentoo install, grab the popcorn and enjoy!

    • @phonewithoutquestion80
      @phonewithoutquestion80 6 หลายเดือนก่อน +4

      Tell us you didn't watch the video without telling us you didn't watch the video.

    • @timoleary5815
      @timoleary5815 6 หลายเดือนก่อน +1

      I disagree, I learnt from it and will use it. If you find it too fast, slow the video down or pause it . . . easy.

    • @ytbone9430
      @ytbone9430 6 หลายเดือนก่อน +1

      Well, I think learned a lot. I was not aware I need special grub-btrfs to work with snapshots conveniently and that I need a daemon to auto-update the list. I also never saw the Timeshift application being used. I surely could have read through a lot of websites, but this gives a nice overview of how easy or difficult it is in real life. I've read thousends of Linux howto pages already, sometimes it's nice to see a person familiar with all the things show the full process. So, thank you JustAGuy! o)
      ps: I did not get / understand why I need such many subvolumes and what subvolumes are affected when doing a snapshot. If all the subvolumes are included in a snapshot, then why have them? I can see why an additional home subvolume makes sense in addition to the rootfs, but all the others? I also seem to have missed how to restore the home subvolume separately?! I will watch again.. o)

  • @eygs493
    @eygs493 4 หลายเดือนก่อน +1

    mount boot/efi failed, says sda2 is already mounted, why?

  • @eygs493
    @eygs493 4 หลายเดือนก่อน +1

    followed everything and debian boot into black screen

    • @eygs493
      @eygs493 4 หลายเดือนก่อน

      Y

  • @emurekanu1103
    @emurekanu1103 3 หลายเดือนก่อน

    23:09 @justaguylinux please help i did everything correctly now i cant create it says only Ubuntu type layouts with @ and @home subvolumes are currently supported. I have @ and @home i dont know why is happening to me please help

    • @emurekanu1103
      @emurekanu1103 3 หลายเดือนก่อน

      @JustAGuyLinux

    • @JustAGuyLinux
      @JustAGuyLinux  3 หลายเดือนก่อน +1

      I will do my best. But, the only thing I can do is verify that this procedure works and that I do not need to amend it. Not sure I can provide the support beyond that. Based on the error, I would say that you missed the step of renaming the subvolumes and then adding them manually to the fstab.
      Update: confirmed that this sets up the subvolumes and timeshift is working with no errors.

    • @emurekanu1103
      @emurekanu1103 3 หลายเดือนก่อน

      Sir i did the steps again one by one and i am still getting the same error

    • @emurekanu1103
      @emurekanu1103 3 หลายเดือนก่อน

      ​@@JustAGuyLinux found the solution the problem is using tr.TR.UTF-8 Language i changed to en us utf 8 and vala problem is solved

  • @neuzen
    @neuzen วันที่ผ่านมา

    6:04 why?

  • @m02bd0
    @m02bd0 4 หลายเดือนก่อน

    Thanks a lot.