This needs some more detail about what you are doing or what you are trying to do.
As a guess (perhaps a bad one), perhaps you are trying to upgrade a system with legacy booting but you booted the installer to UEFI mode. Or perhaps the reverse of that.