-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Em 15-01-2010 15:33, Jarry escreveu: > Hi, I'm facing this problem: > > I want to exchange hard-drive in my computer for other, bigger > one. I do not want to add new hard-drive somewhere on mount-point > permanently, I just want to copy everything from the old drive > to the new one and then get rid of the old one. And of course, > I'd like to use my computer as before. What is the best (maybe > I should ask for safest) way to acomplish this? > > First I thought about "cp -a". But I'm not sure which directories > I should skip (/proc, maybe some other like /dev?). And I do not > know how cp handles links (if I first copy link and later target, > where is the link pointing? to the original file or its copy?). > > Maybe dump/restore is better solution? Or something else? > > Jarry >
In a small cluster with machines have the same configuration (or not, when newer hd are more bigger than the oldest) i use a live cd and cp - -pr /mnt/gentoo/* /mnt/gentoo2/*. Works fine. Changing hostname and ip and i have a new cluster client. Better than ghost that don't change mbr or dd. A "shutdown -Fr now" in a first reboot is a good idea. att -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktQtKUACgkQ35zeJy7JhCh/rQCcDO7hr/0V64cnHBudL2BseQKg OtEAn2P13ZvQXDprMCNrNbCNEGGD0GJw =zlNP -----END PGP SIGNATURE-----

