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

QEMU cheatsheet: partx nbd0 #2

Open
KevinRSX opened this issue Oct 16, 2022 · 0 comments
Open

QEMU cheatsheet: partx nbd0 #2

KevinRSX opened this issue Oct 16, 2022 · 0 comments

Comments

@KevinRSX
Copy link

https://wangziqi2013.github.io/article/2022/03/09/qemu-cheat-sheet.html
If the existence of /dev/nbd0 is not known to the partition table, users need to sudo partx -a /dev/nbd0 to add that entry. That should be done after mkfs and before mount /dev/nbd0. Otherwise they will get some errors like mount: <path>: special device /dev/nbd0/ does not exist (a path prefix is not a directory).

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

No branches or pull requests

1 participant