“Yes” for Linux, “No” for Windows.
To OP: “backup + full reinstallation + restoring user’s data” is the best way IMHO.