A simple system information tool for UEFI environments, designed to run directly from a UEFI-shell. efifetch aims to provide concise and useful system details in a format inspired by popular system fetch tools like fastfetch and neofetch, but tailored for the unique UEFI runtime environment.
x86_64-unknown-uefii686-unknown-uefiaarch64-unknown-uefi
To build efifetch from source, you will need:
- Rust Toolchain (see MSRV in
Cargo.toml) - UEFI-shell for execution
- Clone the repo:
git clone https://github.com/yaroslav957/efifetch.git cd efifetch - Build UEFI executable:
# build for x86_64-unknown-uefi, for example rustup target add x86_64-unknown-uefi cargo build --release
Copy UEFI-Shell executable & efifetch:
cp uefi-shell.efi /path/to/usb_drive/boot/efi/bootx64.efi
cp target/x86_64-unknown-uefi/release/efifetch.efi /path/to/usb_drive/efi/boot/To run efifetch on VM, you will need:
- Firmware files
- QEMU virtual machine
- Install QEMU & OVMF:
# Debian/Ubuntu sudo apt-get install qemu ovmf # Fedora sudo dnf install qemu-kvm edk2-ovmf
- Copy Firmware files:
cp /usr/share/OVMF/OVMF_CODE.fd . cp /usr/share/OVMF/OVMF_VARS.fd .
- Copy UEFI-Shell executable & efifetch:
cp uefi-shell.efi esp/efi/boot/bootx64.efi cp target/x86_64-unknown-uefi/release/efifetch.efi esp/
- Run virtual machine
qemu-system-x86_64 -enable-kvm \ -drive if=pflash,format=raw,readonly=on,file=OVMF_CODE.fd \ -drive if=pflash,format=raw,readonly=on,file=OVMF_VARS.fd \ -drive format=raw,file=fat:rw:esp
This project is licensed under the MIT License
