Multiboot 2 troubles

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Crumble14
Posts: 16
Joined: Tue Jan 01, 2019 4:10 pm
Location: Normandy, France

Multiboot 2 troubles

Post by Crumble14 »

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/ ... 0c5871cc32
The entry point is located in src/boot.s.

Am I doing something wrong?
Student at School 42 Paris (FR: https://42.fr/)
Octocontrabass
Member
Member
Posts: 5586
Joined: Mon Mar 25, 2013 7:01 pm

Re: Multiboot 2 troubles

Post by Octocontrabass »

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.
Crumble14
Posts: 16
Joined: Tue Jan 01, 2019 4:10 pm
Location: Normandy, France

Re: Multiboot 2 troubles

Post by Crumble14 »

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 (FR: https://42.fr/)
Post Reply