Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.4-stable] Wait for root device inside the initrd script for ISO images #4607

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

rene
Copy link
Contributor

@rene rene commented Feb 11, 2025

Backport of PR #4605

@OhmSpectator
Copy link
Member

When cherry-picking not from the master branch in EVE, but from a fork - the hash created by the -x option is broken anyway =(

@rene
Copy link
Contributor Author

rene commented Feb 11, 2025

When cherry-picking not from the master branch in EVE, but from a fork - the hash created by the -x option is broken anyway =(

Indeed, let's wait the parent PR to get merged and I will update this one...

When installing EVE on devices with Virtual Media CD/DVD-ROM emulation it
can take a few seconds to kernel to detect the installer media device. This
is an issue when booting from an ISO because GRUB will boot kernel +
initrd, but when initrd script tries to find the installer media's
filesystem, the Virtual CD/DVD-ROM can be not yet available. This commit
implements a retry mechanism in order to wait for the root device for up to
10 seconds.

Signed-off-by: Renê de Souza Pinto <[email protected]>
(cherry picked from commit e1d09ca)
@rene
Copy link
Contributor Author

rene commented Feb 11, 2025

Update in this PR:

  • cherry-pick from master (with the correct commit hash)

@OhmSpectator OhmSpectator merged commit 5aa67e9 into lf-edge:13.4-stable Feb 11, 2025
34 of 38 checks passed
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.

3 participants