Git Product home page Git Product logo

grub2-hackbgrt's Introduction

Hackbgrt for GRUB 2

Inspired by the work of HackBGRT EFI application.

This module is for GRUB2 (x86 32 or 64 bits) and allow to modify the EFI BGRT at grub level.

The BGRT stands for Boot Graphic Resource Table and holds the boot logo you see when booting in UEFI.

This logo cannot be directly modified as it is builtin in the EFI firmware, unless you flash a new one.

However the ACPI table describing the logo could still be changed (not permanently) in an EFI application. GRUB2, and its modules, are EFI applications and so can change the content of the BGRT table for a one-time-boot.

This is what this GRUB2 module do.

Installation

Local installation:

$ make && sudo make install

grubver variable designates the matching grub version and is 2.04 by default. platform indicates the cpu platform architecture: x86_64โ€ฏ(default) or i386. DESTDIR variable is respected at installation.

A PKGBUILD is also provided for Arch-based distributions.

Usage

insmod hackbgrt
hackbgrt (hd0,gpt1) image=/relative/path/to/bmp|keep|remove[,x=123|center|keep,y=456|center|keep][,weight=1] [image=...]*

Where:

  • (hd0,gpt1) is your ESP (EFI System Partition) as seen by GRUB2.
  • image variable could take a 24-bit BMP splash path file, or the value keep, or the value remove.
  • x and y variables could be used to position the image. You can use an absolute position, or center value or keep value.
  • weight variable is use to add a weight (probability) to your image. Only useful if you use multiple image variables.

The Splash file should be relative to the ESP partition and should start with a slash.

grub2-hackbgrt's People

Contributors

jrd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

appstarbd comhon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.