You are not logged in.
I installed grub-btrfs , along with btrbk to manage snapshots. The snapshots taken by btrbk are read-only, so I added the grub-btrfs-overlayfs hook to /etc/mkinitcpio.conf (and subsequently ran mkinitcpio -p linux) which should allow me to boot into read-only snapshots. All my snapshots appear in grub but when I try to boot into any of them, the screen gets stuck on the HP logo.
The structure of my subvolumes is as follows
❯ sudo btrfs subvolume list /
ID 256 gen 3443 top level 5 path @
ID 258 gen 3443 top level 5 path @log
ID 259 gen 3331 top level 5 path @pkg
ID 260 gen 3443 top level 5 path @.snapshots
ID 261 gen 2241 top level 256 path var/lib/portables
ID 262 gen 2241 top level 256 path var/lib/machines
So how do I boot into the snapshots directly from grub?
PS: This was my first post :)
Last edited by A simple duck (2023-05-15 09:23:47)
Offline
For anyone else with the same issue , the issue was with the grub-btrfs-overlayfs hook not working when systemd hook is used , simply replace the systemd hook with udev
Offline
It helps if you actually explain what you did with a bit of detail rather than just a very hi level use udev.
Thanks
Offline
Edit /etc/mkinitcpio.conf and replace the word systemd in the hooks, with udev
then regenerate the initramfs using the following command
# mkinitcpio -P
You might want to read the wiki for more info
Steps on how to boot into a read only snapshot from grub-btrfs
Have a good day
Last edited by A simple duck (2023-05-22 05:32:46)
Offline