I have a machine running Ubuntu Server that has been presenting some HD-related problems. Instead of reinstalling and reconfiguring everything (and to save time) we'd like to copy everything from the current hard drive to a new one and start using it. We only have a single hard drive with a main partition and a swap partition.
What tools or methods would you recommend for replacing a hard drive with minimum difficulty and chance of problems?
Thank you.
fdisk -l
andvgdisplay
. Is the new hard drive already in the machine?