Monday, January 13, 2014

Move to new machine, old system

1. Install new system

2. mount old/new system, use rsync to move old system to new system

vim exclude
/dev
/proc
/sys
/tmp
/run
/mnt
/media
/lost+found
/etc/fstab
/etc/mtab
/boot

rsync -aAXv /path/to/old/system /path/to/new/system --excludes-from exclude

Make sure that fstab's correct.

rsync doesn't overwrite your system, it merges them

Severus

No comments:

Post a Comment