Page 1 of 1
boot process somtimes doesn't work
Posted: Sun Jul 14, 2024 4:15 pm
by dalal
I am working on an OS project (about two weeks) and everything works fine. However, sometimes when I run my OS using QEMU, it gets stuck. I use the GRUB boot loader, and it does not even show the GRUB menu.
you can find my code in my github account:
https://github.com/Itamar-Dalal/os (you can find there the make.sh)
thanks!
Re: boot process somtimes doesn't work
Posted: Mon Jul 15, 2024 9:18 am
by Octocontrabass
When it gets stuck, does closing and restarting QEMU get it to run, or do you have to rebuild your disk image?
Re: boot process somtimes doesn't work
Posted: Mon Jul 15, 2024 10:50 am
by dalal
when I run make.sh (you can see in my github) again, it works, so I think restarting Qemu fix it but I'm not sure.
Re: boot process somtimes doesn't work
Posted: Mon Jul 15, 2024 11:19 am
by Octocontrabass
Running make.sh rebuilds the ISO. I want to know what happens if you don't rebuild the ISO.
Re: boot process somtimes doesn't work
Posted: Mon Jul 15, 2024 3:36 pm
by dalal
Ok so I ran it again without rebuilding the iso and it worked, so the problem is in the qemu?
Re: boot process somtimes doesn't work
Posted: Mon Jul 15, 2024 4:07 pm
by Octocontrabass
The problem is either QEMU itself or the environment in which you're running it. I'm not sure how to help you, I've never seen QEMU do anything like that.