CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.94k stars 552 forks source link

OS wont boot on real hardware #3083

Closed OxSharp closed 2 months ago

OxSharp commented 2 months ago

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.

Gabolate commented 2 months ago

A few questions:

OxSharp commented 2 months ago

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

Gabolate commented 2 months ago

But you are booting in legacy mode?

OxSharp commented 2 months ago

Yes

Gabolate commented 2 months ago

Does it boot on a vm?

OxSharp commented 2 months ago

Yes

OxSharp commented 2 months ago

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

Gabolate commented 2 months ago

only VBECanvas works on real hardware iirc

OxSharp commented 2 months ago

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

Gabolate commented 2 months ago

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

OxSharp commented 2 months ago

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

Gabolate commented 2 months ago

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

Szymekk44 commented 2 months ago

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

OxSharp commented 2 months ago

I’m using Rufus 2.18

GBX9570 commented 2 months ago

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

OxSharp commented 2 months ago

Fr?

OxSharp commented 2 months ago

But how do I use the vbecanvas?

GBX9570 commented 2 months ago

Fr?

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

OxSharp commented 2 months ago

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

Gabolate commented 2 months ago

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

OxSharp commented 2 months ago

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

sasdallas commented 2 months ago

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)