-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
limine*: add pages #18621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
limine*: add pages #18621
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}}"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
> More information: <https://gitlab.com/Zesko/limine-entry-tool/-/blob/master/README.md>. | ||
|
||
- View documentation for the original command: | ||
|
||
`tldr limine-entry-tool` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}}` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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