I would recommend creating an image to another drive such as a USB-connected drive and then restoring from that image. If the source drive is failing then focus on backing up any important data first.
It would be worth you reviewing the switch options before you start, in case you need to use any of them to capture any unusual boot block configurations, etc.