Code: Select all
.:
boot kernel.bin
./boot:
grub2
./boot/grub2:
grub.cfg
Code: Select all
multiboot /kernel.bin
boot
Code: Select all
grub2-mkrescue -o image.iso iso
Anyone have any ideas?
Code: Select all
.:
boot kernel.bin
./boot:
grub2
./boot/grub2:
grub.cfg
Code: Select all
multiboot /kernel.bin
boot
Code: Select all
grub2-mkrescue -o image.iso iso
Is that all? Try this:Contents of grub.cfg:Code: Select all
multiboot /kernel.bin boot
Code: Select all
menuentry "Run my kernel" {
multiboot /kernel.bin
}
Thanks!! That fixed it. I wonder why, but in Fedora 17 (what I currently run) the grub.cfg file is located only in /boot/grub2. The only file in /boot/grub is /boot/grub/splash.xpm.gz. Hmmm... Interesting.jnc100 wrote:Grub2 looks for its configuration file in /boot/grub/grub.cfg (not /boot/grub2/grub.cfg).
Regards,
John.
The GRUB2 installer can take an argument to change the directory in which it looks for (some) things.BenjiWiebe wrote:Thanks!! That fixed it. I wonder why, but in Fedora 17 (what I currently run) the grub.cfg file is located only in /boot/grub2. The only file in /boot/grub is /boot/grub/splash.xpm.gz. Hmmm... Interesting.jnc100 wrote:Grub2 looks for its configuration file in /boot/grub/grub.cfg (not /boot/grub2/grub.cfg).
Regards,
John.