On 6/15/05, Zac Medico <[EMAIL PROTECTED]> wrote:
> Mark Knecht wrote:
> > Hi,
> >    I'm not at all clear from reading man dd whether it will work for
> > drives that are not the same size? For instance my current working
> > drive in onePundit-R is 8GB and has 3 partitions - boot, root and
> > swap. I'd like to copy these partitions to a new 80GB drive for use in
> > another Pundit-R.
> >
> > 1) Can dd be used to copy partitions? (It seems so - just checking)
> >
> > 2) If yes above, then do I need to make identical sized partitions on
> > the target drive before copying, or does dd create the partition? (I
> > hope it doesn't actually)
> >
> > After the clone I'll rename the machine and give it a different IP
> > address but I assume that everything else is 100% identical. The extra
> > drive space will be used for some other purpose and does not have to
> > be part of root.
> >
> > Thanks,
> > Mark
> >
> 
> The dd program knows nothing about partions but it will work with the 
> associated device file.  I would use fdisk, mke2fs, and rsync.
> 
> Zac

OK, cool. Thanks. I've wanted a reason to learn a bit about rsync anyway.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list

Reply via email to