kernel icon indicating copy to clipboard operation
kernel copied to clipboard

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

Open elenderg opened this issue 1 year ago • 5 comments

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

elenderg avatar Jul 25 '23 15:07 elenderg

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 avatar Jul 28 '23 17:07 frednora

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

frednora avatar Jul 28 '23 17:07 frednora

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.

frednora avatar Jul 29 '23 12:07 frednora

Which version of qemu are you currently using?

elenderg avatar Aug 01 '23 19:08 elenderg

6.2.0

frednora avatar Aug 11 '23 19:08 frednora