Support Lenovo EasyStartup

This commit is contained in:
longpanda
2021-08-23 16:56:17 +08:00
parent 112c557428
commit 05e208ea2a
8 changed files with 194 additions and 0 deletions

View File

@@ -761,6 +761,8 @@ function ventoy_reset_nojoliet {
else
vt_iso9660_nojoliet 0
fi
vt_append_extra_sector 0
}
function uefi_iso_menu_func {
@@ -787,6 +789,12 @@ function uefi_iso_menu_func {
else
set ventoy_fs_probe=iso9660
ventoy_reset_nojoliet
# Lenovo EasyStartup need an addional sector for boundary check
if vt_str_begin "$vt_volume_id" "EasyStartup"; then
vt_skip_svd "${vtoy_iso_part}${vt_chosen_path}"
vt_append_extra_sector 1
fi
fi
loopback loop "${1}${chosen_path}"