SemiRestore supports 32 & 64 Bit Linux (Ubuntu 14.04 or a higher equivilent distro).
Windows users must have iTunes, and .NET 3.5 or higher installed.
Linux users must have libimobiledevice, GTK 3, and libssh2 installed (which should be by default).
Linux users must read the README file
There may be a better way to fix your current problem. For example, to fix "Safe Mode" issues, you can just uninstall Mobile Substrate from Cydia.
Like any other restore, make sure you backup your data if you want it later.
Avoid using your iOS device or anything related to iTunes or XCode during the Semi-Restore. Why not actually go outside?
This process can not and does not repair broken system files! Avoid all Siri Ports, as they are not only illegal (except for Spire on 5.0.1) but they also create problems and may potentially break system files (even Spire can cause this).
Your device will respring or reboot several times during the Semi-Restore. This is perfectly normal, so don't panic.
FAQ
Can I use this to go from firmware x to firmware y?
No, this only allows you to go to a fresh version of your current firmware.
Do I need SHSH blobs or APTickets for this semi-restore?
No, since this is not a full restore and is at the userland level, this doesn't require blobs.
I have a question regarding the jailbreak process or jailbreaking in general.
CoolStar is in no way responsible for damages for the semi-restore. Although it has been tested thoroughly, some configurations which may contain damaged system files or illegal Siri Ports may cause the semi-restore to fail. If semi-restore doesn't work, your best bet would be to just do a regular ol' restore.