[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110876":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":14,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":15,"starSnapshotCount":15,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},110876,"aarambh","NarkAgni\u002Faarambh","NarkAgni","A graphical UEFI boot menu for Linux that replaces GRUB\u002Fsystemd-boot with animated full screen themes and seamless Plymouth splash transitions.","",null,"C",116,6,1,0,4,53,51.84,"GNU General Public License v3.0",false,"main",true,[24,25,26,27,28,29,30,31,32,33,34],"boot-manager","bootloader","c","efi","gnu-efi","grub","grub2","linux","plymouth","systemd-boot","uefi","2026-11-12 07:03:14","2026-11-23 08:47:39","# Aarambh\n\n**Aarambh** (आरम्भ, \"the beginning\") is a graphical UEFI boot menu for Linux.\nIt replaces the GRUB or systemd-boot menu with animated, full-screen panels and\nhands over to a matching Plymouth splash, so the screen never goes black\nbetween the firmware logo and the login screen.\n\nIt works with any Linux distribution that boots in UEFI mode, and with several\nof them installed side by side. Windows and other EFI loaders on the same disk\nare found automatically.\n\n> [!IMPORTANT]\n> **Supported hardware: 64-bit x86 PCs (`x86_64`, Intel or AMD) with 64-bit\n> UEFI firmware. Secure Boot can stay on.**\n>\n> Not supported: ARM (`aarch64`, Raspberry Pi, Apple Silicon, Snapdragon\n> laptops), 32-bit PCs (`i686`), 32-bit UEFI firmware (some Atom tablets),\n> RISC-V, and legacy BIOS \u002F CSM mode. The installer checks this and stops\n> before changing anything.\n>\n> Check your machine:\n>\n> ```sh\n> uname -m                                  # must print x86_64\n> cat \u002Fsys\u002Ffirmware\u002Fefi\u002Ffw_platform_size    # must print 64 (missing = BIOS mode)\n> ```\n\nAarambh runs before any operating system starts. Every section below can be\nexpanded, so you can see exactly what it does to your machine before you\ninstall it.\n\n\u003Cp align=\"center\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Faccordion.jpg\" alt=\"Aarambh with the Accordion theme\" width=\"900\">\n\u003C\u002Fp>\n\n## Themes\n\n13 built-in themes. Switch with `aarambh --theme \u003Cname>`; each has a matching\nboot, restart and shutdown splash.\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Faccordion.jpg\" alt=\"Accordion theme\">\u003Cbr>\n\u003Cb>Accordion\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Fcinema.jpg\" alt=\"Cinema theme\">\u003Cbr>\n\u003Cb>Cinema\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Fhud.jpg\" alt=\"HUD theme\">\u003Cbr>\n\u003Cb>HUD\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Fglass-sidebar.jpg\" alt=\"Glass Sidebar theme\">\u003Cbr>\n\u003Cb>Glass Sidebar\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Feditorial-dark.jpg\" alt=\"Editorial Dark theme\">\u003Cbr>\n\u003Cb>Editorial Dark\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Feditorial.jpg\" alt=\"Editorial theme\">\u003Cbr>\n\u003Cb>Editorial\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Fhoneycomb.jpg\" alt=\"Honeycomb theme\">\u003Cbr>\n\u003Cb>Honeycomb\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Fconstellation.jpg\" alt=\"Constellation theme\">\u003Cbr>\n\u003Cb>Constellation\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Fpicker-wheel.jpg\" alt=\"Picker Wheel theme\">\u003Cbr>\n\u003Cb>Picker Wheel\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Fdial.jpg\" alt=\"Dial theme\">\u003Cbr>\n\u003Cb>Dial\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Fminimal.jpg\" alt=\"Minimal theme\">\u003Cbr>\n\u003Cb>Minimal\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Fdepartures.jpg\" alt=\"Departures theme\">\u003Cbr>\n\u003Cb>Departures\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"33%\">\n\u003Cimg src=\"docs\u002Fscreenshots\u002Fgallery.jpg\" alt=\"Gallery theme\">\u003Cbr>\n\u003Cb>Gallery\u003C\u002Fb>\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Quick start\n\nInstall the build tools for your distribution:\n\n```sh\nsudo apt install build-essential gnu-efi curl efibootmgr         # Debian, Ubuntu, Mint, Pop!_OS\nsudo dnf install gcc make gnu-efi-devel curl efibootmgr          # Fedora, RHEL, Rocky, CentOS\nsudo zypper install gcc make gnu-efi curl efibootmgr             # openSUSE\nsudo pacman -S --needed base-devel gnu-efi curl efibootmgr       # Arch, Manjaro, EndeavourOS\n```\n\nThen build and install:\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002FNarkAgni\u002Faarambh.git\ncd aarambh\n.\u002Fscripts\u002Finstall.sh --dry-run     # optional: show every change first\nmake install                       # default theme (accordion)\n```\n\n**Secure Boot on?** Nothing changes in these steps. If the installer ends with\nan 8-digit password, one blue screen appears at the next restart to confirm\nthe signing key: follow **[docs\u002FSECURE_BOOT.md](docs\u002FSECURE_BOOT.md)**, which\nshows every screen.\n\nTo install with a theme and a default OS in one go:\n\n```sh\nmake install THEME=cinema DEFAULT=fedora\n# same as: .\u002Fscripts\u002Finstall.sh --theme cinema --default fedora\n```\n\nList the themes first, before installing (no root needed):\n\n```sh\nmake themes\n# same as: .\u002Fscripts\u002Finstall.sh --list-themes\n```\n\nScreenshots of each are under **Themes** in *Using Aarambh*. A wrong name stops\nthe installer before anything is changed. The Plymouth boot splash follows the\ntheme automatically, nothing else to install.\n\nOn every other Linux on the same disk, boot it once and run:\n\n```sh\nsudo bash \u002Fboot\u002Fefi\u002FEFI\u002Faarambh\u002Fhooks\u002Fsetup.sh\n```\n\n(If that OS mounts the EFI partition at `\u002Fefi` or `\u002Fboot`, use that path\ninstead of `\u002Fboot\u002Fefi`.)\n\nChange the theme or default OS any time later, from any connected OS:\n\n```sh\naarambh --themes                           # list themes, * marks the current one\naarambh --theme editorial-dark             # switch theme\naarambh --default ubuntu --timeout 5       # default OS and countdown\n```\n\nThe change applies from the next boot for every OS on the disk. To try a\ntheme without touching your real boot menu, run `make qemu THEME=hud`.\n\n**Updating Aarambh.** Pull the new version and run `make install` on one OS as\nbefore. It updates the boot menu and copies the new hooks to the EFI\npartition. Then run the `setup.sh` line above once on every other Linux OS,\nso its OS-side parts (Plymouth theme, `aarambh` command, boot service) are\nupdated too. Windows needs nothing. Kernel updates, theme and default changes\nnever need this step.\n\n> **Secure Boot can stay on.** The installer signs Aarambh and starts it\n> through your distribution's shim. If your PC does not trust the signing key\n> yet, the installer prints an 8-digit password and a blue **Perform MOK\n> management** screen appears once at the next restart: choose **Enroll MOK →\n> Continue → Yes**, type the password, then **Reboot**. The step-by-step guide\n> with screenshots: **[docs\u002FSECURE_BOOT.md](docs\u002FSECURE_BOOT.md)**.\n\n**Something went wrong?** Start the system once it boots again (see *Safety\nand recovery*), then run `aarambh-debug`, or `make debug` from the source\nfolder if the install did not finish. It writes one report file with\neverything needed to find the problem; attach it to an\n[issue](https:\u002F\u002Fgithub.com\u002FNarkAgni\u002Faarambh\u002Fissues\u002Fnew).\n\n---\n\n## What Aarambh is\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>What is Aarambh, in one paragraph?\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nAarambh is a single UEFI application (`aarambh.efi`) that your firmware starts\ninstead of GRUB or systemd-boot. It draws a menu with one panel per operating\nsystem plus Firmware, Restart and Power Off. When you pick an OS it either\nstarts the Linux kernel directly, or hands over to that OS's own loader (shim,\nGRUB, systemd-boot, Windows Boot Manager). It does not replace or uninstall\nany boot loader or kernel.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Features\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n- Accordion layout: the selected OS expands, the others collapse into side panels\n- Works with every UEFI Linux distribution, with GRUB, GRUB + BLS or systemd-boot\n- Finds Windows and other EFI loaders on the disk on its own\n- Advanced options list with every installed kernel and recovery mode\n- Direct Linux boot, with the OS's own boot loader as the fallback\n- One-time kernel choice: pick an older kernel for one boot only\n- Firmware setup, Restart and Power Off entries\n- Matching Plymouth splash for a boot with no black screen\n- Every change is recorded and can be undone with `hooks\u002Funinstall.sh`\n- 13 built-in themes, each with its own colors, switchable with one config line\n- Theme API: new looks are drawn on top of a shared core, widgets and theme kit\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>How a boot works, step by step\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n```\nFirmware (UEFI)\n   │  BootOrder points to \"Aarambh\"\n   ▼\naarambh.efi ── reads \\EFI\\aarambh\\aarambh.conf, fonts, images, \u003Cos>.kernels\n   │            and lists every other loader it finds under \\EFI\\\n   │\n   │  you choose an entry (or the countdown ends)\n   ▼\n┌───────────────────────────────┬──────────────────────────────────────────┐\n│ Direct boot                   │ Fallback                                 │\n│ (kernel available on the ESP) │ (no direct copy, or Windows \u002F other OS)  │\n├───────────────────────────────┼──────────────────────────────────────────┤\n│ Loads the kernel from the ESP │ Remembers the chosen kernel:             │\n│ Joins the initrd parts        │   GRUB: writes next-\u003Cos>.cfg             │\n│ (microcode + initramfs) and   │   systemd-boot: sets LoaderEntryOneShot  │\n│ serves them through the       │ Starts the OS's own loader               │\n│ LINUX_INITRD_MEDIA protocol   │   (shim, GRUB, systemd-boot, Windows)    │\n│ Passes the kernel cmdline     │   GRUB\u002Fsystemd-boot boot the chosen      │\n│ Starts the kernel EFI stub    │   kernel without showing a menu          │\n└───────────────┬───────────────┴─────────────────────┬────────────────────┘\n                ▼                                     ▼\n         Plymouth \"aarambh\" theme (same background, logo and dots)\n                ▼\n         Login screen\n                │\n                └─ aarambh-clear.service empties next-\u003Cos>.cfg, so the next\n                   boot uses the default kernel again\n```\n\nWhich kernels can start directly:\n\n| Where the kernels live                         | Direct boot              |\n|------------------------------------------------|--------------------------|\n| On the EFI partition (systemd-boot, ESP=\u002Fboot) | Every kernel, in place   |\n| On another partition (most GRUB installs)      | The newest kernel, copied to the ESP |\n\nFirmware, Restart and Power Off call the UEFI runtime services directly.\nFirmware sets the `OsIndications` variable so the machine reboots into the\nfirmware setup screen.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Why the screen never goes black\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nA normal boot shows several different screens: firmware logo, boot loader\nmenu, a black gap while the kernel loads, then the Plymouth splash. Aarambh\nremoves the gaps:\n\n- **GRUB is hidden, not removed.** Its timeout is set to `0` and its menu is\n  hidden, so it passes through instantly when it is used at all.\n- **Kernels skip the boot loader.** Aarambh starts them directly from the ESP.\n- **The splash continues the menu, in every theme.** Just before a direct\n  boot, Aarambh renders the last frame of the current theme's launch splash\n  (without its dots) and appends it to the initrd as a small cpio archive.\n  Linux unpacks it over the installed `aarambh` Plymouth theme, so Plymouth\n  shows exactly that frame and animates the dots where Aarambh left them.\n  Changing the theme needs no initramfs rebuild and works for every OS.\n- **Plymouth starts immediately.** `ShowDelay=0` is set. On distributions using\n  initramfs-tools (Debian, Ubuntu, Mint, ...) with Intel graphics, the `i915`\n  driver is added to the initramfs so the graphics mode is ready early.\n\n\u003C\u002Fdetails>\n\n---\n\n## Supported systems\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Distributions and what is detected\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n`hooks\u002Fsetup.sh` detects everything from the running system; nothing is\nhard-coded per distribution.\n\n| Detected                | How                                                        |\n|-------------------------|------------------------------------------------------------|\n| Distribution            | `ID`, `ID_LIKE` and `NAME` from `\u002Fetc\u002Fos-release`          |\n| EFI partition           | vfat mounted at `\u002Fboot\u002Fefi`, `\u002Fefi` or `\u002Fboot`, or `bootctl --print-esp-path` |\n| Boot loader             | GRUB (`\u002Fetc\u002Fdefault\u002Fgrub` + `update-grub`\u002F`grub-mkconfig`\u002F`grub2-mkconfig`), otherwise systemd-boot |\n| Kernel list             | BLS entries (Fedora family, systemd-boot) or kernel files in `\u002Fboot` |\n| GRUB menu ids           | Read from the generated `grub.cfg`, so they match your distribution exactly |\n| Microcode               | `intel-ucode.img`, `amd-ucode.img` and the other images GRUB knows, joined in front of the initramfs |\n| Initramfs generator     | initramfs-tools, dracut, mkinitcpio or booster             |\n| Kernel update hooks     | Whatever this system runs: initramfs-tools, kernel-install, mkinitcpio, `\u002Fetc\u002Fkernel\u002Fpostinst.d`, Void's `kernel.d`, GRUB |\n| OS loader on the ESP    | The `\\EFI\\\u003Cdir>\\` whose `grub.cfg` points at this system, then `\\EFI\\\u003CID>\\`, then `--loader` |\n\n| Family               | Examples                                         | Status |\n|----------------------|--------------------------------------------------|--------|\n| Debian               | Debian, Ubuntu, Linux Mint, Pop!_OS, elementary, Zorin, Kali, deepin | Supported |\n| Fedora \u002F Red Hat     | Fedora, RHEL, CentOS Stream, Rocky               | Supported |\n| openSUSE             | Tumbleweed, Leap, Slowroll                       | Supported |\n| Arch                 | Arch, Manjaro, EndeavourOS, Garuda, CachyOS, Artix | Supported (GRUB or systemd-boot) |\n| Independent          | Gentoo, Void                                     | Supported |\n| NixOS                | NixOS                                            | Menu entry through autodetect only; `setup.sh` does not run on NixOS's read-only `\u002Fetc` |\n| Windows              | Windows 10, 11                                   | Menu entry through autodetect |\n\nUbuntu and Fedora are tested on real hardware. Every family above is covered\nby the automated tests in `tests\u002Fhooks\u002F` (`make test`), which run `setup.sh`\nand `uninstall.sh` against simulated installations. If something does not\nwork on your distribution, please open an issue with the report from\n`aarambh-debug` (or `make debug`).\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Hardware and firmware\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n| Machine                                        | Status        |\n|------------------------------------------------|---------------|\n| 64-bit x86 PC (`x86_64`, Intel or AMD), 64-bit UEFI | Supported |\n| ARM64 (`aarch64`): Raspberry Pi, Apple Silicon, Snapdragon, ARM servers | Not supported |\n| 32-bit x86 (`i686`)                            | Not supported |\n| 64-bit CPU with 32-bit UEFI firmware           | Not supported |\n| RISC-V                                         | Not supported |\n| Legacy BIOS \u002F CSM boot                         | Not supported |\n| Secure Boot on                                 | Supported, through the distribution's shim (or sbctl keys) |\n\n`aarambh.efi` is built for `x86_64` UEFI only (`Makefile`: `ARCH := x86_64`),\nand the loaders it looks for (`shimx64.efi`, `grubx64.efi`,\n`systemd-bootx64.efi`) are the x86_64 ones. `make` and `scripts\u002Finstall.sh`\nstop with an error on any other machine.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Distribution ids for logos\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nEach OS uses `logos\u002F\u003Cid>.png`, `backgrounds\u002F\u003Cid>.jpg` and `plymouth\u002F\u003Cid>\u002F`,\nwhere `\u003Cid>` is the `ID=` value from `\u002Fetc\u002Fos-release`. Check yours with:\n\n```sh\ngrep -E '^(ID|ID_LIKE)=' \u002Fetc\u002Fos-release\n```\n\nEvery OS below ships with its own logo (from `assets\u002Fcustom\u002F`), wallpaper and\nPlymouth theme, named and colored in `assets\u002Fdistros.conf`:\n\n| id | Distribution | id | Distribution |\n|----|--------------|----|--------------|\n| `ubuntu` | Ubuntu | `opensuse-tumbleweed` | openSUSE Tumbleweed |\n| `debian` | Debian | `opensuse-leap` | openSUSE Leap |\n| `linuxmint` | Linux Mint | `opensuse-slowroll` | openSUSE Slowroll |\n| `pop` | Pop!_OS | `arch` | Arch Linux |\n| `elementary` | elementary OS | `manjaro` | Manjaro |\n| `zorin` | Zorin OS | `endeavouros` | EndeavourOS |\n| `kali` | Kali Linux | `garuda` | Garuda Linux |\n| `deepin` | deepin | `cachyos` | CachyOS |\n| `fedora` | Fedora | `artix` | Artix Linux |\n| `rhel` | Red Hat Enterprise Linux | `gentoo` | Gentoo |\n| `centos` | CentOS Stream | `void` | Void Linux |\n| `rocky` | Rocky Linux | `nixos` | NixOS |\n| `windows` | Windows (autodetected) | `linux` | Any other Linux found through GRUB |\n\nAny other distribution still works: add `assets\u002Fcustom\u002F\u003Cid>-logo.svg` and a line\nin `distros.conf` (see **Custom logos** under *Using Aarambh*).\n\nAutodetected `systemd-boot` and `refind` entries have no logo of their own.\n\nKubuntu, Xubuntu and Lubuntu report `ID=ubuntu` and use the Ubuntu look.\nAn OS without a logo is shown with the first letter of its name and its accent\ncolor, so a missing logo never breaks the menu.\n\n\u003C\u002Fdetails>\n\n---\n\n## What the installer changes\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Why does Aarambh need root (sudo)?\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nEvery step that needs root, and why:\n\n| Action                                         | Why root is needed                               |\n|------------------------------------------------|--------------------------------------------------|\n| Copy files to the EFI partition                | It is mounted read-only for normal users         |\n| Create the \"Aarambh\" boot entry (`efibootmgr`) | Writes firmware NVRAM variables                  |\n| Install scripts to `\u002Fusr\u002Flocal` and `\u002Fetc`     | System directories                               |\n| Edit `\u002Fetc\u002Fdefault\u002Fgrub`, regenerate `grub.cfg`| System boot loader configuration                 |\n| Install the Plymouth theme, rebuild initramfs  | System boot files                                |\n| Enable `aarambh-clear.service`, `aarambh-shutdown-splash.service` | System-wide systemd units          |\n| Sign Aarambh and kernels, ask shim to enroll the key (`mokutil`) | The signing key is root-only; enrollment writes firmware variables |\n\n`make` (the build) and `make test` never need root. Only `scripts\u002Finstall.sh`,\n`hooks\u002Fsetup.sh` and `hooks\u002Funinstall.sh` use `sudo`.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>See every change before it happens (\u003Ccode>--dry-run\u003C\u002Fcode>)\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n```sh\n.\u002Fscripts\u002Finstall.sh --dry-run\nsudo bash \u002Fboot\u002Fefi\u002FEFI\u002Faarambh\u002Fhooks\u002Fsetup.sh --dry-run\n```\n\nBoth print what they detected and every command and file write they would\nmake, without changing anything.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>What \u003Ccode>scripts\u002Finstall.sh\u003C\u002Fcode> does\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nRun once, from the OS you install from:\n\n1. Checks the system booted in UEFI mode and finds the EFI partition.\n2. Builds `build\u002Faarambh.efi` with `make`.\n3. Removes files left by older Aarambh versions from `\\EFI\\aarambh\\`. Nothing\n   outside that folder is touched.\n4. Copies `aarambh.efi`, `distros.conf`, `fonts\u002F`, `logos\u002F`, `backgrounds\u002F`,\n   `plymouth\u002F` and `hooks\u002F` into `\\EFI\\aarambh\\`. An existing `aarambh.conf`\n   is kept, because it holds the entries of your other systems; use\n   `--reset-config` to replace it with the default.\n5. Runs `hooks\u002Fsetup.sh` for the current OS, which also signs Aarambh for\n   Secure Boot (see **Secure Boot** under *Safety and recovery*).\n6. Creates a firmware boot entry named **Aarambh** with `efibootmgr`. It\n   starts shim when Aarambh is signed, `aarambh.efi` otherwise. An existing\n   entry with the same path is kept, one with another path is replaced.\n   `efibootmgr` puts a new entry first in `BootOrder`. Your existing boot\n   entries stay.\n\n7. With `--theme` or `--default`, sets them in `aarambh.conf` through the\n   `aarambh` command.\n\nOptions: `--dry-run`, `--reset-config`, `--theme \u003Cname>`, `--default \u003Cos>`,\nplus any `setup.sh` option. `make install THEME=\u003Cname> DEFAULT=\u003Cos>` passes the\nlast two through.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>What \u003Ccode>hooks\u002Fsetup.sh\u003C\u002Fcode> does\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nRun once on **each** Linux installation that Aarambh boots.\n\n1. Detects the distribution, EFI partition, boot loader, initramfs generator\n   and the OS loader on the ESP, and prints them.\n2. Writes `\u002Fetc\u002Faarambh.env` with those results.\n3. Installs the helper scripts (see the next section).\n4. Installs the refresh trigger into every kernel hook directory this system\n   uses.\n5. Installs and enables `aarambh-clear.service` and\n   `aarambh-shutdown-splash.service` (systemd only).\n6. Adds or updates this OS's line in `aarambh.conf`.\n7. GRUB only: makes GRUB silent (see **GRUB changes** below).\n8. initramfs-tools only: `MODULES=dep` and, with Intel graphics, `i915`.\n9. Installs the Plymouth theme for this distribution, if Plymouth is\n   installed and a theme exists for its id.\n10. Rebuilds the initramfs (only when steps 8 or 9 changed something) and\n    regenerates `grub.cfg`.\n11. Runs `aarambh-kernels` once and prints the kernel list.\n12. Secure Boot: picks the signing key, copies shim and MokManager next to\n    Aarambh, signs `aarambh.efi` and the direct-boot kernel and, with Secure\n    Boot on and an untrusted key, asks shim to enroll it and prints the\n    password.\n\nEvery file it creates is listed in `\u002Fetc\u002Faarambh\u002Fmanifest`. Every system file\nit edits is first copied to `\u003Cfile>.aarambh-backup`.\n\nOptions:\n\n| Option                          | Effect                                         |\n|---------------------------------|------------------------------------------------|\n| `--dry-run`                     | Print the changes, change nothing              |\n| `--no-plymouth`                 | Leave the boot splash alone                    |\n| `--loader '\\EFI\\\u003Cdir>\\\u003Cfile>.efi'` | Use this loader when detection cannot find it |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Scripts, hooks and the systemd service it installs\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n| Installed file                                  | Installed on                  | Runs when                                | What it does |\n|-------------------------------------------------|-------------------------------|------------------------------------------|--------------|\n| `\u002Fusr\u002Flocal\u002Fsbin\u002Faarambh-kernels`               | every system                  | Called by the triggers below             | Writes `\u003Cos>.kernels` on the ESP, keeps the direct-boot copy current, updates `utc_offset` |\n| `\u002Fusr\u002Flocal\u002Flib\u002Faarambh\u002F*.sh`                   | every system                  | Sourced by `aarambh-kernels`             | Kernel discovery (BLS and `\u002Fboot` scan), cmdline, ESP copy |\n| `\u002Fetc\u002Fgrub.d\u002F01_aarambh`                        | GRUB systems                  | Every GRUB config regeneration           | Refreshes the list and adds the snippet that applies `next-\u003Cos>.cfg` |\n| `\u002Fetc\u002Finitramfs\u002Fpost-update.d\u002Fzz-aarambh`       | initramfs-tools               | After every initramfs update             | Refresh trigger |\n| `\u002Fetc\u002Fkernel\u002Finstall.d\u002F99-aarambh.install`      | systems with `kernel-install` | After a kernel is added or removed       | Refresh trigger |\n| `\u002Fetc\u002Finitcpio\u002Fpost\u002Faarambh`                    | mkinitcpio                    | After every initramfs build              | Refresh trigger |\n| `\u002Fetc\u002Fkernel\u002Fpostinst.d\u002Fzzz-aarambh`, `postrm.d\u002Fzzz-aarambh` | systems with these folders | After kernel install\u002Fremoval, after GRUB updates | Refresh trigger |\n| `\u002Fetc\u002Fkernel.d\u002Fpost-install\u002F99-aarambh`         | Void                          | After a kernel install                   | Refresh trigger |\n| `\u002Fusr\u002Flocal\u002Fbin\u002Faarambh`                        | every system                  | When you run it                          | Sets theme, default OS and timeout in `aarambh.conf` |\n| `\u002Fusr\u002Flocal\u002Fbin\u002Faarambh-debug`                  | every system                  | When you run it                          | Writes a debug report to your home folder, changes nothing |\n| `\u002Fusr\u002Flocal\u002Fsbin\u002Faarambh-clear`                 | systemd systems               | Called by the service below              | Empties `next-\u003Cos>.cfg`, runs `aarambh-sign` |\n| `\u002Fusr\u002Flocal\u002Fsbin\u002Faarambh-sign`                  | every system                  | At every start, after apt and pacman updates, when you run it | Copies a newer shim next to Aarambh, asks shim to enroll the key once Secure Boot is on; `--password` shows the MokManager password |\n| `\u002Fetc\u002Fapt\u002Fapt.conf.d\u002F99aarambh`                 | apt systems booting through shim | After every apt run                   | Runs `aarambh-sign` |\n| `\u002Fetc\u002Fpacman.d\u002Fhooks\u002Faarambh-shim.hook`         | pacman systems booting through shim | After a shim package update        | Runs `aarambh-sign` |\n| `\u002Fvar\u002Flib\u002Faarambh\u002Fkeys\u002F`                        | systems without a reusable key | Read when signing                       | Aarambh's own signing key and the MokManager password, root-only |\n| `\u002Fetc\u002Fsystemd\u002Fsystem\u002Faarambh-clear.service`     | systemd systems               | Once per boot                            | Makes a one-time kernel choice last for one boot only; copies the themed restart and shutdown frames into the Plymouth theme |\n| `\u002Fetc\u002Fsystemd\u002Fsystem\u002Faarambh-shutdown-splash.service` | systemd systems that return to the initramfs at shutdown (dracut, mkinitcpio) | At restart and shutdown | Gives the shutdown initramfs the current Aarambh splash, so Plymouth keeps the theme until power off |\n| `\u002Fetc\u002Faarambh.env`                              | every system                  | Read by all scripts above                | Detected OS id, ESP, boot loader, signing key and shim |\n| `\u002Fetc\u002Faarambh\u002Fmanifest`                         | every system                  | Read by `uninstall.sh`                   | List of everything to undo |\n\nThe refresh trigger is `hooks\u002Ftriggers\u002Faarambh-refresh`. It ends with\n`|| true; exit 0`, so a problem in Aarambh never breaks a kernel update.\nKernel updates need no action from you.\n\nWithout systemd the one-time choice is still reset: Aarambh rewrites\n`next-\u003Cos>.cfg` on every boot it starts.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>GRUB changes\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nGRUB stays installed and keeps working. Aarambh only makes it silent. The\noriginal is saved as `\u002Fetc\u002Fdefault\u002Fgrub.aarambh-backup` before the first\nchange.\n\nAll GRUB systems:\n\n| Setting        | New value | Reason                              |\n|----------------|-----------|-------------------------------------|\n| `GRUB_TIMEOUT` | `0`       | GRUB passes through without waiting |\n\nGRUB systems without BLS (Debian, Ubuntu, Arch, openSUSE, Gentoo, ...):\n\n| Setting                   | New value     | Reason                                         |\n|---------------------------|---------------|------------------------------------------------|\n| `GRUB_TIMEOUT_STYLE`      | `hidden`      | No menu flash                                  |\n| `GRUB_TERMINAL_OUTPUT`    | `console`     | No GRUB graphics mode switch                   |\n| `GRUB_GFXPAYLOAD_LINUX`   | `keep`        | Kernel keeps the firmware framebuffer          |\n| `GRUB_DISABLE_OS_PROBER`  | `true`        | Aarambh already lists every OS                 |\n| `GRUB_RECORDFAIL_TIMEOUT` | `0`           | No 30-second menu after an unclean shutdown    |\n| `GRUB_THEME`, `GRUB_GFXMODE`, `GRUB_SAVEDEFAULT` | commented out | Would show or switch screens |\n\nTo reach the GRUB menu after installing, hold **Esc** or **Shift** while GRUB\nstarts, or pick the distribution's own entry from your firmware boot menu.\n\nsystemd-boot systems: `loader.conf` is not changed. Aarambh sets\n`LoaderEntryOneShot` when it hands over, so systemd-boot boots the chosen entry.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>What Aarambh stores on the EFI partition\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n```\n\\EFI\\aarambh\\\n├── aarambh.efi                  The boot menu\n├── aarambh.conf                 Menu configuration (one line per OS)\n├── distros.conf                 Names and colors of known distributions\n├── fonts\\  logos\\  backgrounds\\ Menu assets\n├── plymouth\\\u003Cid>\\               Boot splash themes\n├── hooks\\                       Copy of the repo's hooks\u002F for the other systems\n├── linux\\\u003Cid>\\vmlinuz           Copy of the newest kernel (direct boot)\n├── linux\\\u003Cid>\\initrd.img        Its initramfs, with microcode in front\n├── \u003Cid>.kernels                 Kernel list written by aarambh-kernels\n└── next-\u003Cid>.cfg                One-time GRUB kernel choice, usually empty\n```\n\nNothing is written outside `\\EFI\\aarambh\\`. The direct-boot copy is the\nlargest item. Before copying, `aarambh-kernels` checks that at least 8 MB of\nthe ESP stays free. If the kernel does not fit, it deletes `linux\\\u003Cid>\\`,\nprints a warning and that OS boots through its own loader instead. Systems\nwhose kernels already live on the ESP (systemd-boot, ESP mounted at `\u002Fboot`)\nneed no copy at all.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>What \u003Ccode>aarambh.efi\u003C\u002Fcode> can and cannot do at boot\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nAt boot time Aarambh:\n\n- reads files inside `\\EFI\\aarambh\\`, kernel files named in `\u003Cid>.kernels`,\n  and the folder names under `\\EFI\\` (for autodetect)\n- writes only `next-\u003Cid>.cfg`, the restart and shutdown splash images under\n  `shutdown\\` and `wc.state` on the ESP\n- maps the framebuffer write-combining while the menu runs, and puts the\n  firmware's memory types back before it starts any system\n- writes firmware variables only when you act: `OsIndications` when you choose\n  **Firmware**, `LoaderEntryOneShot` when it hands over to systemd-boot\n- has no network code and sends nothing anywhere\n\nIt cannot read your Linux partitions. Kernels for direct boot are either\nalready on the ESP or copies made by the hook while Linux was running.\n\n\u003C\u002Fdetails>\n\n---\n\n## Safety and recovery\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Secure Boot\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nAarambh works with Secure Boot on. Nothing has to be set up by hand. For the\none-time key enrollment, screen by screen with screenshots, and every question\nabout the password, see **[docs\u002FSECURE_BOOT.md](docs\u002FSECURE_BOOT.md)**.\n\n```\nFirmware (trusts Microsoft's keys)\n  → shimx64.efi          your distribution's shim, signed by Microsoft\n  → grubx64.efi          Aarambh, signed with your Machine Owner Key (MOK)\n  → menu\n  → Linux: the kernel is checked by shim, then started directly\n  → Windows: bootmgfw.efi, signed by Microsoft\n```\n\n**How it is set up.** `setup.sh` finds a shim on the EFI partition (this OS's\nfirst, then any other distribution's) and copies it, with MokManager, into\n`\\EFI\\aarambh\\`. It signs `aarambh.efi` and saves it as the file shim starts\n(`grubx64.efi`, or `grub.efi` with openSUSE's shim). `install.sh` then points\nthe **Aarambh** boot entry at that shim.\n\n**Which key.** A key your PC already trusts is reused when shim accepts it\nfor boot loaders. Shim refuses any key marked for kernel modules only\n(extended key usage `1.3.6.1.4.1.2312.16.1.2`), and the driver keys Ubuntu and\nDKMS create are marked that way, so those are skipped:\n\n| Key                                             | Comes from | Used for Aarambh |\n|-------------------------------------------------|------------|------------------|\n| `\u002Fvar\u002Flib\u002Fshim-signed\u002Fmok\u002FMOK.der`              | Ubuntu, Debian (made for DKMS drivers such as NVIDIA) | Only if not marked for modules |\n| `\u002Fetc\u002Fpki\u002Fakmods\u002Fcerts\u002Fpublic_key.der`          | Fedora akmods | Only if not marked for modules |\n| `\u002Fvar\u002Flib\u002Fdkms\u002Fmok.pub`                         | DKMS 3 | Only if not marked for modules |\n| `\u002Fvar\u002Flib\u002Faarambh\u002Fkeys\u002Faarambh.der`             | Made by Aarambh when none of the above can be used | Always |\n\n**The one-time step.** When the key is not trusted yet, `setup.sh` asks shim\nto enroll it and prints a random 8-digit password. At the next restart a blue\n**Perform MOK management** screen appears: **Enroll MOK → Continue → Yes**,\ntype the password, **Reboot**. The password is only digits because MokManager\nreads every keyboard as a US layout, and the digit keys are in the same place\non all layouts. It is kept root-only in `\u002Fvar\u002Flib\u002Faarambh\u002Fkeys\u002Fmok-password`;\n`sudo aarambh-sign --password` shows it again. If you miss the screen, nothing\nbreaks: shim cannot start Aarambh, the firmware moves on to your OS's own boot\nentry, and the screen comes back at the next restart.\n\n**Kernels.** Aarambh asks shim to check every kernel and loader it starts, the\nsame check GRUB uses. Distribution kernels pass, kernels signed with your MOK\nkey pass, anything else is refused and Aarambh shows **\"Blocked by Secure\nBoot\"** and starts your OS's own boot loader instead. The kernel copy made for\ndirect boot is signed with the OS's key, so every Linux on the disk boots\ndirectly, whichever distribution's shim started Aarambh. Kernel updates are\nsigned automatically.\n\n**Turning Secure Boot on later.** Aarambh is signed even with Secure Boot off.\nIf you turn it on and the key is not enrolled yet, the PC starts your OS's own\nboot loader once, `aarambh-sign` notices at that start and asks shim to enroll\nthe key, and the blue screen appears at the following restart. Read the\npassword with `sudo aarambh-sign --password` before you restart.\n\n**Shim updates.** `aarambh-sign` copies a newer shim and MokManager next to\nAarambh after apt and pacman updates and at every start, so shim updates and\nSBAT revocations reach Aarambh's copy too.\n\n**sbctl.** Without shim, keys you enrolled with `sbctl` are used, and the\nfirmware checks Aarambh and the kernels directly.\n\n**Removing the key.** `uninstall.sh --purge` asks shim to remove Aarambh's own\nkey (never a DKMS, akmods or shim-signed key) at the next restart: **Delete MOK\n→ Continue → Yes**, with the password it prints.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>If Aarambh does not start or shows an error\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nYour old boot path is never removed:\n\n1. Open your firmware boot menu (often **F12**, **F8**, **F11** or **Esc** at\n   power on, depending on the vendor).\n2. Choose your distribution's own entry (`ubuntu`, `fedora`, `GRUB`,\n   `Linux Boot Manager`, ...). That starts its loader exactly as before.\n3. Once in Linux, fix or remove Aarambh (see below).\n\nIf a system fails to start from the menu, Aarambh shows **\"Could not start\nthis system\"** and returns to the menu instead of hanging.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Smooth animation (write-combining)\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nBefore an OS starts, firmware leaves the screen memory uncached, so a full\nframe on a high resolution panel can take over 100 ms to show. Aarambh maps\nthe framebuffer write-combining through the CPU's page attribute table, the\nway Linux does once it runs, and restores the firmware's memory types before\nit starts any system.\n\nThe first boot after installing records its progress in\n`\\EFI\\aarambh\\wc.state`:\n\n| `wc.state`    | Meaning |\n|---------------|---------|\n| `trying`      | First attempt is running |\n| `ok`          | Frames were shown with write-combining; used on every boot |\n| `failed`      | A boot found `trying` left over (the attempt hung), so it stays off |\n| `unsupported` | The CPU or firmware cannot use it (no PAT, CET, 5-level paging) |\n\nIf the menu ever hangs on that first boot, hold the power button: the next boot\nturns write-combining off by itself. Delete `wc.state` to try again.\n\n`scripts\u002Finstall.sh` adds `write_combining no` inside virtual machines other\nthan QEMU\u002FKVM and on Apple or coreboot firmware, where it is untested. Add\n`write_combining no` or `yes` to `aarambh.conf` yourself to override it.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Uninstall\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nOn each Linux installation that ran `setup.sh`:\n\n```sh\nsudo bash \u002Fboot\u002Fefi\u002FEFI\u002Faarambh\u002Fhooks\u002Funinstall.sh\n```\n\nThis removes its menu entry, its files on the ESP, every file listed in\n`\u002Fetc\u002Faarambh\u002Fmanifest`, restores every `*.aarambh-backup` (GRUB defaults,\nPlymouth and initramfs settings), switches the Plymouth theme back, and\nregenerates the initramfs and `grub.cfg`.\n\nOn the last installation, add `--purge` to also delete `\\EFI\\aarambh\\` and the\n\"Aarambh\" firmware boot entry:\n\n```sh\nsudo bash \u002Fboot\u002Fefi\u002FEFI\u002Faarambh\u002Fhooks\u002Funinstall.sh --purge\n```\n\nBoth accept `--dry-run`. `make uninstall` runs the first command from the repo.\n\n\u003C\u002Fdetails>\n\n---\n\n## Using Aarambh\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Keyboard\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n| Key                 | Action                         |\n|---------------------|--------------------------------|\n| Left \u002F Right        | Switch entry                   |\n| 1 - 9, Home, End    | Jump to entry                  |\n| Enter \u002F Space       | Start                          |\n| Down, then Enter    | Open advanced options          |\n| Up \u002F Down           | Choose a kernel in the list    |\n| Esc \u002F Backspace     | Close advanced options         |\n| E                   | Edit boot options (see below)  |\n\nThemes that list OSes vertically swap the arrows: Up \u002F Down switch entry and\nRight opens the kernel list. Every theme shows the keys that work right now\nat the bottom of the screen. Any key press stops the countdown.\n\n**Editing boot options (E).** Like GRUB's `e`, E opens the kernel command line\nof the selected entry, or of the kernel highlighted in the list, for one boot.\n\n| Key in the editor   | Action                                    |\n|---------------------|-------------------------------------------|\n| Enter               | Boot with the edited command line         |\n| Esc                 | Cancel                                    |\n| Ctrl+R              | Restore the original command line         |\n| Left \u002F Right, Home \u002F End | Move the cursor                      |\n| Backspace \u002F Delete  | Delete before \u002F at the cursor             |\n\nNothing is saved: the next boot uses the normal command line again. To change\nit for good, see **Kernel command line for direct boot**. E works only for\nkernels Aarambh starts itself; Windows, Firmware and entries booted through\nGRUB do not show it (use GRUB's own `e` there). An edited boot never falls\nback to GRUB, because that would silently drop the edit.\n\nAnyone at the keyboard can use E to boot with `init=\u002Fbin\u002Fbash` and get a root\nshell, as with an unprotected GRUB. Turn it off with `edit no` in\n`aarambh.conf`.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Configuration (\u003Ccode>aarambh.conf\u003C\u002Fcode>)\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nThe file lives at `\\EFI\\aarambh\\aarambh.conf` and is read at every boot.\n`setup.sh` adds one `entry` line per Linux installation; you can edit titles,\ncolors and order by hand.\n\n```\ntheme accordion\ntimeout 10\ndefault ubuntu\nautodetect yes\n\nentry Ubuntu    | \\EFI\\ubuntu\\shimx64.efi | logos\u002Fubuntu.png   | backgrounds\u002Fubuntu.jpg   | ubuntu | #e95420\nentry Firmware  | @firmware               | logos\u002Fsettings.png | backgrounds\u002Fsettings.jpg |        | #8a90a8\n```\n\n| Key            | Meaning                                               |\n|----------------|-------------------------------------------------------|\n| `theme`        | Theme name, see **Themes** below                      |\n| `timeout`      | Seconds before the default entry starts, `0` disables |\n| `default`      | Default entry: OS id (`ubuntu`, `fedora`, `windows`), menu title, or index starting at 0 |\n| `autodetect`   | `yes` adds loaders found under `\\EFI\\` (Windows, other OSes) |\n| `edit`         | `yes` (default) lets E edit boot options, `no` turns it off |\n| `write_combining` | `yes` (default) maps the screen write-combining for smooth animation, `no` keeps the firmware's slower path (see **Smooth animation** under *Safety and recovery*) |\n| `font_light`, `font_regular`, `font_bold`, `font_mono` | TTF paths     |\n| `utc_offset`   | Written by the hooks, e.g. `+0530`                    |\n| `entry`        | `title \\| loader \\| logo \\| background \\| key \\| accent` |\n\nLoaders can also be `@firmware`, `@reboot` or `@shutdown`. An entry whose\nloader file does not exist is skipped. Operating systems are always listed\nbefore Firmware, Restart and Power Off.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Plymouth and themes\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n`setup.sh` installs one Plymouth theme, `aarambh`, on each OS. At every direct\nboot Aarambh replaces its background, dots and script for that boot only, with\nthe launch splash of the theme set in `aarambh.conf`. Nothing on the disk\nchanges and the archive lives only in RAM (about 3 MB at 1280x800, 6 MB at\n1920x1080).\n\nRestart and shutdown follow the theme too. Plymouth runs from the OS's own\ndisk then, so when a Linux entry starts after a theme or resolution change,\nAarambh writes that OS's \"Restarting\" and \"Shutting down\" frames to\n`\\EFI\\aarambh\\shutdown\\` (about 4 MB at 1280x800, 8 MB at 1920x1080 per\nOS). `aarambh-clear`, which runs at every boot, copies them into the installed\n`aarambh` Plymouth theme. No initramfs rebuild is needed. A shutdown right\nafter `aarambh --theme`, before booting once with the new theme, still shows\nthe old look.\nWithout these files Plymouth falls back to the splash `setup.sh` installed.\nOn systems that return to the initramfs at shutdown (dracut, used by Fedora\nand Ubuntu 25.10 and later, or mkinitcpio's shutdown ramfs), Plymouth reloads\nits theme from that initramfs copy late in the shutdown.\n`aarambh-shutdown-splash.service` copies the current theme into it first, so\nthe themed splash stays until power off.\n\nLimits:\n\n- Only direct boots get the themed boot splash. A boot that falls back to\n  GRUB shows the theme that `setup.sh` installed (restart and shutdown still\n  follow the theme).\n- After a theme change, restart and shutdown keep the old look until the OS\n  has booted once with the new theme: the frames are drawn by Aarambh at\n  boot and copied by `aarambh-clear` while the OS starts. So\n  `aarambh --theme cinema` followed straight by a shutdown still shows the\n  previous theme; every shutdown after the next boot shows Cinema.\n- The frame is drawn at the firmware's screen resolution. If Plymouth runs at\n  a different aspect ratio, the frame is scaled to cover the screen.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Command line (\u003Ccode>aarambh\u003C\u002Fcode>)\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n`setup.sh` installs `\u002Fusr\u002Flocal\u002Fbin\u002Faarambh` on every connected OS. Run it as\na normal user: the EFI partition is readable only by root, so it asks for your\npassword through `sudo` by itself. It edits\n`\\EFI\\aarambh\\aarambh.conf` on the shared EFI partition, so a change made from\nUbuntu also applies when you boot from Fedora, and the other way round.\n\n```sh\naarambh --themes                      # list themes, * marks the current one\naarambh --theme cinema                # switch theme\naarambh --list                        # list menu entries, * marks the default\naarambh --default fedora              # boot Fedora by default\naarambh --default windows             # works for autodetected loaders too\naarambh --timeout 5                   # 5 second countdown, 0 disables it\naarambh -t cinema -d ubuntu -T 3      # several at once\naarambh                               # show theme, default and timeout\n```\n\n`--default` takes the OS id (the `ID=` from `\u002Fetc\u002Fos-release`), the menu\ntitle, or an index. An id or title keeps pointing at the same OS when a new\ninstallation adds an entry and the order changes; an index does not.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Custom logos\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n1. Find the id of the distribution (see **Distribution ids for logos**).\n2. Save the logo as `assets\u002Fcustom\u002F\u003Cid>-logo.svg` (or `.png`). A single-color\n   logo on a transparent background looks best; it is turned into a white\n   logo like the built-in ones.\n3. Run `make assets`. This creates `logos\u002F\u003Cid>.png`, `backgrounds\u002F\u003Cid>.jpg`\n   (in the distribution's color from `assets\u002Fdistros.conf`) and\n   `plymouth\u002F\u003Cid>\u002F`.\n4. Run `make install` again to copy them to the ESP, then\n   `sudo bash \u002Fboot\u002Fefi\u002FEFI\u002Faarambh\u002Fhooks\u002Fsetup.sh` on that distribution to\n   install its Plymouth theme.\n\nEach `plymouth\u002F\u003Cid>\u002F` folder holds only images. The Plymouth script and theme\nfile exist once, in `assets\u002Fplymouth\u002Ftemplate\u002F`; `make install` copies them\ninto every OS folder on the ESP, so a script change reaches every OS without\ntouching the folders.\n\n`assets\u002Fcustom\u002Fubuntu-logo.svg` replaces a built-in logo the same way. A\ndistribution missing from `distros.conf` can be added there with one line.\n\nNeeds `imagemagick`, DejaVu fonts and `librsvg2-bin` (`rsvg-convert`).\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Boot splash on Arch-based systems\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nmkinitcpio only includes Plymouth when its hook is enabled, and Aarambh does\nnot edit `mkinitcpio.conf` for you. To get the splash:\n\n1. Add `plymouth` to `HOOKS` in `\u002Fetc\u002Fmkinitcpio.conf`, after `udev` (or\n   `systemd`).\n2. Add `splash` to your kernel command line (in `\u002Fetc\u002Fdefault\u002Fgrub` or your\n   systemd-boot entry).\n3. Run `sudo mkinitcpio -P` and `sudo \u002Fusr\u002Flocal\u002Fsbin\u002Faarambh-kernels`.\n\n`setup.sh` prints a reminder when the hook is missing.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Kernel command line for direct boot\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n- BLS systems (Fedora family, systemd-boot): the `options` of each entry.\n- Other systems: the command line of the running kernel, without\n  `BOOT_IMAGE=`, `initrd=` and recovery-only options.\n\nTo use a fixed command line instead, write it to `\u002Fetc\u002Faarambh\u002Fcmdline` and run\n`sudo aarambh-kernels`. Recovery mode always starts through GRUB.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Themes\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nList them with `make themes` in the source folder, or `aarambh --themes`\nonce installed (it marks the current one with `*`). Choose a theme when\ninstalling (`make install THEME=cinema`), later with\n`aarambh --theme cinema`, or by editing the `theme` line in\n`aarambh.conf`. Every theme works with any number of systems, shows the kernel\nlist and has its own launch splash and matching Plymouth splash.\n\n| Screenshot | `theme` | Look | Switch OS |\n|---|---|---|---|\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Faccordion.jpg\" width=\"280\" alt=\"Accordion\"> | `accordion` | **Accordion**: Default. Panels expand and collapse, each OS in its own wallpaper | Left \u002F Right |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Fminimal.jpg\" width=\"280\" alt=\"Minimal\"> | `minimal` | **Minimal**: Small example theme for theme authors | Left \u002F Right |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Fglass-sidebar.jpg\" width=\"280\" alt=\"Glass Sidebar\"> | `glass-sidebar` | **Glass Sidebar**: Frosted list on the left, ice cyan on deep blue | Up \u002F Down |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Feditorial.jpg\" width=\"280\" alt=\"Editorial\"> | `editorial` | **Editorial**: Light theme: magazine layout, ink and vermilion on cream paper | Up \u002F Down |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Feditorial-dark.jpg\" width=\"280\" alt=\"Editorial Dark\"> | `editorial-dark` | **Editorial Dark**: The same magazine layout, cream ink and vermilion on warm black, easy on the eyes at night | Up \u002F Down |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Fcinema.jpg\" width=\"280\" alt=\"Cinema\"> | `cinema` | **Cinema**: Letterbox and filmstrip in golden-hour amber | Left \u002F Right |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Fhoneycomb.jpg\" width=\"280\" alt=\"Honeycomb\"> | `honeycomb` | **Honeycomb**: Honey hexagon tiles | Left \u002F Right |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Fconstellation.jpg\" width=\"280\" alt=\"Constellation\"> | `constellation` | **Constellation**: Each OS is a star in an indigo sky | Left \u002F Right |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Fpicker-wheel.jpg\" width=\"280\" alt=\"Picker Wheel\"> | `picker-wheel` | **Picker Wheel**: Spinning wheel picker in graphite and mint | Up \u002F Down |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Fdial.jpg\" width=\"280\" alt=\"Dial\"> | `dial` | **Dial**: Watch dial and needle, copper on racing green | Left \u002F Right |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Fhud.jpg\" width=\"280\" alt=\"HUD\"> | `hud` | **HUD**: Sci-fi target lock, lime on black | Up \u002F Down |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Fdepartures.jpg\" width=\"280\" alt=\"Departures\"> | `departures` | **Departures**: Airport split-flap board, white flaps and sky blue on charcoal; letters flip when the selection changes | Up \u002F Down |\n| \u003Cimg src=\"docs\u002Fscreenshots\u002Fgallery.jpg\" width=\"280\" alt=\"Gallery\"> | `gallery` | **Gallery**: Cover flow of wallpaper cards that turn and reflect on a dark floor | Left \u002F Right |\n\nIn themes switched with Up \u002F Down, Right opens the kernel list. In the others,\nDown opens it (Accordion, Minimal and Gallery: Down, then Enter).\n\nPlymouth always continues the current theme's launch splash, with no\ninitramfs rebuild when you switch (see **Plymouth and themes**). A boot that\nfalls back to GRUB shows the Accordion-style splash installed by `setup.sh`.\n\nA theme only draws; the core handles config, input, countdown, animation\nstate and booting. See [docs\u002FTHEMES.md](docs\u002FTHEMES.md) to write your own. The\nsmallest working example is `src\u002Fthemes\u002Fminimal\u002Fminimal.c`.\n\n\u003C\u002Fdetails>\n\n---\n\n## Development\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Requirements\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n| Purpose           | Debian \u002F Ubuntu                              | Fedora                                  | Arch                                   |\n|-------------------|----------------------------------------------|-----------------------------------------|----------------------------------------|\n| Build             | `build-essential gnu-efi curl`               | `gcc make gnu-efi-devel curl`           | `base-devel gnu-efi curl`              |\n| Install           | `efibootmgr`                                 | `efibootmgr`                            | `efibootmgr`                           |\n| Secure Boot (installed by `setup.sh` when needed) | `shim-signed sbsigntool mokutil openssl` | `shim-x64 sbsigntools mokutil openssl` | `sbsigntools openssl` (with `sbctl` keys) |\n| `make test`       | `bash coreutils openssl sbsigntool`          | `bash coreutils openssl sbsigntools`    | `bash coreutils openssl sbsigntools`   |\n| Test in QEMU      | `qemu-system-x86 ovmf mtools dosfstools`     | `qemu-system-x86 edk2-ovmf mtools dosfstools` | `qemu-desktop edk2-ovmf mtools dosfstools` |\n| Test in QEMU with Secure Boot (`make qemu SECURE_BOOT=1`) | the QEMU row plus `shim-signed sbsigntool openssl python3-virt-firmware` | the QEMU row plus `shim-x64 sbsigntools openssl python3-virt-firmware` | the QEMU row plus `sbsigntools openssl`, and `pipx install virt-firmware`; pass `SHIM=` and `MOK_MANAGER=` from another distribution |\n| Regenerate assets | `imagemagick fonts-dejavu-core librsvg2-bin` | `ImageMagick dejavu-sans-fonts librsvg2-tools` | `imagemagick ttf-dejavu librsvg`  |\n\nEverything at once on Debian or Ubuntu:\n\n```sh\nsudo apt install build-essential gnu-efi curl efibootmgr \\\n    shim-signed sbsigntool mokutil openssl \\\n    qemu-system-x86 ovmf mtools dosfstools python3-virt-firmware\n```\n\n`make test` skips the Secure Boot scenario when `sbsign` or `openssl` is\nmissing, and `make qemu SECURE_BOOT=1` names the package it is missing.\n\nTested with gnu-efi 3.0.15 (Ubuntu 24.04 package) and gnu-efi 4.0.x.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Build and test\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n```sh\nmake            # build\u002Faarambh.efi\nmake test       # setup.sh \u002F uninstall.sh against simulated distributions\nmake qemu       # boot the menu in QEMU with sample entries\nmake assets     # regenerate logos, backgrounds and Plymouth themes\nmake clean\n```\n\n- `make test` creates fake Ubuntu (also with Secure Boot on), Fedora, Arch\n  (GRUB and systemd-boot), openSUSE, Void and an unknown Ubuntu derivative in\n  a temporary folder, with\n  stub commands, and compares the results with `tests\u002Fhooks\u002Fexpected\u002F`.\n  Nothing on your system is touched. `UPDATE=1 make test` rewrites the\n  expected files after an intended change.\n- `make qemu` builds a throwaway ESP image in `build\u002Fqemu\u002F` with Ubuntu and\n  Fedora entries plus fake Debian and Windows loaders for autodetect. It never\n  touches your real ESP. `tests\u002Fqemu\u002Frun.sh --no-kvm` works without KVM.\n- `make qemu SECURE_BOOT=1` (`tests\u002Fqemu\u002Frun.sh --secure-boot`) boots it like\n  a real PC with Secure Boot on: OVMF with Microsoft's keys, your installed\n  shim, and Aarambh signed with a throwaway key that is already in MOK. It\n  needs `sbsigntool`, `openssl` and `virt-fw-vars` (`python3-virt-firmware`,\n  or `pip install virt-firmware`). Pass `SHIM=\u003Cfile>` and\n  `MOK_MANAGER=\u003Cfile>` when they are not found on their own.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Project layout\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n```\naarambh\u002F\n├── Makefile\n├── config\u002Faarambh.conf         Default menu configuration\n├── include\u002Faarambh\u002F            Public API for themes (theme.h, widgets.h, theme_kit.h, gfx\u002F)\n├── src\u002F\n│   ├── main.c                  UEFI entry point\n│   ├── core\u002F                   App state, config, entries, autodetect, input, theme registry\n│   ├── boot\u002F                   Launcher, direct Linux boot, initrd, one-shot, power actions\n│   ├── efi\u002F                    File system, video, timer, loaded image\n│   ├── gfx\u002F                    Software renderer\n│   ├── ui\u002F                     Widget implementations\n│   ├── lib\u002F                    Freestanding memory, string and math helpers\n│   └── themes\u002F                 accordion (default), minimal (example) and 9 more\n├── third_party\u002Fstb\u002F            stb_image and stb_truetype\n├── assets\u002F\n│   ├── distros.conf            Known distributions: id, name, colors\n│   ├── custom\u002F                 Your logos (\u003Cid>-logo.svg)\n│   └── fonts\u002F logos\u002F backgrounds\u002F plymouth\u002F\n├── hooks\u002F\n│   ├── setup.sh                Connect a Linux installation\n│   ├── uninstall.sh            Undo setup.sh\n│   ├── bin\u002F                    aarambh-kernels, aarambh-clear, aarambh-sign\n│   ├── lib\u002F                    Detection, kernel lists, GRUB, Plymouth, initramfs\n│   ├── triggers\u002F               aarambh-refresh (kernel hook)\n│   ├── grub\u002F                   01_aarambh\n│   ├── systemd\u002F                aarambh-clear.service, aarambh-shutdown-splash.service\n│   └── apt\u002F, pacman\u002F           Copy shim updates next to Aarambh\n├── scripts\u002F                    install.sh, make-assets.sh\n├── tests\u002F\n│   ├── hooks\u002F                  Simulated distributions for setup\u002Funinstall\n│   └── qemu\u002F                   Boot the menu in a virtual machine\n├── docs\u002FTHEMES.md              Writing a theme\n├── docs\u002FSECURE_BOOT.md         Installing with Secure Boot on, screen by screen\n└── docs\u002Fscreenshots\u002F           One screenshot per theme, secure-boot\u002F for the guide\n```\n\n\u003C\u002Fdetails>\n\n---\n\n## Troubleshooting\n\nKnown build and install problems, with the fix for each.\n\n\u003Cdetails open>\n\u003Csummary>\u003Cb>Reporting a problem: the debug report\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nBoot the system normally (if Aarambh does not get you there, use the\nfirmware boot menu, see *Safety and recovery*), then run:\n\n```sh\naarambh-debug          # installed by setup.sh\nmake debug             # from the source folder, also works if the install did not finish\n```\n\nIt asks for your password, changes nothing, and saves\n`~\u002Faarambh-debug-\u003Cdate>.txt`. The first lines are a summary marked\n`[PROBLEM]`, `[NOTE]` and `[OK]`; the rest is the raw data behind them:\n\n| Checked                 | What it looks at |\n|-------------------------|------------------|\n| Platform                | CPU architecture, UEFI or BIOS, 32\u002F64-bit firmware, Secure Boot |\n| Secure Boot             | Signing mode, signatures of `aarambh.efi` and the direct-boot kernel, the file shim starts, shim and MokManager next to Aarambh, whether the boot entry starts shim, whether the key is enrolled |\n| Installation            | `\u002Fetc\u002Faarambh.env`, the `aarambh` command and whether it is in your `PATH`, sudo's `secure_path` |\n| EFI partition           | `\\EFI\\aarambh\\` files, `aarambh.conf`, the kernel lists, free space, the menu entry for this OS |\n| Direct boot             | Whether the copied kernel still has its modules in `\u002Flib\u002Fmodules`, `root=` points at a real filesystem, the initrd is not empty |\n| Firmware entries        | `efibootmgr -v`, whether this boot went through Aarambh, whether the entry points at the mounted ESP |\n| GRUB, initramfs         | `\u002Fetc\u002Fdefault\u002Fgrub` and its changes, `MODULES=`, mkinitcpio `HOOKS`, whether the Aarambh Plymouth theme is inside the initramfs |\n| Plymouth, graphics      | Selected theme, `splash` on the command line, GPU and driver, NVIDIA modesetting, encrypted disks |\n| Logs                    | Errors and graphics\u002Fboot lines of this boot **and the previous one**, failed units, `setup.sh --dry-run` |\n\nYour user name and host name are replaced with `\u003Cuser>` and `\u003Chost>`. Read\nthe file before you attach it to an\n[issue](https:\u002F\u002Fgithub.com\u002FNarkAgni\u002Faarambh\u002Fissues\u002Fnew).\n\nIf the summary says logs of earlier boots are not kept, turn them on, reproduce\nthe problem once, and run it again:\n\n```sh\nsudo mkdir -p \u002Fvar\u002Flog\u002Fjournal && sudo systemctl restart systemd-journald\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>\u003Ccode>aarambh: command not found\u003C\u002Fcode> after installing\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Causes:**\n\n1. Version 0.1.0 installed the command to `\u002Fusr\u002Flocal\u002Fsbin`, which is not in\n   a normal user's `PATH` on Debian, openSUSE and some other distributions.\n2. `.\u002Fscripts\u002Finstall.sh --theme ...` in 0.1.0 passed `--theme` on to\n   `setup.sh`, which stopped before installing anything for this OS.\n3. `setup.sh` stopped with an error (for example\n   `could not find the EFI loader`), so it never reached the step that\n   installs the command.\n\n**Fix:** pull the latest version and run the installer again. It now installs\n`aarambh` and `aarambh-debug` to `\u002Fusr\u002Flocal\u002Fbin` and removes the old copy:\n\n```sh\ncd aarambh && git pull\nmake install\n```\n\nOn every other Linux on the same disk, run `setup.sh` again (see *Quick\nstart*). If it still fails, run `make debug`.\n\nRun `aarambh` **without** `sudo`; it asks for your password itself. On\nFedora\u002FRHEL-like systems `sudo aarambh` can still say *command not found*,\nbecause sudo there only searches `\u002Fusr\u002Fbin` and `\u002Fusr\u002Fsbin`. The full path\nalways works: `sudo \u002Fusr\u002Flocal\u002Fbin\u002Faarambh`.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Black screen after installing\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**First, get back into Linux:**\n\n1. Wait about a minute. If the disk is encrypted, the black screen may be\n   the password prompt: type the password and press **Enter**, or press\n   **Esc** to show the text prompt.\n2. Otherwise hold the power button to switch off, power on and open the\n   firmware boot menu (**F12**, **F8**, **F11** or **Esc**). Choose your\n   distribution's own entry (`ubuntu`, `fedora`, ...). That boots the way it\n   did before Aarambh.\n\n**Then run `aarambh-debug`** (or `make debug`) and attach the report. It\nreads the log of the boot that went black. The usual causes, all of which it\nchecks:\n\n| Summary line                                      | Fix |\n|---------------------------------------------------|-----|\n| NVIDIA driver without `nvidia-drm.modeset=1`      | `echo 'options nvidia-drm modeset=1' \\| sudo tee \u002Fetc\u002Fmodprobe.d\u002Fnvidia-drm-modeset.conf`, then rebuild the initramfs (below) |\n| Direct-boot kernel has no modules in `\u002Flib\u002Fmodules` | `sudo \u002Fusr\u002Flocal\u002Fsbin\u002Faarambh-kernels` copies the current kernel again |\n| `root=` points to a filesystem that does not exist | Write the full, correct command line to `\u002Fetc\u002Faarambh\u002Fcmdline`, then `sudo \u002Fusr\u002Flocal\u002Fsbin\u002Faarambh-kernels` |\n| No Aarambh Plymouth theme inside the initramfs    | Rebuild it: `sudo update-initramfs -u` (Debian, Ubuntu), `sudo dracut -f` (Fedora, openSUSE) or `sudo mkinitcpio -P` (Arch). The direct-boot copy is refreshed automatically |\n| `MODULES=dep` and the root disk is not found      | Set `MODULES=most` in `\u002Fetc\u002Finitramfs-tools\u002Finitramfs.conf`, then `sudo update-initramfs -u` |\n| Secure Boot is on but Aarambh is not signed       | Install your distribution's shim package (`shim-signed`, `shim-x64`, `shim`), then run `setup.sh` again |\n| The signing key is not enrolled                   | `sudo aarambh-sign`, then restart and enroll it in MokManager |\n\nTo go back to the old boot completely, see **Uninstall** under *Safety and\nrecovery*.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>\u003Ccode>'gEfiLoadFile2ProtocolGuid' redeclared as different kind of symbol\u003C\u002Fcode>\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n```\n\u002Fusr\u002Finclude\u002Fefi\u002Fefilib.h:108:27: error: 'gEfiLoadFile2ProtocolGuid' redeclared as different kind of symbol\n  108 | #define LoadFile2Protocol gEfiLoadFile2ProtocolGuid\nsrc\u002Fboot\u002Finitrd.c:11:3: note: in expansion of macro 'LoadFile2Protocol'\n```\n\n**Cause:** gnu-efi 4.x defines `LoadFile2Protocol` as a macro in `efilib.h`.\nAny type or variable with that name gets replaced by the GUID symbol.\n\n**Fix:** fixed in `src\u002Fboot\u002Finitrd.c`, where the protocol struct is now named\n`InitrdLoadFile2`. In new code, do not name anything after gnu-efi protocol\naliases (`LoadFile2Protocol`, `LoadedImageProtocol`, `DevicePathProtocol`,\n`GraphicsOutputProtocol`, ...).\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>\u003Ccode>crt0-efi-x86_64.o not found\u003C\u002Fcode> \u002F \u003Ccode>elf_x86_64_efi.lds not found\u003C\u002Fcode>\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** gnu-efi is not installed.\n\n**Fix:** install it with the command for your distribution in **Quick start**.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>\u003Ccode>Permission denied\u003C\u002Fcode> when running a script\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** the executable bit was lost when the files were downloaded or\ncopied from a FAT partition.\n\n**Fix:**\n\n```sh\nchmod +x scripts\u002F*.sh tests\u002F*\u002Frun.sh hooks\u002F*.sh hooks\u002Fbin\u002F* hooks\u002Ftriggers\u002F* hooks\u002Fgrub\u002F01_aarambh\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>\u003Ccode>this system was booted in legacy BIOS mode\u003C\u002Fcode> \u002F \u003Ccode>no EFI system partition found\u003C\u002Fcode>\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** the machine booted in BIOS (CSM) mode, or the ESP is not mounted.\n\n**Fix:** check with `ls \u002Fsys\u002Ffirmware\u002Fefi` (must exist) and `findmnt -t vfat`.\nSwitch the firmware to UEFI mode, or mount the ESP. If it is mounted somewhere\nother than `\u002Fboot\u002Fefi`, `\u002Fefi` or `\u002Fboot`, run with\n`AARAMBH_ESP=\u002Fyour\u002Fmountpoint`.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>\u003Ccode>could not find the EFI loader of ...\u003C\u002Fcode>\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** `setup.sh` could not tell which folder under `\\EFI\\` belongs to this\ninstallation (for example a custom `grub-install --bootloader-id`, or a boot\nloader other than GRUB and systemd-boot).\n\n**Fix:** look at the folders and pass the right file:\n\n```sh\nls \u002Fboot\u002Fefi\u002FEFI\u002F*\u002F\nsudo bash \u002Fboot\u002Fefi\u002FEFI\u002Faarambh\u002Fhooks\u002Fsetup.sh --loader '\\EFI\\MyLinux\\grubx64.efi'\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>\u003Ccode>not enough space on the EFI partition, direct boot disabled\u003C\u002Fcode>\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** the newest kernel and initramfs do not fit on the ESP with 8 MB to\nspare.\n\n**Effect:** nothing breaks. That OS boots through its own loader instead.\n\n**Fix:** free space on the ESP or make the initramfs smaller (initramfs-tools:\n`MODULES=dep` is already set; dracut: `hostonly=\"yes\"`), then run\n`sudo aarambh-kernels`.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Two installations show the same entry, or one is missing\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** both use the same `ID` (for example two Ubuntu installs) or the same\n`\\EFI\\\u003Cdir>\\` (Linux Mint also installs into `\\EFI\\ubuntu\\`).\n\n**Fix:** pass a different loader with `--loader`, or edit the two `entry` lines\nin `aarambh.conf` by hand.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Blue screen: \u003Ccode>Verification failed: (0x1A) Security Violation\u003C\u002Fcode>\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** Secure Boot is on and shim does not trust the key Aarambh is\nsigned with yet. Shim then opens MokManager.\n\n**Fix:** pick **Continue boot** (or wait); the firmware starts your OS's own\nboot entry. In the OS run:\n\n```sh\nsudo aarambh-sign             # asks shim to enroll the key\nsudo aarambh-sign --password  # the password MokManager will ask for\n```\n\nRestart and choose **Enroll MOK → Continue → Yes**, type the password,\n**Reboot**.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>\u003Ccode>Verification failed: (0x1A) Security Violation\u003C\u002Fcode> right after enrolling the key\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** Aarambh 0.1.3 before this fix could pick Ubuntu's DKMS key\n(`\u002Fvar\u002Flib\u002Fshim-signed\u002Fmok\u002FMOK.der`). That key is marked for kernel modules,\nand shim refuses boot loaders signed with it even when it is enrolled.\n`aarambh-debug` reports it as a kernel-module key.\n\n**Fix:** update Aarambh and run `make install` again. It makes a key of its\nown, signs Aarambh with it and asks shim to enroll it; enroll it at the next\nrestart as before. The DKMS key stays enrolled, which is fine: your drivers\nkeep using it.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>The blue \u003Ci>Perform MOK management\u003C\u002Fi> screen comes back at every restart\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** the enrollment was not confirmed (the screen timed out, or\n**Continue boot** was picked), and with Secure Boot on Aarambh asks again at\nevery start, because shim cannot start it without the key.\n\n**Fix:** at the next restart choose **Enroll MOK → Continue → Yes** and type\nthe password from `sudo aarambh-sign --password`. If you would rather not use\nSecure Boot, turn it off in the firmware setup; Aarambh keeps working and\nstops asking.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>MokManager says the password is wrong\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** an old password, or the number keys on the numeric keypad with\nNum Lock off.\n\n**Fix:** read the current one with `sudo aarambh-sign --password` and type it\nwith the number row above the letters. After three wrong tries MokManager\nrestarts the PC; the request stays and the screen comes back.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>The menu says \u003Ci>Blocked by Secure Boot\u003C\u002Fi>\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** shim refused the kernel or loader of that entry: it is signed with\na key the PC does not trust, or not signed at all. Aarambh then starts the OS's\nown boot loader.\n\n**Fix:** run `setup.sh` once on that OS, so its kernel copy is signed with its\nkey. For a custom kernel, sign it with your MOK key, or let `aarambh-kernels`\ncopy and sign it.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>\u003Ccode>sbsigntools and mokutil could not be installed\u003C\u002Fcode>\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Cause:** `setup.sh` found shim and tried to install the signing tools with\nyour package manager, which failed (no network, or a package name it does not\nknow).\n\n**Fix:** install them yourself and run `setup.sh` again:\n\n| Distribution        | Command |\n|---------------------|---------|\n| Debian, Ubuntu      | `sudo apt install sbsigntool mokutil` |\n| Fedora              | `sudo dnf install sbsigntools mokutil` |\n| openSUSE            | `sudo zypper install sbsigntools mokutil` |\n| Arch                | `sudo pacman -S sbsigntools mokutil` |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>\u003Ccode>Cou","Aarambh 是一款面向 Linux 的图形化 UEFI 启动菜单，用于替代 GRUB 或 systemd-boot。它提供 13 种内置全屏动画主题，支持与 Plymouth 开机动画无缝衔接，避免启动过程中的黑屏断层；基于 C 和 GNU-EFI 开发，兼容 UEFI 安全启动，自动识别同盘多系统（含 Windows）及多发行版共存场景。适用于追求启动视觉一致性与用户体验优化的 x86_64 架构桌面\u002F笔记本 Linux 用户。",2,"2026-11-24 04:39:50","CREATED_QUERY"]