Errors when trying to install endeavouros in a pendrive using a virtual machine

when i do online installation this is the logs:
and when i do offline these are the logs:

i have the virtual machine set as using a virtual disk with endeavouros iso on it, and set the installation to the pendrive to delete the partition and replace with endeavouros, this is the first time im trying to install linux and i know its probably not the recommended way of doing it for a beginner, but i dont have two pendrives and i wanna be able to just plug it on my laptop and run it, the pendrive has 32gb of space if that matters

In both cases, it is a hitting a situation where it is failing to write to the target disk.