My current system:
Dual boot openSuse 13.1 and openSuse 12.3
sda1 300 MB - FAT - no label - mounted as /boot/efi
sda2 55 GB - ext4 - suse131-root - mounted as /
sda3 55 GB - ext4 - suse123-root - not mounted now
sdb1 31 GB - swap - swap - mounted as swap
sbd2 31 GB - ext4 - suse131-tmp - mounted as /tmp
sdb3 31 GB - ext4 - suse131-var - mounted as /var
sbd4 850 GB - ext4 - suse131-home - mounted as /home
sbd5 32 GB - ext4 - suse123-tmp -
sbd6 32 GB - ext4 - suse123-var -
sbd7 855 GB - ext4 - suse123-home -
fstab is using /dev/disk/by-path/pci-0000:00:11.0-scsi-X:0:0:0:0-partX. I would be careful to create the first 4 matching partitions in the same order.
Reason for my thread: sdb4 has come up with 2 corrupted files. I no longer trust it.
What I want to do: (obviously) replace sdb with a new drive.
Specifics: sdb is currently a Seagate Barracuda 2 TB drive, relatively new, but as I said showing file corruption. I have purchased a Western Digital VelociRaptor 1 TB drive which is rated as a continuous duty, 10,000 rpm long life drive.
Related information: I no longer need the copy of openSuse 12.3 and not interested in preserving it during this operation.
My question: Can (should) I use dd to copy the files from the wanted partitions on the old drive to the matching partitions on the new drive? What if the partitions on the new drive end up slightly smaller than the partitions on the old drive? The man page for dd is… ah… complex. I’m concerned about making a wrong choice.
Should I boot a live copy, mount the two drives, partition the new one, and simply copy the contents from the old to the new?
When I’m done, I intend to simply delete the files in sda3, and run grub2-install to correct the boot menu.
Opinion solicited: Is there a better way to set up my system to allow this sort of change to be made?
I know I could, and maybe should, just try different ways to do this. I might even learn something. But, with 140 GB of “stuff” on my system, hours and hours of configuration to get things just the way I want, the desire to have my system up and running, and 55 to 60 hours a week devoted to my job, I’m taking the quick way out and asking for help.