Transfer 17.3 home to 19.1 home [SOLVED]

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
paulxx
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 12:26 pm

Transfer 17.3 home to 19.1 home [SOLVED]

Post by paulxx »

Been running 17.3 since 2017 and very pleased with it.
I decided to upgrade to 19.1 and everything went ok.
I now have a choice at boot, 17.3 with all my old stuff; bookmarks, software etc, or 19.1 with none of my old stuff.

How can I transfer all my old stuff to 19.1?

thanks
paul
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: Transfer 17.3 home to 19.1 home

Post by WharfRat »

Hello paulxx Image

Welcome to Linux Mint and the Linux Mint forum :)

I use rsync for thing like this. I just did it when I installed 19.1 alongside 18.3.

From your home folder mount your 17.3 partition to /mnt and use sudo rsync -naiuv --progress -stats /mnt/home/yourname/ .

That's a dry run. If everything looks good then remove the n - sudo rsync -aiuv --progress -stats /mnt/home/yourname/ .

That will transfer everything from your old home except newer files in your current home.

Good luck :wink:
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Transfer 17.3 home to 19.1 home

Post by Wompoo »

WharfRat wrote: Mon Jun 03, 2019 2:28 pm Hello paulxx Image
.........................................
From your home folder mount your 17.3 partition to /mnt ........................
Good luck :wink:
I am interested in further details please WR.
Fist of all; how to I Mount the 17.3 partition to /mnt ?
And how does this work; do you copy the output to a USB stick, then close the first operating system, and then boot up the new one etc.?
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

Re: Transfer 17.3 home to 19.1 home

Post by deepakdeshp »

Boot from your 19 os. Do you know which partition is Mint 17? SUppose its sda7. To mount it on /mnt the command would be

Code: Select all

sudo mount /dev/sda7 /mnt
ls /mnt would show you the 17.3 files.
Now you can use the rsync command first with dry run and then the actual command.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
decrepit
Level 5
Level 5
Posts: 858
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: Transfer 17.3 home to 19.1 home

Post by decrepit »

Or you can just make a desktop link in 19.1 to you 17.3 home, then you aren't using extra memory with two lots of data.
But no good if you'r going to delete 17.3
User avatar
AndyMH
Level 21
Level 21
Posts: 13743
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Transfer 17.3 home to 19.1 home

Post by AndyMH »

If you copy over all the config files from 17.3 you may get some problems with 19.x with some apps. I had this problem with evolution (email) when migrating from 18.3 to 19.0.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
TI58C
Level 4
Level 4
Posts: 389
Joined: Tue Jul 18, 2017 5:57 am

Re: Transfer 17.3 home to 19.1 home

Post by TI58C »

Hi, paulxx,

I agree, do not copy all the (hidden, starting with ".") config directories /files.

Recently went from 17.3 (still using it now, SHAME) , to 19.1.

I did clean install on new box
- transferred all packages I wanted to keep.
- copied home-dir old box to new box. Without ! the config dirs.
- then copied .mozilla, firefox profile + libreoffice profile. Other config dirs only if needed /problems,

Thread here may be of interest:

viewtopic.php?f=90&t=292381#p1622897


Robert
Linux is like my late labrador lady-dog: loyal and loving if you treat her lady-like, disbehaving princess if you don't.
WharfRat

Re: Transfer 17.3 home to 19.1 home

Post by WharfRat »

AndyMH wrote: Tue Jun 04, 2019 8:24 am If you copy over all the config files from 17.3 you may get some problems with 19.x with some apps. I had this problem with evolution (email) when migrating from 18.3 to 19.0.
The 'u' option will skip files that are newer on the receiver so there shouldn't be any problems in that context.
paulxx
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 12:26 pm

Re: Transfer 17.3 home to 19.1 home

Post by paulxx »

Thanks for helping me out here WharfRat (and thanks to deepakdeshp for clarifying the /mnt ).

I carried out those three instructions and everything seemed to go well, no errors reported. And all my old stuff from v18.3 appeared on my desktop in v19.1. So it all looked good.

But when I did a restart, I can't get past the login screen. I enter my password and the screen goes black as normal but then the login screen re-appears.

If I enter an invalid password I get the message "invalid password". But when I enter my valid password the screen goes black for 2 seconds then re-appears asking for a password.

It's not a crisis as I have normal access to v18.3 and all my stuff is still there. However I would like to move on to v19.1.

Any ideas?

paul
WharfRat

Re: Transfer 17.3 home to 19.1 home

Post by WharfRat »

That's odd :?

I've never experienced that. I always disable the login requirement when installing.

I'm on 18.3 now, but if Tessa has the login window on the menu, try disabling it there and see if that stops it then try enabling again..
paulxx
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 12:26 pm

Re: Transfer 17.3 home to 19.1 home

Post by paulxx »

By "menu" do you mean the list of os I can boot after a restart?. If so, i've just been there and can't find an option to disable the login password.

I'm thinking of uninstalling v19.1, then re-installing it, then doing the transferring of my stuff from 18.3 to the new v19.1. My reasoning is that perhaps something went wrong in the transfer.

What do you think?
WharfRat

Re: Transfer 17.3 home to 19.1 home

Post by WharfRat »

Not the grub menu - the Login Window application from the Mint menu.
Screenshot at 2019-06-04 16-20-18.png
paulxx
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 12:26 pm

Re: Transfer 17.3 home to 19.1 home

Post by paulxx »

How do I get to that, if I can't get past login?
WharfRat

Re: Transfer 17.3 home to 19.1 home

Post by WharfRat »

I misunderstood your post - I thought you had to enter it twice :oops:

Try this - mount the 19.1 partition in 18.3 to /mnt

Then goto /mnt/etc/lightdm and check the content of the lightdm.conf

Mine looks like this:

Code: Select all

[bill@XPS] /mnt/etc/lightdm $ cat lightdm.conf
[Seat:*]
autologin-guest=false
autologin-user=bill
autologin-user-timeout=0
[bill@XPS] /mnt/etc/lightdm $ 
Try setting autologin-user=bill to your user name
paulxx
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 12:26 pm

Re: Transfer 17.3 home to 19.1 home

Post by paulxx »

Hello WharfRat, I've got good news and bad news. I'll give you the good news first.

I've got 19.1 running ok, the login problem is resolved and I have successfully transferred my /home folder from 18.3 to 19.1. Great! Those 3 sudo instructions worked just fine.

The bad news is that in attempting to create more space on my hard disk for 19.1, I seem to have messed up the access to 18.3.
I used gparted (for the first time) and although I managed to create a lot more space for 19.1, I can no longer get past the login for 18.3. I get a warning message which says something like "Can't write to authorisation file or you have not enough diskspace".

I'm thinking I've either messed up the partitions or the grub.

Any ideas?
paul
WharfRat

Re: Transfer 17.3 home to 19.1 home

Post by WharfRat »

When you used gparted to resize the partition did you drag it from left to right :?:

If yes then that breaks grub on a msdos partitioned disk.

I'm not sure if the same circumstance would pertain to a gpt partitioned disk.

Also is it possible that you collapsed it too small thereby corrupting the file system altogether :?:
paulxx
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 12:26 pm

Re: Transfer 17.3 home to 19.1 home

Post by paulxx »

Both of those things are possible. I did not find gparted easy to use.

I've got a screenshot of my partitions from gparted if that would help. How do I include it in a post here?
WharfRat

Re: Transfer 17.3 home to 19.1 home

Post by WharfRat »

paulxx wrote: Thu Jun 06, 2019 11:39 am Both of those things are possible. I did not find gparted easy to use.

I've got a screenshot of my partitions from gparted if that would help. How do I include it in a post here?
Just below the area where you enter your response there's an Attachments tab and in that tab is an Add files button, choose that, browse to your screen shot and then there should be a place in line option.
paulxx
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 12:26 pm

Re: Transfer 17.3 home to 19.1 home

Post by paulxx »

gpartedscreenshot.png
paulxx
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 12:26 pm

Re: Transfer 17.3 home to 19.1 home

Post by paulxx »

/sda1 is my old 18.3.
/sda2, don't know.
sda7 is my new 19.1 ( I think).
sda6 is, I think a broken version of 19.1 that I can't access.
Locked

Return to “Beginner Questions”