I have been trying to follow the instructions of the top answer here: link
but there are a number of things I don't understand.
(Both machines are Ubuntu 15.10 64bit)
Use scp or rsync or even a flash drive to transfer your home directory (~/, ~/.), the source list (/etc/apt/sources.list) and any other files you customized or installed (like apache config under /etc or softwares on /opt) from the source machine to the target one.
The source list and the later stuff won't copy because I apparently don't have permission. I'm using sudo and I'm the administrator of the machine and it still won't copy.
user@user-desktop:/home$ sudo scp -pr /opt/* email@example.com:/opt/ firstname.lastname@example.org's password: scp: /opt//google: Permission denied scp: /opt//passcal: Permission denied scp: /opt//passcal.2016.084.tar.xz: Permission denied scp: /opt//teamviewer: Permission denied
And the second thing is:
Step 3: Install packages: On the target machine run the following command in a failsafe terminal session to install your packages
What is a "failsafe terminal session"? I've searched a lot online and there are loads of completely different answers:
- code in terminal: https://techtimejourney.wordpress.com/2012/12/07/create-a-terminal-failsafe-session/
- do it on reboot: Not showing terminal in FAILSAFE mode
- startx command: https://journalxtra.com/linux/beginners-info/getting-out-of-the-linux-shell/
- via settings: http://shrubbery.net/solaris9ab/SUNWabe/CDEUG/p13.html#LOGGINGIN-27923
How do I do this? I've already had to reinstall Ubuntu again once to start from scratch due to messing something up. I'm just hoping to migrate stuff to not have to reinstall a load of complicated, buggy programs etc but this way is turning out to be way harder