CosmosOS/Cosmos

OS wont boot on real hardware

Closed this issue · 22 comments

When i use my usb to boot my OS on my laptop it loads like normal and says loading (OSNAME).bin and then it shows a black screen.

A few questions:

  • Does your computer support BIOS, UEFI or both?
  • Did you used graphics or only text mode (console) in your OS?
  • In case you used graphics, have you choosed VBECanvas, VGACanvas or SVGAIICanvas?
  • Are you using userkit or devkit?

My computer supports UEFI, I’m using the console mode and I’m using dev kit

But you are booting in legacy mode?

Yes

Does it boot on a vm?

Yes

Oh btw I did use SVGAIICanvas but I’m just using console rn. Also what graphics work with real hardware?

only VBECanvas works on real hardware iirc

So how do I make it work and boot on real hardware?

Try with cosmos default OS and see if it works, if not then i think we'll need your code, at least the start of it

I made no changes to the code it’s the default console

Are you using rufus, ventoy or another tool to burn the ISO?

remember that vga doesn't work with uefi (aand vga text mode)

I’m using Rufus 2.18

this happens to me too, only boots on real hardware if using the userkit

Fr?

But how do I use the vbecanvas?

Fr?

yeah, but userkit is very outdated compared to the devkit so its not really a good idea to use it

I tried it with the user kit and it didn’t boot

im not sure if there are any differences here, but ig you could try the ISO mode in rufus and if that dosen't work then try DD mode

Ok I’ll try later I’ll let you know if works

If you have any other hardware you can try, it might help to rule out whether it's your kernel or the hardware. Even better, (but unlikely), if there's a way to get serial output out of your laptop you could access the debugger potentially (think that's how it works)