I compile kernel in elf format called kernel-0, and move it to the iso/boot folder, where I create the grub folder and the grub.cfg with such content:
grub.cfg
Code: Select all
menuentry 'kernel 0' {
set root='hd0,msdos1'
multiboot /boot/kernel-0 ro
}
Previously, my iso image would immediately run kernel.h and everything worked
(due to the fact that I have no brains, I deleted the files that were responsible for normal operation .ISO image)