![]() | 1 | initial version |
If you really don't want to reinstall, mount the new disk, partition it, and then as root do a
cp -a
of all relevant directories, exception made for /proc and /tmp . You should also modify /etc/fstab with correct uuids for new disk and reinstall grub from a live distribution. Not worth the effort.
If reinstalling just copy somewhere the contents of your old /etc directory and modify the new one as needed in order to keep the old settings.