This document describes the GRUB configuration used in the Freeze Project operating system. The system uses a minimal GRUB setup to boot a custom kernel using the multiboot specification.
The following is the exact configuration used:
set timeout=3
set default=0
menuentry "Welcome to the Freeze Project" {
multiboot /boot/kernel.bin
set gfxpayload=text
boot
}
| Line | Description |
|---|---|
set timeout=3 |
GRUB waits 3 seconds before automatically booting. |
set default=0 |
Selects the first menu entry as default. |
menuentry |
Defines a boot option shown in GRUB menu. |
multiboot /boot/kernel.bin |
Loads the kernel using the multiboot standard. |
set gfxpayload=text |
Forces text mode instead of graphical mode. |
boot |
Starts the boot process. |
When the system starts, GRUB loads and displays a simple menu. After 3 seconds, it automatically
selects the default entry and loads kernel.bin.
The kernel is loaded using the multiboot protocol, which allows FreezeOS to boot without writing your own bootloader.