Repository navigation
docs/bootc-install: Give more guidance on root= and rootflags= - #972
Conversation
We need to change Anaconda and bootc-image-builder to stop generating `/etc/fstab` for this reason. Signed-off-by: Colin Walters <[email protected]>
vrothberg
left a comment
There was a problem hiding this comment.
Is there a workaround to avoid the remount service from failing?
| Outside of the discoverable partition model, a common baseline default for installers is to set `root=UUID=` | ||
| (and optionally `rootflags=`) kernel arguments as machine specific state. | ||
| When using `install to-filesystem`, you should provide these as explicit | ||
| kernel arguments. |
There was a problem hiding this comment.
Can you give an example? This stuff is outside my comfort zone, so having some example would increase my understanding.
There was a problem hiding this comment.
This section of the document is targeted at people doing generic installers, disk image image generation tools and custom installs in general.
There's multiple ways to set kernel arguments that are described in the docs already right?
No, unfortunately. I commented in https://bugzilla.redhat.com/show_bug.cgi?id=2332319#c1 which should cover the Anaconda case you hit. We can link that as a known bug until Anaconda is updated. The change that would be by far the easiest/biggest impact would be to change the systemd fstab generator to handle this but I've hesitated to raise it there as I think conceptually it's more that the fstab is wrong. |
Love that! |
We need to change Anaconda and bootc-image-builder to stop generating
/etc/fstabfor this reason.