You are not logged in.
HI,
I'm planning to upgrade my notebook's 5400rpm hard disk with a 7200rpm disk and I want to copy me entire OS over to the new hard disk.
What I plan to do is:
1. Connect the new notebook disk and old notebook disk to my desktop.
2. Create the partitions on the new disk and mount them
3. For each partition on the old disk, copy to the corresponding partition to the new disk, using "cp -r"
4. Install grub on the MBR of the new disk.
Will this method work. I don't want to create an exact clone of the disk because I want to change my partition sizes around.
I'm just wondering whether cp is suitable for copying an entire filesystem because of symoblic links.
Cheers
Offline
I have done similar on may occasions. Should work fine. Use cp -a which will preserve permissions. Check man cp for details. You may need to edit /etc/fstab depending on how your partitions are referenced.
*** Just make sure you don't get the disks mixed up. ***
Last edited by mikesd (2009-08-12 09:06:14)
Offline
Thanks.
Offline
I just copied over the partitions today. Everything went well using "cp -a".
Offline
Offline