Show HN: UEFI Bootloader for TempleOS

AlecMurphy1 pts0 comments

0x2f22d23e/UwUEFI: A 萌え萌えキュン bootloader for TempleOS - Codeberg.org

This website requires JavaScript.

0x2f22d23e/UwUEFI

Watch

Star

Fork

Code

Issues

Pull requests

Releases

Activity

A 萌え萌えキュン bootloader for TempleOS

7 commits

1 branch

1 tag

16 MiB

78.4%

Python

14.6%

DenizenScript

3.8%

Shell

3.2%

main

Find a file

HTTPS

Download ZIP<br>Download TAR.GZ<br>Download BUNDLE

Open with VS Code

Open with VSCodium

Open with Intellij IDEA

Repository files (latest commit first)

Filename<br>Latest commit message<br>Latest commit date

Alec Murphy

d912308d99

Update README

2026-07-20 23:01:24 -04:00

.vscode

Add files to repository

2026-07-20 20:22:20 -04:00

gdb

Add files to repository

2026-07-20 20:22:20 -04:00

iso

Add files to repository

2026-07-20 20:22:20 -04:00

patches

Add files to repository

2026-07-20 20:22:20 -04:00

scripts

Add files to repository

2026-07-20 20:22:20 -04:00

.clang-format

Add files to repository

2026-07-20 20:22:20 -04:00

.gitignore

Add files to repository

2026-07-20 20:22:20 -04:00

ini.c

Add files to repository

2026-07-20 20:22:20 -04:00

LICENSE

Initial commit

2026-07-21 02:18:11 +02:00

main.c

Add files to repository

2026-07-20 20:22:20 -04:00

main.h

Add files to repository

2026-07-20 20:22:20 -04:00

README.md

Update README

2026-07-20 23:01:24 -04:00

screenshot.png

Add screenshot

2026-07-20 20:42:08 -04:00

UwUEFI.dsc

Add files to repository

2026-07-20 20:22:20 -04:00

UwUEFI.inf

Add files to repository

2026-07-20 20:22:20 -04:00

README.md

UwUEFI

A 萌え萌えキュン UEFI bootloader for TempleOS

INFO

The entire bootloader is about ⅕ of the Kernel size, and provides all necessary steps to: load the TempleOS Standard ISO into a RAM disk, extract the Kernel to BOOT_RAM_BASE and live-patch minimal required functions to boot the system.

HOWTO

You can grab pre-built files from Releases, or generate them yourself using either the .vscode build task, or manually running scripts/build-all, to build a smol disk image with the bootloader and TempleOS.ISO, and launch a VM.

You can write the disk image to a flash drive with dd if=build/disk.img of=/dev/sdX bs=64M status=progress && sync,

or

Put a EFI-bootable filesystem on a flash drive, put build/BOOTX64.EFI in /EFI/BOOT/, and iso/TempleOS.ISO in / on your filesystem.

BUILDING THE BOOTLOADER

Uncomment, comment kernel_dyn.c, kernel.c

Run scripts/get-baseline-dump to generate Kernel_baseline.c

Build the disk image

(Optional: Coalesce the Kernel patches)

Run scripts/make-kernel-patch to generate kernel.c

Comment, uncomment kernel_dyn.c, kernel.c

Build the disk image

BOOT OPTIONS

You can put a boot.ini in / on your filesystem to set boot time options. Use key=value format.

IsoFilePath to specify a full path to TempleOS.ISO

MaxTotalMemory to specify total memory limit in MiB (useful on bare-metal to workaround crashes)

files repository templeos bootloader kernel build

Related Articles