Skip to content

[SOLVED] How to pass permanent rootflags to snapshots' kernel? #129

Answered by Antynea
FGD-Garuda asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

That would probably work but I'm not sure it's the cleanest way of doing it. That would mean some parms can be written in the GRUB_CMDLINE_LINUX_DEFAULT line but some others can't and you have to go elsewhere to do it. Maybe that's how it is, maybe there is a good valid reason for that too, I don't know, that's why I'm asking. :)

This is a weakness of the script, which needs to be improved.

The duplication is normal, It is always the last parameter that is used for kernel parameters.
The parameter "rw" is a residue of an old version of the script.
rootflags=subvol=\""${snap_dir_name}"\"" was placed at the end, because some users already specified this parameter in their /etc/defa…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@Kr1ss-XD
Comment options

@Antynea
Comment options

@Antynea
Comment options

@Kr1ss-XD
Comment options

@Antynea
Comment options

Answer selected by FGD-Garuda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants