From 0146613ce7bff2e2e5b0a8c5cf2ae8c87c82f61c Mon Sep 17 00:00:00 2001 From: xamidev <121681048+xamidev@users.noreply.github.com> Date: Sat, 24 Aug 2024 11:52:16 +0200 Subject: [PATCH] Add: UEFI support (32-bit protected still) --- README.md | 4 +--- grub.cfg | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 107ee74..0d958d3 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,7 @@ The `toolchain` target will download the appropriate cross-compiling tools, and ## Running on real hardware -To run the OS on real hardware, you'll first need to have a BIOS-compatible computer. Some of the new laptops with graphical "BIOSes" only support UEFI now. So make sure to get a computer that can boot into BIOS mode. You'll have to switch the boot mode to "Legacy" in your BIOS/UEFI utility. - -Burn your image file onto a USB stick: +The OS is now both UEFI and BIOS compatible! Burn your image file onto a USB stick: ``` sudo dd bs=4M if=blankos.iso of=/dev/sdX status=progress oflag=sync ``` diff --git a/grub.cfg b/grub.cfg index 92cb693..f0c868b 100644 --- a/grub.cfg +++ b/grub.cfg @@ -1,4 +1,5 @@ menuentry "Blank OS" { + insmod all_video set gfxpayload=1024x768x32 multiboot2 /boot/kernel.elf boot