What are you trying to install exactly? Since there’s no image of StartOS v0.3.5.1 in existence for a Pi 5, you’re certainly installing something that is not compatible and will fail every time.
If you need to use a Pi 5, consider using the latest alpha test release of v0.4.0, which does support a Pi 5. Or wait until the Beta release.