build the kernel. create a bootable efi image.

This commit is contained in:
Matt Knoop
2025-11-12 18:37:10 -07:00
parent bde0a7e0fb
commit 112169798d
6 changed files with 146 additions and 9 deletions

17
grub.cfg Normal file
View File

@@ -0,0 +1,17 @@
set timeout=1
set default=0
insmod fat
insmod part_gpt
insmod gzio
set root='(hd0,gpt1)'
menuentry "PatronageOS" {
ls (hd0,gpt1)/EFI/patronage/
linux /EFI/patronage/bzImage quiet splash debug=yes ramdisk_size=500000,1 boot=/init
echo 'loaded kernel...'
initrd /EFI/patronage/initramfs.cpio.gz
echo 'loaded initial ramdisk...'
set debug=all
boot
echo 'done.'
}