启用 GRUB 引导装载程序

Enable the GRUB boot loader

我为我的操作系统制作了内核。我想用 GRUB 引导装载程序引导内核。我如何 link 我的 .bin 文件由 i686-elf-gcc 使用 GRUB 的 -T 参数创建?有关如何执行此操作的任何建议?

要创建 GRUB 文件,您可以访问 this link. It contains info about how to link your assembly and c kernel file and how to create a GRUB configuration file to create a bootable ISO file with the GRUB bootloader on it. The only thing about that tutorial is it expects you to have the gcc cross-compiler 安装程序,否则这些命令将无法正常工作。