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.
I'm trying to get the module address so I can access my initrd. My old kernel would get it using a similar grub.cfg, but using multiboot1. Now I'm trying to use multiboot2 to boot the new x86_64 kernel. I already was able to get the framebuffer info and the memory map. The problem is that grub 2 doesn't pass the module tag to the kernel. I tried messing with the header tags but it didn't change a thing.
If some of you people keep insisting on having backwards compatibitity with the stone age, we'll have stone tools forever.
My Hobby OS: https://github.com/heatd/Onyx
May I ask where you get all these commands? If I try to look in the Grub 2 documentation, it usually doesn't show or describe too much of multiboot commands ( and module ). It just shows linux stuff and freebsd stuff, etc.
Thanks,
If some of you people keep insisting on having backwards compatibitity with the stone age, we'll have stone tools forever.
My Hobby OS: https://github.com/heatd/Onyx
TheRussianFail wrote:
May I ask where you get all these commands? If I try to look in the Grub 2 documentation, it usually doesn't show or describe too much of multiboot commands ( and module ). It just shows linux stuff and freebsd stuff, etc.
I couldn't find the commands either. I spent quite a few hours on it. That is until I decided to download the Grub source code and read it to figure this one out.
I still don't understand why Grub has the multiboot2/module2 commands. It should just look for both headers with the multiboot/module commands.