Hello, everyone.
I'm using bootimage to develop. When I began to run "cargo run" after setting config.toml by following this, cargo gave me a error:
Running: qemu-system-x86_64 -drive format=raw,file=target/x86_64-kernel/debug/bootimage-kernel.bin
Error: Failed to execute QEMU run command "qemu-system-x86_64" "-drive" "format=raw,file=target/x86_64-kernel/debug/bootimage-kernel.bin": An I/O error occurred: No such file or directory (os error 2)
After running the command manually, I found that the binary file was built successfully and I can use qemu to run it.
How can I solve it?
Thanks.
System: Rocky Linux 10.2 x86_64
Rustc&Cargo Version: 1.99.0-nightly (af3d95584 2026-07-09)
Bootimage: 0.10.4
Hello, everyone.
I'm using bootimage to develop. When I began to run "cargo run" after setting config.toml by following this, cargo gave me a error:
After running the command manually, I found that the binary file was built successfully and I can use qemu to run it.
How can I solve it?
Thanks.
System: Rocky Linux 10.2 x86_64
Rustc&Cargo Version: 1.99.0-nightly (af3d95584 2026-07-09)
Bootimage: 0.10.4