User talk:M0p/LUKS Root on Btrfs

From ArchWiki
Latest comment: 25 April 2021 by M0p in topic Restoring snapshots

Restoring snapshots

I tried your setup (changed it a little bit) but the following does not seem to work:

Remember the new default subvolume number 6. This will be the new / the computer will boot into. Now run grub-mkconfig -o /boot/grub/grub.cfg to let GRUB know about the new snapshots.

Because we just rebooted into a read-only snapshot and /boot/grub/ is not on a separate subvolume, the path is also read-only. Please correct me if I've overseen something.

OpenSUSE uses a separate @/boot/grub/x86_64-efi subvolume, but this seems not possible on Arch without the GRUB patches from OpenSUSE.

Durag (talk)

Yes, this is a problem. Earlier versions of this guide needs to either boot to a working, rw subvol and do all the work, or use a live CD to rollback the system with snapper. It might be also possible to boot a ro snapshot, set rw on this subvol and reboot in rw mode, but haven't tried this personally. M0p (talk) 15:52, 25 April 2021 (UTC)Reply[reply]