Win 11 is UEFI boot only. Check if your current Win10 is legacy or UEFI boot.
Use the CMD command bcdedit under Administrator mode to see if the path ends with efi to determine if it is UEFI or not.
Upgrading legacy Windows to UEFI Win11 needs to convert MBR to GPT, it may or may not succeed. Follow Microsoft guildline in Microsoft forum for the conversion and upgrade. If the upgrade is not successful, please perform a clean installation.