Add kernel command line for snapshots as config parameter#245
Merged
Conversation
684521a to
2a9f34e
Compare
2a9f34e to
e76cdc4
Compare
Fix #244 Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
e76cdc4 to
934ab21
Compare
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Payne-X6
reviewed
Nov 25, 2025
| `mkinitcpio -P` (option -P means, all preset present in `/etc/mkinitcpio.d`) | ||
|
|
||
| #### Dracut based distros | ||
| Distributions that use Dracut to make their initramfs (many of the Fedora based Distros) simply have to pass either `rd.live.overlay.readonly=1` (to boot into the snapshot read only) or `rd.live.overlay.overlayfs=1` (to act like a livedisk, that is files can be changed but changes will be lost on the next boot) to their kernel command line in grub. |
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #214 and #160.
Also improved default for GRUB_BTRFS_GBTRFS_DIRNAME to be GRUB_BTRFS_GRUB_DIRNAME (see #244)
This is completely untested, just an idea I had when reading issues.