Re: Cloning Hard Disk



__/ [ chlovechek ] on Wednesday 29 March 2006 15:18 \__

On 29.3.2006 6:57, Dan C wrote:
On Wed, 29 Mar 2006 11:19:31 +0800, Dan N wrote:

<snip>

Is there some way to clone what I've got on this disk onto a
replacement? I don't really want to install everything from scratch.

man dd


Hm, what about 'cp -a'? I think this one is much better. Well, at least
in case, that disk aren't exactly the same, I guess.

The last time a discussion as such arose, I took some notes which I believed
I would find valuable one day. FWIW (apologies about authors not attributed
by name):

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Subject: Re: How to clone a Linux harddrive ala Norton's "Ghost"?

JDS wrote:
On Fri, 03 Feb 2006 10:15:12 +1300, grolschie wrote:


Are there any boot CD's or complete softwares that can handle this?


dd


I second that, dd, man dd

boot sector: dd if=/dev/hdd0 of=bootsect.lnx size=512 count=1 (replace
hdd0 with drive name)

Entire drive:
dd if=/dev/hdd0 of=/some-location/hdd0.img (make sure file system is NOT
mounted, copy to a different file system!)

and theres also QTParted, you can find it on system rescue cd
(www.sysresccd.org)

JD

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

I agree, dd. Great for linux,

dd if=/dev/hdax of=path/file.img bs=1024

How do we get the best performance over network with ethernet mtu?

you could also dd to several files such that each file will fit on CD.. or
even Zip them before puting them on cd.

anyone know if you can send dd output to gzip on the fly and have it stop
when the compressed image reaches 650MB or 4GB and start a new image? You
can obviously output a certain number of sectors with dd, but there's no way
to know the effective compression ratio of any given set of random files...


dd just doesn't work with windows xp because of certain Security IDs written
to the disk at the time of install which depend on hardware information.
Ghost is able to reproduce this.

Does anyone know of another product (for windows 'ghosting') with more of a
'free software' licensing attitude?

-Jessop

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

* grolschie wrote in alt.os.linux:
x-posted to: alt.os.linux and alt.linux ( i hope that this is ok)

Hi there,

I have read a few howto's that involve using dd and having to reinstall
bootloaders, etc. We use Nortons Ghost (an older version)alot to copy
entire NTFS drives and partitions and they auto-magically boot.

Older version might be a problem but:

http://service1.symantec.com/SUPPORT/ghost.nsf/docid/1999021909463125?Open&src=&docid=2000033111503625&nsf=ghost.nsf&view=docid&dtype=&prod=&ver=&osv=&osv_lvl=

Watch for wrap.

I have
not yet found a solution to backup Linux ext2/3 drives in an easy
manner.


Newer versions of Ghost will do it, as above.

I wish to backup a drive on a Linux proxy server so that I can throw the
in spare drive within minutes of a drive failure and be up and running.
I don't wish to go the RAID route though.

Are there any boot CD's or complete softwares that can handle this?

Ghost for Linux:
http://freshmeat.net/projects/g4l/

David
Somewhere, just out of sight, the unicorns are gathering.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

It looks like there's a version of dd called "sdd" that's supposed to be
better.

http://freshmeat.net/projects/sdd/

Partimage could be your solution...? /Bengt

Looks great, but I don't see any disk-to-disk option in there. Is there
one?
.



Relevant Pages

  • Re: I give up on Vista! Going back to XP.
    ... BSD doesn't get the updates as often as OSX or even ... It's incredibly easy to install and update. ... I'll stick with Linux for now. ... to go with multiple drives. ...
    (alt.2600)
  • Re: Why I am Still Using Windows
    ... > I am assuming you are talking Windows 2000 or better. ... present, 9 Linux distros. ... We're talking things like mount points, where drives suddenly ... Get everything running right, and make a backup, Install to a new ...
    (alt.os.linux.suse)
  • Re: Reinstallation of XP
    ... screen and freezes if the active partition is Linux. ... Windows 7 install disc is okay and works fine. ... Paragon failed me with BCD boot drives. ...
    (microsoft.public.windowsxp.general)
  • Re: Reinstallation of XP
    ... Windows 7 install disc is okay and works fine. ... Which can be used to remove the Linux partition and ... drives which used to hold Linux. ...
    (microsoft.public.windowsxp.general)
  • Re: Reinstallation of XP
    ... Windows 7 install disc is okay and works fine. ... Which can be used to remove the Linux partition and ... drives which used to hold Linux. ...
    (microsoft.public.windowsxp.general)