egara / buttermanager

ButterManager is a BTRFS tool for managing snapshots, balancing filesystems and upgrading the system safetly.
GNU General Public License v3.0
129 stars 6 forks source link

Don't depend on grub #53

Open guedressel opened 9 months ago

guedressel commented 9 months ago

I wanted to try out buttermanager on my arch machine. But the installation of buttermanager would have required to install grub on my system. Since the system gets started via systemd-boot, grub is not available. And I have no intention to install grub, because that could potentially hurt or break my current setup.

Hence, I'm currently not able to install buttermanager on my system.

egara commented 9 months ago

Hi @guedressel and thank you very much for your feedback. I totally see your point. The depencency that is installing GRUB in your system is the package grub-btrfs, because ButterManager integrates with this program in order to create snapshots and add them to the entries of the GRUB menu. This way, you can boot your system directly from GRUB from an old snapshot if any update messed your system. This is not available via systemd-boot.

Although this feature is disabled, you will be able to create and manage BTRFS subvolumes and balanced them too. Are you on Arch Linux or any of its derivatives? Because maybe we can do a "trick" changing PKGBUILD to allow you to test the application while I change it in AUR.

guedressel commented 9 months ago

Yes, having this dependency optional would be great. And it's to be expected that some functionality will be missing if the dependency is not available. I'm actually running Manjaro but I guess the AUR packages are shared between arch and Manjaro.

egara commented 9 months ago

Hi again @guedressel

Ok, I'll make this dependency optional. Meanwhile, if you want to run ButterManager and test it, you can do this:

Thats all. Now you should be able to run ButterManager. Please, follow the instructions in the Wiki to configure it properly. There is an option that I should hide if grub is not detected that is in Settings -> Boot the system from GRUB using snapshots. I'll change it when I remove that dependency and release the new version of the application.