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-system-x86_64: -drive file=root.qcow2,media=disk,if=virtio: Could not open 'root.qcow2': No such file or directory #2

Open
danielboston38 opened this issue May 19, 2023 · 8 comments

Comments

@danielboston38
Copy link

that is the error message i am getting when i type in ./run. im not sure what else to do.

@michaelforney
Copy link
Contributor

You have to build the image first.

@danielboston38
Copy link
Author

i did.

@danielboston38
Copy link
Author

do i have to tell qemu where it is? its in the same directory.

@michaelforney
Copy link
Contributor

michaelforney commented May 20, 2023

qemu says the file didn't exist. Make sure you built an image called root.qcow2 in the directory you ran the run script from.

@danielboston38
Copy link
Author

ah it called it image shouldnt' the script name it properly?

@michaelforney
Copy link
Contributor

The script names the image whatever name you passed it on the command-line.

@danielboston38
Copy link
Author

now it says bzImage is missing.

@michaelforney
Copy link
Contributor

Build a kernel and put it there.

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

2 participants