Skip to content

run_qemu.sh: un-hardcode /dev/sda2 in QEMU parameters #174

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

Merged
merged 1 commit into from
Apr 23, 2025

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Apr 18, 2025

Fixes #137. Hardcoding also reported in #140

Leverages old code already used by /efi and --no-direct-kernel.

This commit affects only --direct-kernel

Fixes pmem#137. Hardcoding also reported in pmem#140

Leverages old code already used by /efi and --no-direct-kernel.

This commit affects only --direct-kernel

Signed-off-by: Marc Herbert <[email protected]>
marc-hb added a commit to marc-hb/run_qemu that referenced this pull request Apr 21, 2025
Faster and more reliable.

Needed for unhardcoding /dev/sda2 pmem#174 without making `run_qemu.sh -r
none` much slower.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb
Copy link
Collaborator Author

marc-hb commented Apr 21, 2025

Needs #177 optimization first, otherwise this makes -r none much slower.

marc-hb added a commit that referenced this pull request Apr 22, 2025
Faster and more reliable.

Needed for unhardcoding /dev/sda2 #174 without making `run_qemu.sh -r
none` much slower.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb marc-hb marked this pull request as ready for review April 22, 2025 15:53
@marc-hb marc-hb requested a review from stellarhopper as a code owner April 22, 2025 15:53
@marc-hb
Copy link
Collaborator Author

marc-hb commented Apr 22, 2025

@ikitayama could you test this small change?

@marc-hb marc-hb merged commit 2638346 into pmem:main Apr 23, 2025
2 checks passed
@marc-hb marc-hb deleted the sda2 branch April 23, 2025 17:16
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.

dracut-mount[284]: Can't mount root filesystem - /dev/vda2
2 participants