Failing hard drive

I get errors on boot but it still works. smartctl says it’s fine but I don’t trust it. It’s ext4. My installation includes many added modifications. How can I copy/clone to another drive and then boot from it?

Thanks in advance.

You’re listed here as a ‘Wise Penguin,’ ionmich, which suggests that you’re a more experienced Linux user than I am … but, that said, if it were my computer, for ext4 drives and legacy bios I would:

  • Use Clonezilla to make disk copies of the partitions on the failing drives.

  • Use gparted to create identical partitions on the replacement drive

  • Copy the partitions from old to new with Clonezilla.

  • Re-install grub on the new disk from the openSUSE DVD.

Clonezilla also can make whole disk copies, but I have no personal experience with swapping drives that way. I found Clonezilla to be unreliable with btrfs, although I haven’t given it a trial with btrfs for a long time.

Thanks for the response. I have never used Clonezilla so I thought I might use dd on the whole drive. Slow but I can wait. It’s the grub re-install I was not sure of. Then I found a utility called gnu_ddrescue which I will try.