Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Moving the system from one disk to another
Date: Sun, 04 Apr 2010 20:33:05
Message-Id: 10006.1270408142@ccs.covici.com
In Reply to: [gentoo-user] Moving the system from one disk to another by meino.cramer@gmx.de
1 meino.cramer@×××.de wrote:
2
3 >
4 > Hi,
5 >
6 > I have to move my whole system from one disk to another
7 > bigger one.
8 >
9 > I think of doing as follows:
10 > Boot a system via CD/DVD (knoppix for example).
11 > Mount small disk read-only
12 > Mount bigger disk read-write
13 >
14 > cd into mountpoint of the first one
15 > cp -a . ../<mountpoint_of_bigger_disk>
16 >
17 > Seems to me slow but correct? Or?
18 >
19 > (I have to set the bootable flag of the correct partion
20 > additionally...)
21 >
22 > I dont want to have a booting system afterwards, which "runs" for --
23 > say -- three month and suddenly hit a obscure bug due to my
24 > copy-commands, which only did it to 99.87% correct... ;)
25 >
26 > I would like to preserve as much as possible of the file/directoy
27 > times ,,,
28 >
29 > Or does a mystical command with s-tar a better job faster?
30 >
31 > Thank you very much in adance for any help!
32
33 I like rsync and be sure to say --numeric-ids or whatever to retain the
34 same userids for permissions, but otherwise you are good to go.
35
36 --
37 Your life is like a penny. You're going to lose it. The question is:
38 How do
39 you spend it?
40
41 John Covici
42 covici@××××××××××.com