grub2: patch for ext234
This commit is contained in:
@@ -55,12 +55,12 @@ WINDOWS_EFI=$(/usr/sbin/efibootmgr -v | grep -E -m 1 '(WINDOWS|Windows Boot Mana
|
||||
if [ -z "$WINDOWS_EFI" ]; then
|
||||
exit 0
|
||||
fi
|
||||
WIN_EFI_PATH_LINUX=/EFI/Microsoft/Boot/bkpbootmgfw.efi
|
||||
WIN_EFI_PATH_LINUX=/EFI/Microsoft/Boot/bootmgfw.efi
|
||||
|
||||
#Determine EFI UUID
|
||||
WIN_EFI_UUID=$(grub2-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi)
|
||||
WIN_EFI_UUID=$(grub2-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi)
|
||||
|
||||
ESP_SEARCH_HINTS=$(grub2-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi)
|
||||
ESP_SEARCH_HINTS=$(grub2-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi)
|
||||
|
||||
cat << EOF
|
||||
menuentry "Windows Boot Manager" {
|
||||
@@ -71,9 +71,9 @@ cat << EOF
|
||||
insmod fat
|
||||
insmod search_fs_uuid
|
||||
insmod chain
|
||||
search --fs-uuid --set=root --hint-bios --hint-efi --hint-baremetal ${ESP_SEARCH_HINTS} ${WIN_EFI_UUID}
|
||||
search --fs-uuid --set=root ${ESP_SEARCH_HINTS} ${WIN_EFI_UUID}
|
||||
chainloader $WIN_EFI_PATH_LINUX
|
||||
}
|
||||
EOF
|
||||
|
||||
fi
|
||||
fi
|
||||
@@ -89,7 +89,7 @@
|
||||
|
||||
<History>
|
||||
<Update release="10">
|
||||
<Date>2017-12-06</Date>
|
||||
<Date>2017-12-25</Date>
|
||||
<Version>2.02</Version>
|
||||
<Comment>Patch for ext234.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
|
||||
Reference in New Issue
Block a user