1 |
Hazen Valliant-Saunders wrote: |
2 |
> Tar is your friend and ally. |
3 |
> |
4 |
> 1. install and Mount the disk to a mount point. |
5 |
> 2. Use tar in for it's intended purpose |
6 |
> https://help.ubuntu.com/community/BackupYourSystem/TAR |
7 |
> 3. remove old drive, & configure the new one as your primary. |
8 |
> 4. get a drink. |
9 |
> |
10 |
> On Fri, Jan 15, 2010 at 12:33 PM, Jarry <mr.jarry@×××××.com |
11 |
> <mailto:mr.jarry@×××××.com>> wrote: |
12 |
> |
13 |
> Hi, I'm facing this problem: |
14 |
> |
15 |
> I want to exchange hard-drive in my computer for other, bigger |
16 |
> one. I do not want to add new hard-drive somewhere on mount-point |
17 |
> permanently, I just want to copy everything from the old drive |
18 |
> to the new one and then get rid of the old one. And of course, |
19 |
> I'd like to use my computer as before. What is the best (maybe |
20 |
> I should ask for safest) way to acomplish this? |
21 |
> |
22 |
> First I thought about "cp -a". But I'm not sure which directories |
23 |
> I should skip (/proc, maybe some other like /dev?). And I do not |
24 |
> know how cp handles links (if I first copy link and later target, |
25 |
> where is the link pointing? to the original file or its copy?). |
26 |
> |
27 |
> Maybe dump/restore is better solution? Or something else? |
28 |
> |
29 |
> Jarry |
30 |
> |
31 |
> -- |
32 |
> _______________________________________________________________ |
33 |
> This mailbox accepts e-mails only from selected mailing-lists! |
34 |
> Everything else is considered to be spam and therefore deleted. |
35 |
> |
36 |
> |
37 |
|
38 |
|
39 |
I have done this several times and only used cp -a. I just skipped |
40 |
/dev, /proc, /tmp and other none needed ones. Don't forget to copy |
41 |
console and null in /dev tho. |
42 |
|
43 |
Dale |
44 |
|
45 |
:-) :-) |