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

Re: cloning Debian hard drive



On Wed, Aug 27, 2003 at 09:49:40PM +0200, mess-mate wrote:
> On Wed, 27 Aug 2003 11:49:44 +1000
> Corey Ralph <corey@trellian.com> wrote:
> 
> | On Wednesday, August 27, 2003, at 01:27  AM, Victory wrote:
> | > 1, Is there way to clone this hard drive ?
> | 
> | If you are cloning it to an identical hard drive, you can use dd, eg:
> | 
> | dd if=/dev/hda of=/dev/hdb
> | 
> Do you mean the same capacity or the same capacity AND manufacter/model ??
> mess-mate

The "new" disk needs to be exactly the same size, or larger. Note
that some manufacturers sell drives that are 80 million kilobytes
as 80 Gb, while other manufacturers sell a drive that is only
80 billion bytes as 80 Gb. So even if they are both "80 gig" they
might not be the same size. 

When you've copied it, and the second disk is larger, you have a 
couple of options. Leave the unused space at the end as it is, or
try to use it. 

You could just add an extra partition at the end provided you already
had an extended partition. That's the easiest. Expanding the 
partition closest to teh end is the other option which risks losing
the data on that one when not done exactly right...

		Roger. 

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
**** "Linux is like a wigwam -  no windows, no gates, apache inside!" ****



Reply to: