Re: how to clone whole 120 gb disk with alll partitions to a new 200 gb ?

From: ERACC (junkmail_at_eracc.com)
Date: 04/10/04


Date: Sat, 10 Apr 2004 16:54:55 -0500

On Sat, 10 Apr 2004 02:51:58 +0200, v a c h wrote:

> ERACC wrote:
>> On Fri, 09 Apr 2004 17:51:03 +0200, v a c h wrote:
>> http://www.partimage.org/
>> http://www.feyrer.de/g4u/
>
> I know about partimage but all it does is make images of drives, I don't
> have space to make images and then to restore them to new partitions. I
> need this to be done on the fly.
>
> I'll check the other one.

I don't believe either tool resizes "on the fly" but they will make
a copy of your partitions for restoration to a new HD. You would need
to create your partitions on the new drive with Linux 'fdisk,' or
whatever low level Linux tool you prefer, and then use something to
copy the partition data from the old drive to the new. You may
actually be better off looking into 'rsync' used in local mode.

As far as I know there IS NO TOOL that does resize "on the fly" of
all the various partition types under Linux. IIRC PartitionMagic
supposedly will resize NTFS partitions but I haven't used any 'doze
utilities in four years since moving my business to all Linux, Unix
and OS/2 (eComStation) so I can't recommend it. I'm quite certain
that Symantec (bought out PowerQuest) has no interest in creating
tools that, or porting their tools to, run under Linux at this point
in time (other than some crappy AV stuff that I don't need). Their
loss is an opportunity for others to get it done.

>> I don't believe 'dd' is the answer in your case. Take a look at the
>> two utilities in those URLs up there.
>
> Why? OK, linux partiotins I can copy, fat maby, but how to copy or clone
> data from ntfs one?

You ask "why?". My answer is that 'dd' makes an EXACT bit for bit
copy of whatever you tell it to copy. No "resize on the fly" is
possible. I believe it is still considered "dangerous" to write to an
NTFS partition under Linux so to copy that data I would use something
booted from a 'doze utility diskette or CD like that software I
mentioned above. There may be reliable NTFS support in newer kernels
but I don't know about it if there is as I don't care about NTFS
support because I don't need or want it.

Gene (e-mail: gene \a\t eracc \d\o\t com)

-- 
Linux era4.eracc.UUCP 2.4.22-28mdkenterprise i686
 16:31:58 up 42 days, 10:27, 10 users,  load average: 0.06, 0.02, 0.00
ERA Computer Consulting - http://www.eracc.com/
eCS, OS/2, Mandrake GNU/Linux, OpenServer & UnixWare resellers

Quantcast