Use dd to create an image of the drive. Or if it is already having problems try dd_rescue.
A quick google will show you what to do, but an example might be.
Find the drive: sudo fdisk -l
Clone the drive: dd if=/dev/sda of=disk.img
Once you have a replacement drive you can clone it back.