[Westwales] Duplicating a Linux disc
John Bailey
westwales at mailman.lug.org.uk
Thu Oct 17 16:24:01 2002
> Your new disk is smaller though, it *may* work but any data you have past the
> end of the disk would be lost ...
Another thing to watch out for is the partition tables - dd will copy
them, but obviously the new ones won't be valid if the disks arn't
identical.
I've done migration in the past just using 'cp -rpd' (recurse, preserve
attributes, don't follow symlinks) but that was a while ago. These days
I'd be tempted just to tar up /etc, ~/ ~www and so forth for reference and
go for a reinstall.
Cheers,
John