On Thursday 08 Nov 2012 19:46:01 john wrote:
> On Thu, 08 Nov 2012 19:17:25 +0100
> 
> Florian Philipp <li...@binarywings.net> wrote:
> > Am 08.11.2012 17:37, schrieb Paul Hartman:
> > > On Thu, Nov 8, 2012 at 7:03 AM, Volker Armin Hemmann
> > > 
> > > <volkerar...@googlemail.com> wrote:
> > >> Am 08.11.2012 12:12 schrieb <j...@jdm.myzen.co.uk>:
> > >>> I am about to change my hard drive on my machine from a 500GB to
> > >>> 2tb.
> > >>> 
> > >>> To transfer I  intend to dd the partitions across and then resize
> > >>> using lvm as home swap var are located on lvm.
> > >>> 
> > >>> Is this the right approach or would you recommend another method?
> > >>> 
> > >>> John D Maunder.
> > >> 
> > >> 2tb drive  probably different sector size. cp -auv recommended.
> > > 
> > > I agree, best approach is to partition and format the new drive as
> > > new, and then copy the files. This will also help you start your new
> > > disk with a lack of fragmentation.
> > 
> > +1
> > 
> > Of course, a simple cp -auv /* /new_root won't suffice because of
> > proc, sys and friends. I prefer
> > mount --bind / /real_root
> > cp -auv /real_root/* /new_root
> > 
> > Regards,
> > Florian Philipp
> 
> Thanks all for advice. Nice work with the mounting.

I often use star with the -copy option (faster and more advanced than tar, 
although I have not timed it), or rsync.  dd and friends for iso copying and 
fs recovery.

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to