grub2 does not load my kernel?
Posted: Wed Oct 16, 2019 2:30 pm
Hello!
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
When I try to boot from it I see a grub window where I can select kernel-0, if I select it I see the error "unknown filesystem".
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)
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)