OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Sep 19, 2019 12:16 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Multiboot 2 troubles
PostPosted: Tue Jan 01, 2019 4:30 pm 
Offline

Joined: Tue Jan 01, 2019 4:10 pm
Posts: 8
Location: Normandy, France
Hello

I'm a beginner in OS development and I'm having troubles using Multiboot 2.
When I try to test my OS with QEMU, it doesn't boot at all. (I tried debugging with gdb, no function is called at anytime)

You can find my code here: https://gitlab.com/Crumble14/crumbleos/tree/252046dd4e41ecd372cd7dc66305c50c5871cc32
The entry point is located in src/boot.s.

Am I doing something wrong?

_________________
Student at School 42 Paris (US: https://www.42.us.org/; FR: https://42.fr/)


Top
 Profile  
 
 Post subject: Re: Multiboot 2 troubles
PostPosted: Tue Jan 01, 2019 5:02 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 1636
Crumble14 wrote:
Multiboot 2

QEMU doesn't support multiboot 2. You can install GRUB in a disk image to boot your kernel, you can patch QEMU to add support for multiboot 2, or you can switch to multiboot 1.


Top
 Profile  
 
 Post subject: Re: Multiboot 2 troubles
PostPosted: Tue Jan 01, 2019 5:06 pm 
Offline

Joined: Tue Jan 01, 2019 4:10 pm
Posts: 8
Location: Normandy, France
Octocontrabass wrote:
QEMU doesn't support multiboot 2


Ow, okay, thank you very much :) I'm going to try to install GRUB then.

_________________
Student at School 42 Paris (US: https://www.42.us.org/; FR: https://42.fr/)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 8 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