OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Apr 28, 2024 10:37 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Black screen on boot in QEMU
PostPosted: Wed Jan 03, 2024 10:15 am 
Offline

Joined: Wed Jan 03, 2024 9:51 am
Posts: 1
I'm brand new to OS development, so I'm sorry for such a basic question.

I'm developing on Linux, Debian 12.4 to be exact. I've followed the Bare Bones guide as closely as I could, built a working cross-compiler, assembled, compiled and linked the code included in the tutorial, and verified that it has a valid multiboot header. There were no errors printed for any of these steps. I followed the directions to create a bootable ISO and tried to run that with QEMU. Booting both the ISO and the kernel binary result in a black screen with a blinking cursor on the left side about a third of the way down the screen.

Any advice is appreciated, thank you.


Top
 Profile  
 
 Post subject: Re: Black screen on boot in QEMU
PostPosted: Tue Jan 16, 2024 2:31 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5146
If you run QEMU by itself without booting your OS, do you see anything?

If you boot your OS and add "-no-reboot" to your QEMU command line, do you see anything?

If you replace the "hlt" in the bootstrap assembly with "nop", do you see anything?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group