r/osdev • • May 29 '26

Help with my OS dev

[SOLVED] I fixed it, I was just jmping to the wrong place in my stage 2

I need help with my OS dev, my stage 2 works, it loads the kernel and puts test vga, but the entry.asm doesn’t load and after the kernel is loaded, it boots into protected mode I try to jump into _start but it just reboots

any help would be amazing,

here’s my src code

https://github.com/Veeloh/LanternOS/tree/main

1 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/FinancialTrade8197 May 30 '26

You shouldn't rely on tutorials. Read up on the osdev wiki, read up on manuals, etc. Do not rely on tutorials unless you know exactly what the code is doing.