Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions pages/linux/limine-bios-install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# limine-bios-install

> Install the Limine bootloader on a disk for BIOS systems.
> This command writes the bootloader stages to a specified disk or image file.
> More information: <https://codeberg.org/Limine/Limine/src/branch/trunk/USAGE.md#biosmbr>.

- Install Limine to an MBR-partitioned disk:

`limine bios-install {{/dev/sdX}}`

- Install Limine to a GPT-partitioned disk with a specific BIOS boot partition:

`limine bios-install {{/dev/sdX}} {{partition_number}}`

- Install Limine to a disk image file:

`limine bios-install {{path/to/image.iso}}`
17 changes: 17 additions & 0 deletions pages/linux/limine-enroll-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# limine-enroll-config

> Embed or reset the BLAKE2B hash of `limine.conf` in the Limine EFI executable.
> This is used to ensure the configuration file has not been tampered with when Secure Boot is enabled.
> More information: <https://codeberg.org/Limine/Limine/src/branch/trunk/USAGE.md#secure-boot>.

- Embed a config file's BLAKE2B hash into the Limine EFI executable:

`limine-enroll-config {{path/to/BOOTX64.EFI}} {{blake2b_hash}}`

- Remove an enrolled hash from the executable, disabling the config integrity check:

`limine-enroll-config --reset {{path/to/BOOTX64.EFI}}`

- Display the help message:

`limine-enroll-config --help`
28 changes: 28 additions & 0 deletions pages/linux/limine-entry-tool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# limine-entry-tool

> A helper script to manage (create, update, or delete) Limine bootloader entries on UEFI systems.
> More information: <https://gitlab.com/Zesko/limine-entry-tool/-/blob/master/README.md>.

- Scan for other active UEFI boot entries and add them to the Limine menu:

`limine-entry-tool --scan`

- Add a new kernel boot entry with an initramfs and a kernel file:

`limine-entry-tool --add "{{kernel_name}}" "{{path/to/initramfs}}" "{{path/to/vmlinuz}}"`

- Add a new Unified Kernel Image (UKI) boot entry:

`limine-entry-tool --add-uki "{{kernel_name}}" "{{path/to/uki.efi}}"`

- Remove a kernel boot entry and its associated files from the ESP:

`limine-entry-tool --remove "{{kernel_name}}"`

- Remove an entire OS entry by its name or machine-ID:

`limine-entry-tool --remove-os "{{OS_name|machine_id}}"`

- Add an EFI boot entry for an alternative bootloader (e.g., Windows):

`limine-entry-tool --add-efi "{{EFI entry name}}" "{{path/to/loader.efi}}"`
9 changes: 9 additions & 0 deletions pages/linux/limine-scan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# limine-scan

> This command is an alias of `limine-entry-tool --scan`.
> Scan for other active UEFI boot entries and add them to the Limine menu.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to include these extra bits in an alias page

> More information: <https://gitlab.com/Zesko/limine-entry-tool/-/blob/master/README.md>.

- View documentation for the original command:

`tldr limine-entry-tool`
25 changes: 25 additions & 0 deletions pages/linux/limine-snapper-sync.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# limine-snapper-sync

> Synchronize Limine boot menu entries with Btrfs snapshots managed by Snapper.
> This tool is part of the `limine-snapper-sync` AUR package.
> More information: <https://gitlab.com/Zesko/limine-snapper-sync/-/blob/master/README.md>.

- Manually synchronize Snapper snapshots to create boot entries in Limine:

`limine-snapper-sync`

- List the current snapshot entries managed by Limine:

`limine-snapper-list`

- Display detailed information about bootable snapshots and their files:

`limine-snapper-info`

- Restore the system from a selected bootable snapshot:

`limine-snapper-restore`

- Start the watcher process to monitor for Snapper snapshot changes:

`limine-snapper-watcher`
29 changes: 29 additions & 0 deletions pages/linux/limine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# limine

> An advanced, portable, multiprotocol bootloader.
> Some tools such as `limine-bios-install`, `limine-install`, and `limine-update` have their own usage documentation.
> More information: <https://limine-bootloader.org/>.

- Install Limine on a disk for legacy BIOS systems:

`limine bios-install {{/dev/sdX}}`

- Install Limine for modern UEFI systems (requires the `limine-entry-tool` package):

`limine-install`

- Update boot entries after a kernel upgrade (requires the `limine-entry-tool` package):

`limine-update`

- Scan for other operating systems to add to the boot menu (requires the `limine-entry-tool` package):

`limine-scan`

- Synchronize Btrfs snapshots from Snapper to the boot menu (requires the `limine-snapper-sync` package):

`limine-snapper-sync`

- Enroll the configuration file's hash into the EFI binary for Secure Boot:

`limine-enroll-config {{path/to/BOOTX64.EFI}} {{blake2b_hash}}`