[Westwales] Duplicating a Linux disc

Jonathan West westwales at mailman.lug.org.uk
Thu Oct 17 18:26:01 2002


On Thu, 2002-10-17 at 16:24, John Bailey wrote:
> > 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
> 
Hi
I haven't actually looked that closely at it but doesn't Partimage ( I
think it's called)do something like what you want ?
Cheers
Jon
-- 
public key www.jonwest-horselogging.co.uk/key/jon.asc
http://www.jonwest-horselogging.co.uk