Skip to content

qemu: fix /cfg mount failure due to missing mkfs.ext4 in PATH - #1330

Merged
troglobit merged 1 commit into
mainfrom
qemu-add-sbin-to-path
Dec 18, 2025
Merged

troglobit merged 1 commit into
mainfrom
qemu-add-sbin-to-path

Conversation

@rical

@rical rical commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

Description

The cfg.ext4 disk image was created but not formatted because mkfs.ext4 wasn't found. As sbin is not in PATH for an unprivileged user in Debian.

This caused the VM boot to fail with "No persistent storage found for /cfg".

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

The cfg.ext4 disk image was created but not formatted because mkfs.ext4
wasn't found. As sbin is not in PATH for an unprivileged user in
Debian.

This caused the VM boot to fail with "No persistent storage found for /cfg".

Signed-off-by: Richard Alpe <[email protected]>
@troglobit
troglobit merged commit 4649324 into main Dec 18, 2025
3 of 5 checks passed
@troglobit
troglobit deleted the qemu-add-sbin-to-path branch December 18, 2025 15:24
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