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.
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.
I'm amazed how easy and straightforward this video is, And the big thing here is that you actually tried to simulate the actual failing of a system which I don't find on the previous tutorials that I watched so it resulted in problems when I restore the backup especially during boot, but this tutorial is complete and I am much thankful to you. This will help me big time!
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.
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
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.
Thank you so much for making that video. I learned how to properly use snapshots and how to set it up properly to use timeshift in Debian. I can't thank you enough.
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.
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!
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.
I think after banging my head on Arch for 6 months to get a minimal tiling window manager, I have decided that debian is a good option for me RN (will go back to arch after understanding it completely)
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!!
Great video! Thanks for the play-by-play. Very clear all around and super helpful! Like someone else has said, I really appreciate you demonstrating a real system failure. It’s very confidence inspiring to break and fix the system reliably like this 😂 I am curious why you didn’t use the same btrfs mounting options that you used in the original version of this video eg ssd, discard=async, space_cache=v2. Just curious if those options are needed anymore or if you were using a different setup. Thanks a ton for approachable content
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.👏
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!
Thank you for the guide. Very in depth. Its strange that Debian decided to do an @rootfs subvolume instead of just @ with the same subvolume setup as everyone else, especially considering its incompatible with timeshift. Also strange that they do not make it an option on the netinst installer.
Great video! I am using your recipe with great result. I just wonder if it s better to make a separate volume for home or not. Having home into the same volume as root makes the snapshots competes and every time you boot an old snapshots you have the complete stage, like that you have to use the recovery function only in order to have the home recovered, if not you boot and old root with the last home that could create some inconsistencies.
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.
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
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 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).
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!
I know this comment may not be read by you. First of all, I want to thank you for helping me do the best Debian installation I've ever done. I wish you and your family all the best. But I really wanted you to help me in some way. I would like to do the encryption at the time of installation with BTRFS too. If you could record a short video showing how it's done, or send me a link to an article so I can do it, I'd be very grateful. If you have any books to recommend, it would be a great help. Thank you for all your knowledge, you are very special! 🔥 🔥 🔥
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.
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
In case you and others did not know already: This kind of snapshot feature is available on Windows and its NTFS filesystem since Windows XP or Windows Server 2003. It's called "Shadow Copy" in the Windows world and it's better integrated into the OS by default. You can simply use Windows Explorer or similar and open "Properties" of any file or folder and find a "Previous Versions" tab in there, listing all the "snapshots". You can also easily open a folder "of the past" from there. Btrfs is nice, but I think it is still very cumbersome to use, especially since there is basically no integration with existing Linux file managers / the OS. The "Shadow Copies" or "snapshots" of Windows are also available if you make use of Windows network shares. This actually can be replicated by using Samba on the Linux side and btrfs. Btrfs snapshots will then also appear as "Previous Versions" on the Windows side. For some unknown reason, Linux itself has no way to access it's own snapshots this way. I'm still not very convinced about the btrfs snapshots, not even for restoring the system state. I don't use Linux on real hardware as of now, so creating a snapshot of a virtual machine is easy and does not require any special setup inside the VM. For regular files and folders (from your home folder e.g.), it looks like using "borg" backup is a nice option as well, it does not require tinkering with filesystems, snapshot-locations and subvolumes, it still handles deduplication and "snapshots" of your data and it even supports remote backup / network storage. For "borg" backup, there also are some web interfaces to manage the backups, the existing btrfs / snapshot / timeshift tools all seem rather rudimentary to me in comparison. Thank you Drew for the video, very interesting to learn about existing options and how to actually get them working! o)
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.
Hey Drew, would you be able to make one with Snapper-Tools instead of timeshift? This was an excellent video, but i've been on arco and Eric uses Snapper and that's always worked perfectly when i mess up. I'm tired of Arch's mood swings lol and think I would like to return to something more stable. Thanks in advance
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 ?
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
Thanks for this tutorial, very helpfull. I'm using it a a KDE/Fedora Install already. (with snapper) I'm gonna try but without XFCE, only on command line, because I don't want desktop env on my mini server.
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?
Same here! I tried to umount my usb device (it worked, ie, it is not busy anymore and I can mount to efi subvolume), but now the installation can't continue. @JustAGuyLinux Any ideas?
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 ?
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?
9 месяцев назад
Can you make a video showing how to do a dual boot install with windows?
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.
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.
New Sub here, Can I request you make a video about snapper / snapper rollback on Debian in the future using this method also without encryption. As what I have known you can easily back up after the base install using snapper when there is no DE yet.
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
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.
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.
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. ruclips.net/video/RPO-fS6HQbY/видео.html
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)
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
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.
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.
You're welcome!
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.
I'm amazed how easy and straightforward this video is, And the big thing here is that you actually tried to simulate the actual failing of a system which I don't find on the previous tutorials that I watched so it resulted in problems when I restore the backup especially during boot, but this tutorial is complete and I am much thankful to you. This will help me big time!
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.
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
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.
Enjoy!
Great video, easy to follow along and well paced. Now have a lean'n'mean debian nas server.
Welcome aboard!
Thank you so much for making that video. I learned how to properly use snapshots and how to set it up properly to use timeshift in Debian. I can't thank you enough.
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.
You're welcome!
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!
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.
That's a pretty neat setup. Great video.
Thanks!
This is amazing!! I am really impressed with Debian + btrfs. Thanks for this videos, they are great!!
You, sir, are a gentleman and a scholar! Thank you!
Excellent method of recovering from a disaster. Thank you
I think after banging my head on Arch for 6 months to get a minimal tiling window manager, I have decided that debian is a good option for me RN (will go back to arch after understanding it completely)
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!!
Great information! Thanks!
You bet!
While this isn’t all for me I did learn something neat about the expert install that will be quite neat to use.
That is exactly what I was looking for! Thank you so much!
Great video! Thanks for the play-by-play. Very clear all around and super helpful! Like someone else has said, I really appreciate you demonstrating a real system failure. It’s very confidence inspiring to break and fix the system reliably like this 😂
I am curious why you didn’t use the same btrfs mounting options that you used in the original version of this video eg ssd, discard=async, space_cache=v2.
Just curious if those options are needed anymore or if you were using a different setup. Thanks a ton for approachable content
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.👏
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!
This is excellent. Thank you!
Thank you for the guide. Very in depth. Its strange that Debian decided to do an @rootfs subvolume instead of just @ with the same subvolume setup as everyone else, especially considering its incompatible with timeshift. Also strange that they do not make it an option on the netinst installer.
Omg you're really very good at it
Excellent tutorial, thanks !
Great video! I am using your recipe with great result. I just wonder if it s better to make a separate volume for home or not. Having home into the same volume as root makes the snapshots competes and every time you boot an old snapshots you have the complete stage, like that you have to use the recovery function only in order to have the home recovered, if not you boot and old root with the last home that could create some inconsistencies.
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.
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?
for ricing?
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
What is this splitting subvolume thing people are commenting about? Is it something I should do?
Nice one mate. Very resourceful
Thank you! Cheers!
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?
just the way I have always done it.... Thanks for giving me something to think about.
@@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).
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!
I know this comment may not be read by you. First of all, I want to thank you for helping me do the best Debian installation I've ever done. I wish you and your family all the best. But I really wanted you to help me in some way. I would like to do the encryption at the time of installation with BTRFS too. If you could record a short video showing how it's done, or send me a link to an article so I can do it, I'd be very grateful. If you have any books to recommend, it would be a great help. Thank you for all your knowledge, you are very special! 🔥 🔥 🔥
All noted and appreciated.
@JustAGuyLinux OMG!!! Thank you so much... ❤️🙏❤️🙏❤️
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.
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
In case you and others did not know already: This kind of snapshot feature is available on Windows and its NTFS filesystem since Windows XP or Windows Server 2003. It's called "Shadow Copy" in the Windows world and it's better integrated into the OS by default. You can simply use Windows Explorer or similar and open "Properties" of any file or folder and find a "Previous Versions" tab in there, listing all the "snapshots". You can also easily open a folder "of the past" from there. Btrfs is nice, but I think it is still very cumbersome to use, especially since there is basically no integration with existing Linux file managers / the OS.
The "Shadow Copies" or "snapshots" of Windows are also available if you make use of Windows network shares. This actually can be replicated by using Samba on the Linux side and btrfs. Btrfs snapshots will then also appear as "Previous Versions" on the Windows side. For some unknown reason, Linux itself has no way to access it's own snapshots this way.
I'm still not very convinced about the btrfs snapshots, not even for restoring the system state. I don't use Linux on real hardware as of now, so creating a snapshot of a virtual machine is easy and does not require any special setup inside the VM. For regular files and folders (from your home folder e.g.), it looks like using "borg" backup is a nice option as well, it does not require tinkering with filesystems, snapshot-locations and subvolumes, it still handles deduplication and "snapshots" of your data and it even supports remote backup / network storage. For "borg" backup, there also are some web interfaces to manage the backups, the existing btrfs / snapshot / timeshift tools all seem rather rudimentary to me in comparison.
Thank you Drew for the video, very interesting to learn about existing options and how to actually get them working! o)
Worked for me. Thanks Drew.
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.
Hey Drew, would you be able to make one with Snapper-Tools instead of timeshift? This was an excellent video, but i've been on arco and Eric uses Snapper and that's always worked perfectly when i mess up. I'm tired of Arch's mood swings lol and think I would like to return to something more stable. Thanks in advance
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 ?
Debian rules!🎉
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
I got it working by issuing the following command: $ sudo chmod +x /usr/share/applications/timeshift-gtk.desktop
👋👌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
Thanks for this tutorial, very helpfull.
I'm using it a a KDE/Fedora Install already. (with snapper)
I'm gonna try but without XFCE, only on command line, because I don't want desktop env on my mini server.
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?
How much difference is there going with 'expert' instead of 'graphical expert' for the install?
When I tried graphical expert, the installation hung up when I exited busy box.
Excellent tutorial, maybe it would be great if you did the same thing but with LMDE + Setup secure boot
cant unmount target: device or resource busy?
Same here! I tried to umount my usb device (it worked, ie, it is not busy anymore and I can mount to efi subvolume), but now the installation can't continue. @JustAGuyLinux Any ideas?
@@MaximeSeguinyou are supposed to unmount the drive you are installing on. Not the installation media.
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 ?
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.
@@JustAGuyLinux thank you.
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?
Can you make a video showing how to do a dual boot install with windows?
Going to fire up my Pentium M again!
25:57 EENNSSUURREE 😅
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.
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.
ctrl+alt+F.. is only needed when you are in a GUI. Otherwise just use alt+F..
Many thanks for your video. At your "/dev/sda2 /mnt", in my case "/dev/nvme0n1p1 /mnt", I get "permission denied". Any ideas?
I solved it. It should have read "/dev/nvme0n1p2 /mnt"
Why do you need Partitioning for BTRFS, wasn't BTRFS already selected during installation?
Timeshift needs this type of setup.
@@JustAGuyLinux ok,thank you!
Thanks a lot.
New Sub here, Can I request you make a video about snapper / snapper rollback on Debian in the future using this method also without encryption. As what I have known you can easily back up after the base install using snapper when there is no DE yet.
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
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.
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
Were you able to do the installation with encryption? I'm trying too, but without success
what if grub doesn't boot
I reinstall at the most minor of problems.
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.
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. ruclips.net/video/RPO-fS6HQbY/видео.html
This is like a Gentoo install, grab the popcorn and enjoy!
Tell us you didn't watch the video without telling us you didn't watch the video.
I disagree, I learnt from it and will use it. If you find it too fast, slow the video down or pause it . . . easy.
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)
mount boot/efi failed, says sda2 is already mounted, why?
6:04 why?
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
@JustAGuyLinux
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.
Sir i did the steps again one by one and i am still getting the same error
@@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
followed everything and debian boot into black screen
Y