return
}
+function vt_check_compatible_linux {
+ if vt_str_begin "$vt_volume_id" "embootkit"; then
+ set ventoy_compatible=YES
+ fi
+
+ return
+}
+
function locate_initrd {
vt_linux_locate_initrd
elif [ "$vtoy_os" = "Unix" ]; then
uefi_unix_menu_func "$1" "${chosen_path}"
else
+ vt_check_compatible_linux (loop)
uefi_linux_menu_func "$1" "${chosen_path}"
fi
elif [ "$vtoy_os" = "Unix" ]; then
legacy_unix_menu_func "$1" "${chosen_path}"
else
+ vt_check_compatible_linux (loop)
legacy_linux_menu_func "$1" "${chosen_path}"
fi
}