Missing operating system!

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.
User avatar
beyondsociety
Member
Member
Posts: 39
Joined: Tue Oct 17, 2006 10:35 pm
Location: Eagle, ID (USA)
Contact:

Re: Missing operating system!

Post by beyondsociety »

qemu-system-i386 -nographic -cdrom os.iso
Remove the -nographic from qemu and it should display something.
Display options:

-nographic - Normally, QEMU uses SDL to display the VGA output. With this option, you can totally disable graphical output so that QEMU is a simple command line application. The emulated serial port is redirected on the console. Therefore, you can still use QEMU to debug a Linux kernel with a serial console.

-curses - Normally, QEMU uses SDL to display the VGA output. With this option, QEMU can display the VGA output when in text mode using a curses/ncurses interface. Nothing is displayed in graphical mode.
"I think it may be time for some guru meditation"
"Barbarians don't do advanced wizardry"
Romiro27
Posts: 10
Joined: Sat Aug 08, 2020 1:16 pm
Location: Russia, Volgograd

Re: Missing operating system!

Post by Romiro27 »

PeterX wrote:I would suggest that you do some debug output in boot.asm and as the first instruction in main(). If that works, your terminal code is wrong. If that doesn't work, your boot code is wrong.
This does not work. But why if the code was completely copied from the Bare Bones tutorial?
Romiro27
Posts: 10
Joined: Sat Aug 08, 2020 1:16 pm
Location: Russia, Volgograd

Re: Missing operating system!

Post by Romiro27 »

My computer has gone crazy right now, sorry if I can't answer everything within 24 hours
PeterX
Member
Member
Posts: 590
Joined: Fri Nov 22, 2019 5:46 am

Re: Missing operating system!

Post by PeterX »

Romiro27 wrote:
PeterX wrote:I would suggest that you do some debug output in boot.asm and as the first instruction in main(). If that works, your terminal code is wrong. If that doesn't work, your boot code is wrong.
This does not work. But why if the code was completely copied from the Bare Bones tutorial?
You are quite unprecise. What does not work and how is the error? Did you try the debug? Or don't you actually like programming but want rather a ready product like Linux or Windows?
Octocontrabass
Member
Member
Posts: 5572
Joined: Mon Mar 25, 2013 7:01 pm

Re: Missing operating system!

Post by Octocontrabass »

Romiro27 wrote:-nographic
Your kernel requires graphics!
Romiro27
Posts: 10
Joined: Sat Aug 08, 2020 1:16 pm
Location: Russia, Volgograd

Re: Missing operating system!

Post by Romiro27 »

beyondsociety wrote:Remove the -nographic from qemu and it should display something.
Octocontrabass wrote:Your kernel requires graphics!
What a stupid mistake! Sorry for wasting your time and thank you very much for helping! The image in QEMU is launched, thank you very much!
Post Reply