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

./run script: Qemu isn't able to run the virtual disk #46

Open
elenderg opened this issue Jul 25, 2023 · 5 comments
Open

./run script: Qemu isn't able to run the virtual disk #46

elenderg opened this issue Jul 25, 2023 · 5 comments

Comments

@elenderg
Copy link

elenderg commented Jul 25, 2023

Hello. I got this error when trying to execute the ./run command:

Unable to init server: Could not connect: Connection refused
WARNING: Image format was not specified for 'GRAMADO.VHD' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.

Maybe this can help:
https://askubuntu.com/questions/883491/qemu-warning-image-format-was-not-specified-for-flash0-img-and-probing-guess

@frednora
Copy link
Member

Oi ... i know what Your're talking about. Actually my .VHD doesn't have a perfect valid footer. The footer was made in Assembly when i built the boot loader stuff. To fix this problem i gotta learn how to make the right command line to launch the qemu with raw images. Maybe we can create some other options, not only this './run' file.

@frednora frednora changed the title Unable to init server: Could not connect: Connection refused ./run script: Qemu isn't able to run the virtual disk Jul 28, 2023
@frednora
Copy link
Member

frednora commented Jul 28, 2023

I think we need an option with these parameters: "-drive file=GRAMADO.VHD,format=raw,bus=0", something like that. :)

@frednora
Copy link
Member

Probably it is happening in the newer version of qemu. Let's try to fix up this thing using ./run2 and ./runkvm2 in the core/ folder.

@elenderg
Copy link
Author

elenderg commented Aug 1, 2023

Which version of qemu are you currently using?

@frednora
Copy link
Member

6.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants