[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Cloning a workstation



On Wed, 2004-12-08 at 17:42, Croy, Nathan wrote:
> > From: Sarunas Burdulis [mailto:sarunas@nospam.net]
> > Sent: Wednesday, December 08, 2004 9:31 AM
> > 
> > I need to clone a workstation (which has some custom 
> > configuration and 
> > scripts added to otherwise basic Sarge/KDE) into another set of 
> > absolutely identical hardware (Intel Pentium 4, IDE HD). Just 
> > one clone, 
> > not a massive install. What tools would you use? Easiest/quickest? 
> > Machines are on an Ethernet, have CD/DVD and floppy drives.
> 
> There have been many great suggestions already.

I successfully cloned a hard disc on a dual-boot win98/NT/Debian box
using:

Debian Packages
---------------
util-linux (provides sfdisk)
gcc make (needed to complile pcopy)

Source package
--------------
pcopy - faster than dd - (from ftp://ftp.lysator.liu.se/pub/unix/pcopy)

Brief method
------------
Compile and install pcopy
Clean up existing systems -scandisk on MS Windows systems, fsck on
unmounted Linux partitions.
You might want to go to single-user /sbin/telinit 1
Stop network /etc/init.d/networking stop
Copy partition table from old hda to new hdb 
sfdisk -d /dev/hda | sfdisk /dev/hdb
copy the partitions eg: pcopy -d /dev/hda3 /dev/hdb3

Chris.
-- 
Chris Lale <chrislale@untrammelled.co.uk>



Reply to: