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

View File

@@ -0,0 +1,4 @@
menuentry "banan-os" {
multiboot2 /boot/banan-os.kernel readonly
module2 /boot/banan-os.initrd
}

View File

@@ -0,0 +1,11 @@
insmod part_gpt
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root <ROOT_FS>
insmod all_video
menuentry "banan-os" {
multiboot2 /boot/banan-os.kernel readonly
module2 /boot/banan-os.initrd
}