You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 25ebfaf
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -274,6 +274,31 @@ After that, the daemon should be restarted with:
274
274
sudo rc-service grub-btrfsd restart
275
275
```
276
276
277
+
- - -
278
+
#### grub-btrfsd Sysvinit instructions
279
+
The sysvinit grub-btrfsd script is designed for Debian and
280
+
Debian-based distributions using sysvinit (Devuan, MX Linux, etc). It depends on Linux
281
+
Standards Base (LSB) init functions which are located at
282
+
`/lib/lsb/init-functions` on Debian and Debian-derivatives. These functions may be located in a
283
+
different directory in other distributions using sysvinit, and the
284
+
functions contained therein may differ from those called in the script.
285
+
286
+
To start the daemon run:
287
+
```bash
288
+
sudo service grub-btrfsd start
289
+
```
290
+
291
+
To activate it during system startup, run:
292
+
```bash
293
+
sudo update-rc.d grub-btrfsd defaults
294
+
```
295
+
296
+
##### 💼 Snapshots not in `/.snapshots` for Sysvinit
297
+
By default the daemon is watching the directory `/.snapshots`. If the daemon should watch a different directory, it can be edited by passing different arguments to it.
298
+
Arguments are passed to grub-btrfsd via `DAEMON_ARGS` and `SNAPSHOTS`
299
+
variables in the script `/etc/init.d/grub-btrfsd`.
300
+
The variable `SNAPSHOTS` defines the path the daemon will monitor for snapshots.
301
+
277
302
##### 🔒 Snapshots on LUKS encrypted devices
278
303
By default, grub-btrfs generates entries that does not load modules for dealing with encrypted devices.
279
304
Enable the `GRUB_BTRFS_ENABLE_CRYPTODISK` variable in `/etc/default/grub-btrfs/config` to load said modules and then execute the steps to mount encrypted root after selecting the snapshot.
0 commit comments