On Wed, 29 Dec 1999, Ray Olszewski wrote about, Re: disk cloning?:
> Not to quibble, Marc, but your suggestion copies a filesystem, not a drive.
> It's still a good suggestion ... if the old drive has bad blocks, Jimmy
> probably doesn't really want to do a drive copy, and what you suggest will
> do most of what he needs ... at least for ext2 partitions.
>
> The new drive will not have a working LILO or other booter -- after
> installing it, he'll need to boot from a rescue disk, then run lilo on the
> new drive, to make it bootable.
>
> And if he uses a swap file, he'll need to make that --- actually, he'll need
> to make all the partitions on the new drive using fdisk/cfdisk, then create
> filesystems with mke2fs or equivalent and swap with mkswap, before he does
> the mounting and taring you advise.
>
> With these additions, your advice is good.
If i may chip in, condsidering the origanal asker has a new drive, it would
realy be just as easy if not easier, to install a complete new installation.
He can then copy whatever config files afterwards to the new disto. I rather
think thats going to be a lot easier than seperatly using fdisk to create
the exacht same partition stucture including a swap partition, creating the
ext2 filesystems, cp'ing directorys, having all sorts of problems with
symlinks afterwards, there is a lot more than meets the eye as you all have
pointed out, it might sound easy, but simply thinking one can copy one disk
to another and use it in a mum is a myth.
Once again if the distro' source is available its much quicker to reinstall
on the new disk, and copy config file at will during use.
> ------------------------------------"Never tell me the odds!"---
> Ray Olszewski -- Han Solo
> Palo Alto, CA [EMAIL PROTECTED]
> ----------------------------------------------------------------
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
Happy New Year