From: General Schvantzkoph on
On Mon, 30 Nov 2009 22:23:49 +0100, André Gillibert wrote:

> General Schvantzkoph <schvantzkoph(a)yahoo.com> wrote:
>> On Mon, 30 Nov 2009 11:23:13 -0800, Eugene wrote:
>>
>> > Hi all
>> > I am running Fedora 11 on my laptop (IBM T60) that has a 60 G hard
>> > drive. A 320G hard drive was ordered and is to be replace the old
>> > one. I would do dual boot. One goes Fedora 11 and the other goes
>> > windows XP or 7. How can I clone the entire system on the old hard
>> > drive (i.e. Fedora 11 with many software installed) and put it on the
>> > new drive? Thanks.
>>
>> There is no reason to clone the drive, a fresh install takes 20
>> minutes, cloning using dd will take much longer.
> And then, 20 hours to reconfigure everything, and copy personal files.
> dd clones everything, and, is actually very fast on modern disks. If
> contents of free disk space don't matter, one may use partclone. Or,
> simply mkfs a new partition and use cp or star -dump -copy (this program
> rocks) to copy files to the new partition. Nice thing: It'll actually
> "defragment" the system, which may dramatically improve performances of
> an old ext3 partition.

It doesn't take 20 hours to reconfigure a Linux system, almost all of
your personalization is in your home directory. You might have a couple
of /etc files that you might want to copy, /etc/hosts, /etc/ssh, /etc/
exports, and /etc/samba, but that's probably it. All you do is a couple
of rsyncs to another machine,

rsync -r -t -l /home othermachine:/path_to_backup
rsync -r -t -l /etc othermachine:/path_to_backup

If some other partition that contains 3rd party software or other
personal files then you would rsync that also. Rsync is much faster then
dd which has to copy the entire disk whereas rsync just has to copy
files. The whole process, including installing a fresh copy of Linux,
shouldn't take more than an hour or two depending on your network speed.
you can do this without having to get any disk adapters, all you need is
an Ethernet connection.

Rebuilding an XP system can easily take a few days however moving to a VM
from native XP would be worth the pain. Once you've set up an XP VM it's
trivial to back it up and restore it whenever XP roaches itself. Also you
don't have to waste any disk space on an NTFS partition, you only need
enough space for a virtual C drive. All of your Windows data can be kept
on the Linux file system and accessed via SAMBA.