Problem with grub.cfg

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
Adrox
Posts: 9
Joined: Wed Dec 07, 2016 10:39 am

Problem with grub.cfg

Post by Adrox »

Hi,

I have now successfully written a "Hello World kernel" but there is a problem. I work with grub2 and the problem is that grub2 doesn't use the grub.cfg. The grub.cfg is in the directory /boot/grub
and contain following content:

Code: Select all

set timeout=15
set default=0

menuentry "Test" {
    multiboot /kernel/kernel_x86.elf
    boot
}
And yes the kernel is in the folder kernel. If I load it manually in the command line of grub2 it works it printed Hello World but not with grub.cfg

How can I solve this problem
"The world is in greater peril from those who tolerate or encourage evil than from those who actually commit it." - Albert Einstein
Adrox
Posts: 9
Joined: Wed Dec 07, 2016 10:39 am

Re: Problem with grub.cfg

Post by Adrox »

I have solve the provlem. It had to be in an iso folder
"The world is in greater peril from those who tolerate or encourage evil than from those who actually commit it." - Albert Einstein
Post Reply