Skip to content
Projets

IO-ZetZor/Visor-BootManager

Voir sur GitHub

À propos

Un gestionnaire de démarrage UEFI graphique, minimaliste et rapide, sans dépendances externes : un simple fichier de configuration suffit :)

Systèmes et infrastructure

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+1
in 7 days
+12
in 15 days
+14
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Visor

A small, fast UEFI boot manager that actually looks of this decade.

Visor runs on x86_64, AArch64, and 64-bit RISC-V UEFI systems. It boots Linux EFI-stub kernels and Unified Kernel Images (UKIs), and can start other EFI apps, including Windows Boot Manager on supported systems.

What it does

These features are included in the full build profile.

  • Finds boot entries when boot.conf is missing or has no entries. It scans filesystems available to UEFI for Windows Boot Manager, UKIs, Boot Loader Specification (BLS) entries, and Linux kernels. For a standalone kernel, Visor can read the command line from an existing loader entry or try to infer root= from fstab or the GPT partition layout.
  • Lets you pick a Btrfs snapshot or an OSTree deployment from the menu. Btrfs snapshot discovery supports Snapper, Timeshift in Btrfs mode, and plain snapshot directories.
  • Adds or removes boot entries as USB drives come and go while the menu is open. The menu supports themes, animated backgrounds, and mouse or touch input on firmware that exposes those devices.
  • Can decrypt kernels and initrds encrypted with visor encrypt. With a compatible initramfs, Visor can pass the same password along as a keyfile to unlock a LUKS root volume.

Install

Requirements

  • An x86_64, AArch64, or RISC-V 64-bit (RV64GC) UEFI system
  • gnu-efi development files
  • GCC and binutils (objcopy)
  • make, git, Python 3 for the source installer

RISC-V builds

On a RISC-V Linux host with RISC-V gnu-efi development files and GNU binutils 2.42 or newer, make builds visor_riscv64.efi. Run ./install.sh to install it. Use an RV64 EFI-stub Linux kernel or UKI. The default EfiFs release has no pinned RISC-V drivers. If your firmware needs a filesystem driver to read /boot, supply an RV64 driver with --fs-driver PATH.

To cross-build, put riscv64-linux-gnu-gcc and riscv64-linux-gnu-objcopy on PATH and run these commands from the Visor source directory.

git clone --depth 1 --branch 4.0.4 https://github.com/ncroxon/gnu-efi gnu-efi-src
make -C gnu-efi-src ARCH=riscv64 CROSS_COMPILE=riscv64-linux-gnu- lib gnuefi
mkdir -p gnu-efi/riscv64/gnuefi
cp gnu-efi-src/riscv64/gnuefi/crt0-efi-riscv64.o \
   gnu-efi-src/riscv64/gnuefi/libgnuefi.a \
   gnu-efi-src/riscv64/lib/libefi.a \
   gnu-efi-src/gnuefi/elf_riscv64_efi.lds gnu-efi/riscv64/gnuefi/
make ARCH=riscv64

To put a cross-built binary on an ESP for another machine, run ./install.sh --arch riscv64 --no-build --no-boot-entry --esp /path/to/esp and follow the USB guide for the UEFI fallback path.

Steps

The script installs the build tools for your distro, then downloads and builds Visor and copies it to your EFI System Partition (ESP).

sh -c "$(curl -fsSL https://raw.githubusercontent.com/IO-ZetZor/Visor-BootManager/main/get.sh)"

You can also use wget.

sh -c "$(wget -qO- https://raw.githubusercontent.com/IO-ZetZor/Visor-BootManager/main/get.sh)"

Run it as your normal user. The script asks for sudo when it needs to install something. You can also download get.sh and read it before running it.

After installation, edit <ESP>/EFI/visor/boot.conf to point to your kernels, or delete the file to use automatic detection. Run visor update to fetch and install the latest version.

To install Visor on a removable USB drive, see the USB setup guide.

Arch Linux (AUR)

Install Visor from the AUR with your usual helper.

yay -S visor

Or install it with paru.

paru -S visor

The AUR package builds Visor from source and puts the EFI binary in /usr/lib/visor/ and the CLI at /usr/bin/visor. Then run visor install to copy Visor to your ESP.

The installer flags and configuration reference are in the install guide.

Secure Boot on Fedora-family distros

The --sign option uses sbctl. With that setup, Visor can't boot kernels signed only with your distro's key. On Fedora, Bazzite, and other shim-based distros, use a MOK key to start Visor through shim. See the shim and MOK guide.

How it compares

Visor GRUB 2 systemd-boot rEFInd Limine
Menu Icons with themes and animated backgrounds Text or graphical themes Text Graphical icons Text with optional wallpaper
Config Optional boot.conf Usually a generated grub.cfg loader.conf and BLS entry files refind.conf limine.conf
Finding entries Scans for Windows and Linux boot files Finds systems when generating grub.cfg, if enabled Reads BLS entries and finds UKIs and Windows Scans for EFI loaders and Linux kernels Reads entries from limine.conf
Boot targets Linux kernels, UKIs, other EFI apps Linux, Multiboot, chainloading EFI apps, including UKIs EFI apps and EFI-stub kernels Linux, Limine protocol, Multiboot, chainloading
Runs on legacy BIOS No Yes No No Yes

See the full comparison for more detail.

Documentation

The wiki has the configuration reference and guides for themes, encryption and LUKS, Secure Boot, snapshots and OSTree, filesystem drivers, and the visor CLI. It also has architecture notes and troubleshooting.

The settings are also explained in boot.conf.example.

See the recovery command notes for GPT disk selectors.

Companion: Visor Studio

Visor Studio is Visor's official visual editor for boot.conf. You can edit and validate your config, see a live preview of the menu, and export a bundle to copy to the ESP. The controls use Visor's boot.conf.schema.json. There's also a wizard for Linux, UKI, Windows, and custom entries, plus diagnostics that can apply safe fixes.

Visor itself stays a single small EFI binary. Studio runs in the browser and can be hosted with Docker or run locally. For an existing Visor installation, start it locally with visor studio. Studio was built by Farid and is licensed under BSD 2-Clause.

Credits

  • Visor's boot menu takes its cues from rEFInd.
  • Visor builds on the freestanding UEFI toolchain from gnu-efi.
  • The drivers for non-FAT volumes come from Pete Batard's EfiFs. Visor installs a build with a firmware read cache from IO-ZetZor/EfiFs.
  • Visor uses materialyoucolor as the Material You reference for its wallpaper accent colors.
  • Farid built Visor Studio, the official visual boot.conf editor that ships with Visor.
  • Thanks to everyone who ran early builds on real hardware. Your boot.log files and firmware reports drove most of the hardening work in each release.

Written and maintained by IO-ZetZor. Licensed under BSD 2-Clause. See LICENSE.

Explorer des projets similaires

Chargement…