1 |
On Thu, 08 Nov 2012 19:17:25 +0100 |
2 |
Florian Philipp <lists@×××××××××××.net> wrote: |
3 |
|
4 |
> Am 08.11.2012 17:37, schrieb Paul Hartman: |
5 |
> > On Thu, Nov 8, 2012 at 7:03 AM, Volker Armin Hemmann |
6 |
> > <volkerarmin@××××××××××.com> wrote: |
7 |
> >> Am 08.11.2012 12:12 schrieb <jdm@××××××××××××.uk>: |
8 |
> >> |
9 |
> >>> I am about to change my hard drive on my machine from a 500GB to |
10 |
> >>> 2tb. |
11 |
> >>> |
12 |
> >>> To transfer I intend to dd the partitions across and then resize |
13 |
> >>> using lvm as home swap var are located on lvm. |
14 |
> >>> |
15 |
> >>> Is this the right approach or would you recommend another method? |
16 |
> >>> |
17 |
> >>> John D Maunder. |
18 |
> >> |
19 |
> >> 2tb drive probably different sector size. cp -auv recommended. |
20 |
> >> |
21 |
> > |
22 |
> > I agree, best approach is to partition and format the new drive as |
23 |
> > new, and then copy the files. This will also help you start your new |
24 |
> > disk with a lack of fragmentation. |
25 |
> > |
26 |
> |
27 |
> +1 |
28 |
> |
29 |
> Of course, a simple cp -auv /* /new_root won't suffice because of |
30 |
> proc, sys and friends. I prefer |
31 |
> mount --bind / /real_root |
32 |
> cp -auv /real_root/* /new_root |
33 |
> |
34 |
> Regards, |
35 |
> Florian Philipp |
36 |
> |
37 |
|
38 |
Thanks all for advice. Nice work with the mounting. |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
-- |
45 |
John D Maunder |