Could you try addkng "-serial stdio" and see if any info comes out on the console?
You could also try debugging with gdb. https://qemu-project.gitlab.io/qemu/system/gdb.html
This may me way more technical than you wish to dive into, but it also might shed some light on where things are stuck.
I have also had VMs that hang on boot-up while running a core at 100%. I use Proxmox as my host, and was always able to enter the console for the VM and observe it going through the boot sequence. When it hung as you have described, it was because of some error that I could correct in the console. So, maybe check if your host allows you to interact with the VM while it's booting.
I already tried that using virtual machine manager, I can see the "bios screen" and the blinking cursor after "booting from disk", but that's it.
So there is nothing happening, at least vm manager doesn't even register any RAM usage, just one core at 100%.
That's frustrating. I'm no expert, but since there are no other responses and I've had my fair share of problems to solve, maybe check:
- Is Secure Boot disabled in your BIOS?
- Does your image have the right permissions? Give it chmod 777 and see if it boots.
- I think you said you re-installed your host OS. Try installing an older version to see if it will boot your image.
Is your qcow2 image backed by another image?
Have you tried qemu-image check with -r for repair?
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0