My ZCASH jammed in block 4532 with balance. So is it possible to copy wallet.dat from root folder and install ubuntu again and then zcash and after successful installation copy that wallet.dat to root folder again? I dont want to lose my keys so thats why.
I can only suggest you back up everything including to another directory. Then follow the solutions I posted here
Back up everything just to be safe.