Page 1 of 1

Problem with grub.cfg

Posted: Fri Dec 09, 2016 7:47 am
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

Re: Problem with grub.cfg

Posted: Fri Dec 09, 2016 8:00 am
by Adrox
I have solve the provlem. It had to be in an iso folder