BuildSystem: Add support for building initrd image

This is nice for testing when there isn't xhci controller available or
my usb stack fails :)
This commit is contained in:
2025-07-17 21:25:59 +03:00
parent d5301508ec
commit b65068dc7d
6 changed files with 43 additions and 5 deletions

23
toolchain/grub-legacy.cfg Normal file
View File

@@ -0,0 +1,23 @@
menuentry "banan-os" {
multiboot2 /boot/banan-os.kernel root=<ROOT>
}
menuentry "banan-os (no serial)" {
multiboot2 /boot/banan-os.kernel root=<ROOT> noserial
}
menuentry "banan-os (only serial)" {
multiboot2 /boot/banan-os.kernel root=<ROOT> console=ttyS0
}
menuentry "banan-os (no apic)" {
multiboot2 /boot/banan-os.kernel root=<ROOT> noapic
}
menuentry "banan-os (no apic, no serial)" {
multiboot2 /boot/banan-os.kernel root=<ROOT> noapic noserial
}
menuentry "banan-os (no apic, only serial)" {
multiboot2 /boot/banan-os.kernel root=<ROOT> noapic console=ttyS0
}