Skip to content

Porting Nyan cat to UEFI. In Rust 🦀. Writeup ✍️

Notifications You must be signed in to change notification settings

diekmann/uefi_nyan_80x25

Repository files navigation

UEFI NYAN 80x25

Booting directly into nyan cat.

Four Thinkpads in a kids playpen. All Thinkpads are booted to UEFI Nyan Cat

The Making of UEFI NYAN 80x25

This repository contains the story how nayn cat was ported to the EFI Simple Text Output Protocol. Nyan cat is now an UEFI application. You can directly boot into nyan cat. Windows 10 support is running out? Use nyan cat as your new OS! Linux is too complicated? Use nyan cat as your new OS! BSDs are too esoteric? Use nyan cat as your new OS! macOS does not natively run on ThinkPads? Use nyan cat as your new OS!

Nyancat booted with via UEFI my X260

List of Features

  • It displays nyan cat.

That's it.

How UEFI NYAN 80x25 was built

👉 The Writeup 👈

🦀 🐱 🦀

Installation

$ cd nyan
$ cargo build --release
$ cargo run --release
$ # assume /boot/efi/ is your mounted EFI system partition
$ sudo mkdir /boot/efi/EFI/nyan/
$ sudo cp target/x86_64-unknown-uefi/release/nyan.efi /boot/efi/EFI/nyan/bootx64.efi
$ sudo efibootmgr --create --disk /dev/sda --part 1 --label "nyan" --loader \\EFI\\nyan\\bootx64.efi 

Then set nyan as the first boot entry in your firmware setup.

ThinkPad BIOS Setup, setting nyan as first boot entry

Boot directly into nyan cat.

nyanrainbowboot.mp4