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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to