Add support for rEFInd boot manager #3707
Open
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.
This fixes #1951.
PR Description:
This PR simply adds support for rEFInd boot manager. I've checked all the places where the boot managers are called to make sure I didn't miss anything.
I've also followed the Arch Wiki page about rEFInd to make sure I made the installation function correct.
Before accepting the PR, I'd like an opinion about a small issue I noticed. I didn't know this but per the Arch Wiki, rEFInd is supposed to use the distro logo but after the installation is finished, it uses the Tux logo. After checking the partitions, it's as it says there,
the root partition is of type Linux x86-64 root (/) instead of Linux filesystem
. But the installation guide suggests usingLinux x86-64 root (/)
. The Wiki also shows two other fixes, but I don't know if the label can be changed in the rEFInd installation step and copying the distro image seems easy, tho I don't know if it's the best solutionIs this and issue that can be fixed?
Just a note for the future, I'd also like to include refind-btrfs, like grub includes grub-btrfs, to show BTRFS snapshots as boot options, but refind-btrfs isn't in the extra repository.
Tests and Checks