dump on to hdb

Eric "Shubes" plug at shubes.net
Sat Nov 18 10:05:53 MST 2006


betty wrote:
> hi all;

Hello again, Betty.

> i put a second hdd into my linux rh9.0 machine. i want to use 'dump' 
> command to copy my current hda to it.

I think that dd would be better suited.

> should i format and make the partitions exactly the same size as on the 
> hda? there are currently 3 partitions on hda.

What do you want the result to be? How do you plan to use the new and old
drives?

If you want your new drive to look exactly like the old one, and the new one
is at least as large as the old one, you can easily do this with dd (new
drive is hdc in this example):

# dd if=/dev/hda of=/dev/hdc bs=4k

Be sure that you boot from a Live CD before doing this, as both drive should
not be mounted when doing this command.

> thanks in advance for your help and patience.
> betty i.
> webcanine.com
> 


-- 
-Eric 'shubes'


More information about the PLUG-discuss mailing list