On 2014-05-22 07:56, ionmich wrote:
> I think I will try this method first as copying is faster that using
> “dd”.
Actually, dd is faster, if there are many files.
Copying file by file involves tons of disk head movements, having to
locate the files all over the place, the inodes, etc. A dd simply copies
tracks in sequence, so it goes at the max speed the hardware is capable of.
However, if the target is bigger than the source, you get the extra
complication of expanding the target filesystem aftwards.
Another advantage of ‘cp’ is that the layout is refreshed. Destroys
fragmentation if present. But you have to beware to copy hardlinks and
softlinks as such.
I use rsync myself. It can verify the copy, can be interrupted and
continued.
> I partitioned the new drive to accomodate two extra distributions
> for experimantal purposes. Three primary root partitions, three extended
> /home partitions, one extended swap, one large extended data partition
> and of course one primary to create the extended partitions. Total nine.
Well, in that case, you simply mount the source tree, and the
destination tree, fully, and rsync from one to the other. It does not
matter if the destination has a different partition structure.
But it better be run from a separate live system (I suggest the openSUSE
XFCE rescue USB), so that the source does not have /proc, /sys, and /dev
populated, and that the files are static.
Then, a different issue is installing grub.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Minas Tirith))