Skip to content

docs/bootc-install: Give more guidance on root= and rootflags= - #972

Merged
vrothberg merged 1 commit into
bootc-dev:mainfrom
cgwalters:doc-fstab
Dec 16, 2024
Merged

vrothberg merged 1 commit into
bootc-dev:mainfrom
cgwalters:doc-fstab

Conversation

@cgwalters

Copy link
Copy Markdown
Member

We need to change Anaconda and bootc-image-builder to stop generating /etc/fstab for this reason.

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 vrothberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a workaround to avoid the remount service from failing?

Comment thread docs/src/bootc-install.md
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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you give an example? This stuff is outside my comfort zone, so having some example would increase my understanding.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@cgwalters

Copy link
Copy Markdown
Member Author

Is there a workaround to avoid the remount service from failing?

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.

@vrothberg

Copy link
Copy Markdown
Contributor

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.

Love that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants