Gentoo Archives: gentoo-user

From: "Mickaël Bucas" <mbucas@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How can I move system to new disk?
Date: Mon, 18 Jan 2010 08:45:50
Message-Id: 6e6572061001180044q432fc918m8768fa8eacd70fc3@mail.gmail.com
In Reply to: [gentoo-user] How can I move system to new disk? by Jarry
1 2010/1/15 Jarry <mr.jarry@×××××.com>:
2 > Hi, I'm facing this problem:
3 >
4 > I want to exchange hard-drive in my computer for other, bigger
5 > one. I do not want to add new hard-drive somewhere on mount-point
6 > permanently, I just want to copy everything from the old drive
7 > to the new one and then get rid of the old one. And of course,
8 > I'd like to use my computer as before. What is the best (maybe
9 > I should ask for safest) way to acomplish this?
10 >
11 > First I thought about "cp -a". But I'm not sure which directories
12 > I should skip (/proc, maybe some other like /dev?). And I do not
13 > know how cp handles links (if I first copy link and later target,
14 > where is the link pointing? to the original file or its copy?).
15 >
16 > Maybe dump/restore is better solution? Or something else?
17 >
18 > Jarry
19 >
20
21 I've done it twice with the following method :
22 http://www.faqs.org/docs/Linux-mini/Hard-Disk-Upgrade.html
23
24 There are a few things to change : no more Lilo, ext2, IDE, diskettes these days
25 But the check list is complete so you won't forget important points.
26
27 Mickaël Bucas