boot process somtimes doesn't work

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
dalal
Posts: 3
Joined: Sun Jul 14, 2024 3:41 pm

boot process somtimes doesn't work

Post 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!
Octocontrabass
Member
Member
Posts: 5560
Joined: Mon Mar 25, 2013 7:01 pm

Re: boot process somtimes doesn't work

Post by Octocontrabass »

When it gets stuck, does closing and restarting QEMU get it to run, or do you have to rebuild your disk image?
dalal
Posts: 3
Joined: Sun Jul 14, 2024 3:41 pm

Re: boot process somtimes doesn't work

Post 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.
Octocontrabass
Member
Member
Posts: 5560
Joined: Mon Mar 25, 2013 7:01 pm

Re: boot process somtimes doesn't work

Post by Octocontrabass »

Running make.sh rebuilds the ISO. I want to know what happens if you don't rebuild the ISO.
dalal
Posts: 3
Joined: Sun Jul 14, 2024 3:41 pm

Re: boot process somtimes doesn't work

Post by dalal »

Ok so I ran it again without rebuilding the iso and it worked, so the problem is in the qemu?
Octocontrabass
Member
Member
Posts: 5560
Joined: Mon Mar 25, 2013 7:01 pm

Re: boot process somtimes doesn't work

Post 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.
Post Reply