mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 00:11:15 +00:00
Support Lenovo EasyStartup
This commit is contained in:
@@ -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}"
|
||||
|
Reference in New Issue
Block a user