Skip to content

Commit 0aded4f

Browse files
author
Chris1320
committed
fix(arch): add grub-btrfs-overlayfs to mkinitcpio hooks
Signed-off-by: Chris1320 <chris1320@protonmail.com>
1 parent 5e4f812 commit 0aded4f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Operating Systems/Arch Linux/Contents/Manual Customization.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,14 @@ and replace `/.snapshots` to `/snapshots`. Save and close the file and then run
628628
systemctl enable grub-btrfsd.service
629629
```
630630

631+
Edit `/etc/mkinitcpio.conf` and add `grub-btrfs-overlayfs` to `HOOKS`:
632+
633+
```toml
634+
HOOKS=(... grub-btrfs-overlayfs)
635+
```
636+
637+
After saving and closing the file, run `mkinitcpio -P`.
638+
631639
### Setting Up Snapper
632640

633641
Start Btrfs Assistant and go to the *Snapper Settings* tab. Click *New* and name it `root` with backup path `/`. Enable *timeline snaphots*, adjust the snapshot retention times, and click *Save*. Click *New* again and name it `home` with backup path `/home`, enable *timeline snaphots*, adjust the snapshot retention times, and click *Save*. Lastly, enable *timeline*, *cleanup*, and *boot* in *systemd Unit Settings* section.

0 commit comments

Comments
 (0)