OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 2:48 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Higher Half with GRUB, "entry point isn't in a segment."
PostPosted: Tue Nov 23, 2021 8:09 pm 
Offline

Joined: Tue Nov 23, 2021 7:54 pm
Posts: 1
Hello! I'm new to OSDev, so excuse me if I'm not that great.

Anyway, I had just finished my GDT and paging, and I decided to go for a higher-half kernel. I tried every solution I could find off a quick Google search, however no matter what, it said "entry point isn't in a segment." In fact, I had gone back and taken it out, and still "entry point isn't in a segment." I was trying to figure out why it said this, even after I re-did all my code back to the original code. There is one possible explanation I have, and it's that Windows is maybe just giving up copying from WSL to Windows (I am using qemu on Windows, but everything else on Linux). However, this probably isn't the case (I checked with a SHA-1 checksum and they're the same). I would send the ISO, but it's too large to send. I've just sent the linker file, boot file, and kernel C file. If there's anything else you need, I would be happy to send it.

Have a nice day.

EDIT: Solved. A while back, I wasn't thinking and changed my linker to link into myos.elf, rather than myos.bin. Thanks!


Attachments:
linker.ld [960 Bytes]
Downloaded 84 times
boot.asm [3.94 KiB]
Downloaded 75 times
kernel.c [3.64 KiB]
Downloaded 72 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 69 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