From e97d8af23f617ea68d7b550ea0797c3ace5a0e2d Mon Sep 17 00:00:00 2001 From: Chris1320 Date: Sat, 23 Nov 2024 04:03:32 +0800 Subject: [PATCH] fix(arch): set up grub-btrfs Signed-off-by: Chris1320 --- .../Arch Linux/Contents/Manual Customization.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Operating Systems/Arch Linux/Contents/Manual Customization.md b/Operating Systems/Arch Linux/Contents/Manual Customization.md index 84e3501..0618c04 100644 --- a/Operating Systems/Arch Linux/Contents/Manual Customization.md +++ b/Operating Systems/Arch Linux/Contents/Manual Customization.md @@ -616,6 +616,12 @@ To automatically update the GRUB menu with the latest snapper snapshots, run the systemctl enable grub-btrfsd.service ``` +Edit `/etc/default/grub-btrfs/config`. Uncomment/comment lines if needed. + +| Key | Value | +| ------------------------- | ------------------------------------------ | +| `GRUB_BTRFS_TITLE_FORMAT` | `("date" "description" "snapshot" "type")` | + To [boot snapshots using overlayfs](https://github.com/Antynea/grub-btrfs/blob/master/initramfs/readme.md), edit `/etc/mkinitcpio.conf` and add `grub-btrfs-overlayfs` to `HOOKS`: ```toml