Disclaimer: First of all backup your system before launching you in any hazardous operation, some of the operations to come…