Skip to content
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

Update grub2.rb to add On UEFI Systems, grub.cfg #21

Merged
merged 1 commit into from
Apr 12, 2016

Conversation

stivesso
Copy link
Contributor

@stivesso stivesso commented Apr 8, 2016

On UEFI Systems, grub.cfg will be located at: /boot/efi/EFI/distribution/grub.cfg
For example, On RedHat UEFI-based systems, the configuration file is /boot/efi/EFI/redhat/grub.cfg.
/etc/grub2-efi.cfg is a symlink to that EFI File and that's the one I modified to avoid the following error on UEFI RHEL7 Systems and update grub configuration
Could not evaluate: Cannot find grub.cfg location to use with grub-mkconfig

On UEFI Systems, grub.cfg will be located at: /boot/efi/EFI/<distribution>/grub.cfg
For example, On RedHat UEFI-based systems, the configuration file is /boot/efi/EFI/redhat/grub.cfg.
/etc/grub2-efi.cfg is a symlink to that EFI File and that's the one that was added to fix the following error on RHEL7
Could not evaluate: Cannot find grub.cfg location to use with grub-mkconfig
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.226% when pulling 16e587f on stivesso:master into 36d0789 on hercules-team:master.

@trevor-vaughan
Copy link
Contributor

👍 Looks like a reasonable change to me.

@raphink raphink merged commit 16e587f into voxpupuli:master Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants