Sunday, April 28, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 8616  / 2 Years ago, tue, may 24, 2022, 8:20:01

Recently I've bought a new notebook.
I'm going to install ubuntu 12.04 next to win8 with dual boot config.
Is it that simple and safe to just copy my home folder from an old desktop with Ubuntu 10.04 to a new 12.04 installed system? Or should I do that other way?


More From » system-installation

 Answers
2

Yes, just copy over your home directory. These are the steps I would follow:




  1. Make a proper archive on the old system.



    cd /home
    sudo tar -zcf username-archive.tar.gz username

  2. Make sure that you use the same username on the new system.


  3. Copy over the archive to the new system outside the home directory where we will unpack it to of course.


  4. (Re)boot up the new system, but don't log in yet. This will make sure nothing will be running under your user account, depending on the contents of your homedir.


  5. Press Ctrl+Alt+F1 to go to a virtual terminal.


  6. Log in, then become root fully, e.g.



    sudo su -

  7. Backup the almost empty homedir, e.g.



    mv /home/username /home/username-old

  8. Unpack it, e.g.



    cd /home
    tar -zxf username-archive.tar.gz


[#28828] Thursday, May 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bblerest

Total Points: 240
Total Questions: 119
Total Answers: 113

Location: Wallis and Futuna
Member since Mon, May 18, 2020
4 Years ago
;