11-27-2021, 04:54 PM
Is ventoy_wimboot.img required to be in the ventoy directory of the first partition of the ventoy USB? I copy the ventoy_wimboot.img to the ventoy directory of the 32mb EFI partition of the ventoy USB, is there any error. Because in grub.cfg ventoy_wimboot.img is not required to be in the ventoy directory of the first partition of the ventoy USB, because the command:
if [ -f $vtoy_iso_part/ventoy/ventoy_wimboot.img ]; then
vt_load_wimboot $vtoy_iso_part/ventoy/ventoy_wimboot.img
elif [ -f $vtoy_efi_part/ventoy/ventoy_wimboot.img ]; then
vt_load_wimboot $vtoy_efi_part/ventoy/ventoy_wimboot.img
fi
if [ -f $vtoy_iso_part/ventoy/ventoy_wimboot.img ]; then
vt_load_wimboot $vtoy_iso_part/ventoy/ventoy_wimboot.img
elif [ -f $vtoy_efi_part/ventoy/ventoy_wimboot.img ]; then
vt_load_wimboot $vtoy_efi_part/ventoy/ventoy_wimboot.img
fi