Skip to content

Commit

Permalink
add partition regex and additional path to EFI environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Aug 1, 2023
1 parent f718319 commit b4e8967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ menuentry "Boot OS from first partition on first disk" {

if [ "$grub_platform" = "efi" ]; then

for d in (hd*); do
for cfg in efi/debian/grub.cfg boot/grub/grub.cfg ; do
for d in (hd*,gpt*); do
for cfg in efi/debian/grub.cfg grub/grub.cfg boot/grub/grub.cfg ; do
if [ -e "$d/$cfg" ]; then
found=true
echo "FOUND $d/$cfg"
Expand Down

0 comments on commit b4e8967

Please sign in to comment.