Friday, December 24, 2010

clone a linux system from disk A to disk B(new)

use a livecd, mount A , mount B(fdisk,mkfs if needed),
cp -rp /mnt/A/* /mnt/B/
grub-install on B,  (ignore errors, grub is never easy to use)
reboot using B,
grub-setup when boot B successfully.
fix small problems if any(such as swap).

important: linux is easy to use only if you have good luck, so good luck.

No comments:

Post a Comment