Antynea / grub-btrfs

Include btrfs snapshots at boot options. (Grub menu)
GNU General Public License v3.0
688 stars 73 forks source link

How to remove?? #307

Closed randyoles closed 7 months ago

randyoles commented 7 months ago

Tried to install this with nobara, but can't make it work. How do I remove it and restore my grub?? I have found lots of install guides but no one explaining removal.

Schievel1 commented 7 months ago

You installed it via package manager? Then remove the package via package manager and run the grub-mkconf command for your distro

randyoles commented 7 months ago

Installed it by git cloning and then running the install script. If It was in Fedoras package repositories I would have used a package manager and wouldn't have had to ask the question. However, I've got it mostly working by editing the configs. The problem now seems to be a conflict with os-prober. I've worked around that issue by manually mounting the hard drives for the other os's and now they show in the grub menu, and so do the snapshots. Lots of Error messages still, but it's working well enough. I would still like to know what files are installed where, and what configs are modified so I can manually uninstall if necessary.

Schievel1 commented 7 months ago

Sure, for details what is installed where you can study the make file. Mostly this is the core script at /etc/grub.d/41_snapshots-btrfs. Apart from that we install some additional minor things like a systemd service and manpages. However, you can install it when you installed manually by calling make uninstall in the source directory. (where you called make install before)

randyoles commented 7 months ago

Oh nice. It's usually easy once someone explains it. Us ex windows users have no clue until then. It's obvious once you know. :P

Schievel1 commented 7 months ago

true that, this is just so common for decades now in the Unix world, you sometimes forget to even point it out. I will add a section on the readme.