I don’t really have time to read all this generated content.
If you’ve messed up the filesystem in any way, you should…
First – try to restore StartOS while maintaining data:
i) Start9 | Flashing Guides
ii) Start9 | Use an Existing Data Drive
If that doesn’t work…
Second –
i) Start9 | Flashing Guides
ii) Wipe the system
iii) Restore from backups