Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diekmann/uefi_nyan_80x25
Porting Nyan cat to UEFI. In Rust 🦀. Writeup ✍️
https://github.com/diekmann/uefi_nyan_80x25
nyan-cat rust rust-lang story thinkpad uefi writeup writing
Last synced: 11 days ago
JSON representation
Porting Nyan cat to UEFI. In Rust 🦀. Writeup ✍️
- Host: GitHub
- URL: https://github.com/diekmann/uefi_nyan_80x25
- Owner: diekmann
- Created: 2024-11-10T20:58:50.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-01-08T08:39:44.000Z (25 days ago)
- Last Synced: 2025-01-08T09:33:41.715Z (25 days ago)
- Topics: nyan-cat, rust, rust-lang, story, thinkpad, uefi, writeup, writing
- Language: HTML
- Homepage:
- Size: 7.24 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UEFI NYAN 80x25
Booting directly into nyan cat.
![Four Thinkpads in a kids playpen. All Thinkpads are booted to UEFI Nyan Cat](laufstall.gif)
# 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](putting_together/img/nyanrainbowloop.gif)
## List of Features
* It displays nyan cat.
That's it.
## How UEFI NYAN 80x25 was built
:point_right: The Writeup :point_left:
* Part 1) [Getting Rust](getting_rust/)
* Part 2) [Hello World](hello_world/)
* Part 3) [The EFI Simple Text Output Protocol](efi_simple_text_output_protocol/)
* Part 4) [Nyan Cat to Rust Array](drawing_nyan/)
* Part 5) [Putting it all together](putting_together/):crab: :cat: :crab:
## Installation
```bash
$ 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](putting_together/img/bootorder.jpg)
Boot directly into nyan cat.