OP wrote:
"Do you think that the problem can be becouse I have a system on an external mini SD card?"
In my experience, Catalina and Big Sur WILL NOT INSTALL onto USB flash drives, so they probably won't install onto SD cards, either. I can't answer for Mojave, never tried installing it to a USB flash drive.
You probably need a REAL EXTERNAL DRIVE on which to install, such as:
- an external USB3 SSD
or
- an external USB platter-based hard drive.
Get rid of the SD card, get an actual "hard drive", and start over.