I am buying a desktop computer, qusetion is what is the best way to transfer all my data ?

Asked by Graeme Booth on 2018-03-12

The "new" computer is a refurbished Lenovo M58p small desktop. The drive is Linux Mint, which I am unfamiliar with with. I have heard that it is somewhat similar to Ubuntu, which I currently have. I am a newbie so I would need a step by step description of how I should transfer my data to the new system? Are there any difficulties with Linux Mint? I could install Ubuntu if necessary.
Regards Graeme Booth
PS concerning "back-doors in Chinese made computers: is there any way to detect and cancel them?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2018-03-20
Last reply:
2018-03-29

Run a final full backup of your important data then wipe the drive as part of the Ubuntu install (tell the installer to use the full drive) then restore your user data from the backup.

anna n.koukouraki (annaneko) said : #2

First of all you must install a second desktop environment which you can find in the login screen top right... apt-get install unity and apt-get update and apt-get upgrade and reboot.dont mess the whole system with the environment. also kde4desktop is very beautiful. terminal opens with Ctrl+alt+T or instead of doing all this you can open software-center and type desktop environment.my advice as for backup is to use stick for copying

Graeme Booth (graeme79) said : #3

actionparsnip and anna n.koukouraki - thank you both for your proposals. I
think annas proposal sounds easier.
Could you explain for a newbie what exactly you mean by this? "don't mess
the whole system with the environment"
And what is kde4desktop. Is it a choice within the environment download?
Also when text in desktop environment, I get many possibilities what do you
suggest?
Concerning backup copy. I'm unsure how to install the backup data from my
old computer to the new? And does the backup data take all my bookmarks
from Firefox and if not how best do I transfer them to the new? Last time I
updated Firefox I lost all my bookmarks!
As yet I have yet to received my new computer, in any case it's got Ubuntu
pre-installed. Linux mint I have been told, is more difficult to use -
newbie wise, in any case.
Regards Graeme

On 12 March 2018 at 23:57, anna n.koukouraki <
<email address hidden>> wrote:

> Your question #665503 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/665503
>
> anna n.koukouraki proposed the following answer:
> First of all you must install a second desktop environment which you can
> find in the login screen top right... apt-get install unity and apt-get
> update and apt-get upgrade and reboot.dont mess the whole system with
> the environment. also kde4desktop is very beautiful. terminal opens with
> Ctrl+alt+T or instead of doing all this you can open software-center
> and type desktop environment.my advice as for backup is to use stick for
> copying
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/665503/+confirm?answer_id=1
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/665503
>
> You received this question notification because you asked the question.
>

anna n.koukouraki (annaneko) said : #4

What to do .open software center write desktop environment and then you can
install unity and open software update and update and then reboot and
update again.firefox can be synchronized to transfer data but I use other
browsers like epiphany Arora or chrome which is safier to synchronized.use
Google drive to keep data.in login screen choose ubuntu.good luck

On Mar 15, 2018 16:08, "Graeme Booth" <email address hidden>
wrote:

> Question #665503 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/665503
>
> Status: Answered => Open
>
> Graeme Booth is still having a problem:
> actionparsnip and anna n.koukouraki - thank you both for your proposals. I
> think annas proposal sounds easier.
> Could you explain for a newbie what exactly you mean by this? "don't mess
> the whole system with the environment"
> And what is kde4desktop. Is it a choice within the environment download?
> Also when text in desktop environment, I get many possibilities what do you
> suggest?
> Concerning backup copy. I'm unsure how to install the backup data from my
> old computer to the new? And does the backup data take all my bookmarks
> from Firefox and if not how best do I transfer them to the new? Last time I
> updated Firefox I lost all my bookmarks!
> As yet I have yet to received my new computer, in any case it's got Ubuntu
> pre-installed. Linux mint I have been told, is more difficult to use -
> newbie wise, in any case.
> Regards Graeme
>
> On 12 March 2018 at 23:57, anna n.koukouraki <
> <email address hidden>> wrote:
>
> > Your question #665503 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/665503
> >
> > anna n.koukouraki proposed the following answer:
> > First of all you must install a second desktop environment which you can
> > find in the login screen top right... apt-get install unity and apt-get
> > update and apt-get upgrade and reboot.dont mess the whole system with
> > the environment. also kde4desktop is very beautiful. terminal opens with
> > Ctrl+alt+T or instead of doing all this you can open software-center
> > and type desktop environment.my advice as for backup is to use stick for
> > copying
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/ubuntu/+question/665503/+
> confirm?answer_id=1
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/665503
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are subscribed to
> the question.
>

Wim (launchpad-xs4all) said : #5

Graeme,

your info is correct: Ubuntu (African word for "human-friendly") is designed to be usefull for all humans.

In most linux-versions personal information, settings and documents are stored in your personal map in /home/, that has the same name as your login-name, examples are: /home/greame/ and /home/wim/
Some information is visible, like the map /home/greame/pictures/ and the map /home/greame/documents/
These maps and documents are shown to you in your file manager program (e.g. like Thunar).
Some maps are not shown, they are "hidden" for you, so the information stored there can not be tampered by accident.

I assume here that your login name is greame and that your linux-mint HOME map is /home/greame/
If your map there has a different name, then replace that string here by the correct map name.

Mozilla Firefox (and Mozilla Thnderbird too) stores info and settings in some of these 3 maps:
$HOME/.cache/mozilla/.
$HOME/.config/mozilla/.
$HOME/.mozilla/.

So, in your situation you want to copy all your files and these 3 maps to the new PC:
 /home/greame/*
 /home/greame/.cache/mozilla/*
 /home/greame/.config/mozilla/*
 /home/greame/.mozilla/*

A clever way to save (and copy) this info is doing it using an external media (e.g. USB-HardDisk or large USB-stick)

# -- saving your current data and settings
Start the old linux-Mint-PC, and for every user (!!!) do this sequence:
.1. log in
.2. start your favourite file manager
.3. connect the USB-HardDisk (or USB-memory-stick)
.4. wait until this object appears in the file manager
.5. create a map for this user, e.g. greame/
.6. browse to your personal map $HOME, e.g. /home/greame/
.7. select all maps to want to copy, choose (in menu or using mouse button) COPY
.8. browse to your fresh created map on the external HardDisk
.9. select (in menu or using mouse button) PASTE
     ( this will take a while )
.10. repeat 6, 7, 8 and 9 for the 3 "mozilla-maps" BUT
     paste them in the corresponding submap in greame on the external HardDisk, so in
     greame/.cache/mozilla/, etc.
.11. in your file manager browse to your personal $HOME map, e.g. /home/greame/
     select the external HardDisk and choose EJECT, ( dismount, ...)
.12. disconnect the USB-cable
.13. log out, and for the next user repeat all from .1. on ( but replace the $HOME map with the correct one, e.g. /home/wim/ )

# -- bringing the info to the new Ubuntu-PC
.14. first create all the neccessairy users on the new Ubuntu-PC
.15. log in
.16. start the file manager ( e.g. Thunar ; e.g. by clicking on the icon PersonalMap )
.17. connect the USB-HardDisk (or USB-memory-stick)
.18. wait until this object appears in the file manager
.19. select the menu-item to show Hidden-Files too ( in Thunar done by key-combination Ctrl-H )
.20. browse to your map created on this external HardDisk, e.g. greame/
.21. select all files and maps, choose (in menu or using mouse button) COPY
.22. browse to the personal $HOME map in Ubuntu ( mostly shown as "PersonalMap" ; otherwise browse to /home/greame/ )
.23. select (in menu or using mouse button) PASTE
.24. be sure to replace the files ..../mozilla/firefox/profiles.ini and ..../mozilla/thunderbird/profiles.ini when you are requested to
.25. select the external HardDisk and choose EJECT, ( dismount, ...)
.26. disconnect the USB-cable
.27. log out, and for the next user repeat all from .14. on

# -- because not every user has the same rights,
i advice you to disconnect the external HardDisk before logging in as next user;
in this case you do not have to cope with any mount-problems.

# -- there is a linux command that gives you information of the quantity of data you have on the disk.
You can use this command to select how large the external HardDisk must be ...
First, open a Terminal Window ( or command window )
mostly it opens a new window, showing something like
greame@YourPcName:~$
now enter this complete line of text, followed by the <Enter>-key or <Return>-key :
   df -h
Now there comes a listing of your internal disks, like
 FileSys Size Used Avail Use-% MountPoint
 /dev/sda1 16G 5,2G 11,7G 29% /
 /dev/sda3 148G 32G 116G 19% /home
... and some more lines of text ...
You have to look at the line with the mount point /home
because that is the place where all your data is stored.

In my example i have to transfer at least 32G, so in this example an external HardDisk or USB-memory stick of 64G or more would be sufficient.

You can close this Terminal Window on 3 ways:
give the command ( followed by the <Enter>-key or <Return>-key )
   exit
or you close with the keyboard-combination
   Ctrl-D
or you can close the window using the mouse and the cross in the upper right corner

# -- hopes this helps you transferring all your data;
advantage of this way of working:
you also have a back up of all your data.

Enjoy Ubuntu!

Graeme Booth (graeme79) said : #6

Hi Wim,
First off I got Ubuntu installed on my new desktop. I have managed to copy
and paste everything ( all the files that would copy) from Home/graeme to a
USB stick. My problem now is step 10 - where do I find/copy the Mozilla
map/files and paste them as with the others! I can't find the
"mozilla-maps"! I have a map "graeme.cache mozilla" ready on the stick. Do
I find the mozilla file/s on the hard-disk? Stage 11, where do I find
EJECT, ( dismount, ...) on the harddisk?
No 13 - I'm afraid I don't understand. Do I have to log out (which I never
do usually) or just restart? What do you mean with this .1. on (* but
replace the $HOME map with the correct one, e.g. /home/wim/ *) What $HOME
map? What correct one. what do I replace and how? You are not referring to
the USB or what?
After we clear up these questions, I'll come back to you for the next
stage. There didn't come any cables with my "new" computer so I will have
to transfer the cables from the old. Hopefully they will fit.
Thank you for your patience and the step by step description Regards Graeme

On 16 March 2018 at 14:32, Wim <email address hidden> wrote:

> Your question #665503 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/665503
>
> Wim proposed the following answer:
> Graeme,
>
> your info is correct: Ubuntu (African word for "human-friendly") is
> designed to be usefull for all humans.
>
> In most linux-versions personal information, settings and documents are
> stored in your personal map in /home/, that has the same name as your
> login-name, examples are: /home/greame/ and /home/wim/
> Some information is visible, like the map /home/greame/pictures/ and the
> map /home/greame/documents/
> These maps and documents are shown to you in your file manager program
> (e.g. like Thunar).
> Some maps are not shown, they are "hidden" for you, so the information
> stored there can not be tampered by accident.
>
> I assume here that your login name is greame and that your linux-mint HOME
> map is /home/greame/
> If your map there has a different name, then replace that string here by
> the correct map name.
>
> Mozilla Firefox (and Mozilla Thnderbird too) stores info and settings in
> some of these 3 maps:
> $HOME/.cache/mozilla/.
> $HOME/.config/mozilla/.
> $HOME/.mozilla/.
>
> So, in your situation you want to copy all your files and these 3 maps to
> the new PC:
> /home/greame/*
> /home/greame/.cache/mozilla/*
> /home/greame/.config/mozilla/*
> /home/greame/.mozilla/*
>
> A clever way to save (and copy) this info is doing it using an external
> media (e.g. USB-HardDisk or large USB-stick)
>
> # -- saving your current data and settings
> Start the old linux-Mint-PC, and for every user (!!!) do this sequence:
> .1. log in
> .2. start your favourite file manager
> .3. connect the USB-HardDisk (or USB-memory-stick)
> .4. wait until this object appears in the file manager
> .5. create a map for this user, e.g. greame/
> .6. browse to your personal map $HOME, e.g. /home/greame/
> .7. select all maps to want to copy, choose (in menu or using mouse
> button) COPY
> .8. browse to your fresh created map on the external HardDisk
> .9. select (in menu or using mouse button) PASTE
> ( this will take a while )
> .10. repeat 6, 7, 8 and 9 for the 3 "mozilla-maps" BUT
> paste them in the corresponding submap in greame on the external
> HardDisk, so in
> greame/.cache/mozilla/, etc.
> .11. in your file manager browse to your personal $HOME map, e.g.
> /home/greame/
> select the external HardDisk and choose EJECT, ( dismount, ...)
> .12. disconnect the USB-cable
> .13. log out, and for the next user repeat all from .1. on ( but replace
> the $HOME map with the correct one, e.g. /home/wim/ )
>
> # -- bringing the info to the new Ubuntu-PC
> .14. first create all the neccessairy users on the new Ubuntu-PC
> .15. log in
> .16. start the file manager ( e.g. Thunar ; e.g. by clicking on the icon
> PersonalMap )
> .17. connect the USB-HardDisk (or USB-memory-stick)
> .18. wait until this object appears in the file manager
> .19. select the menu-item to show Hidden-Files too ( in Thunar done by
> key-combination Ctrl-H )
> .20. browse to your map created on this external HardDisk, e.g. greame/
> .21. select all files and maps, choose (in menu or using mouse button) COPY
> .22. browse to the personal $HOME map in Ubuntu ( mostly shown as
> "PersonalMap" ; otherwise browse to /home/greame/ )
> .23. select (in menu or using mouse button) PASTE
> .24. be sure to replace the files ..../mozilla/firefox/profiles.ini and
> ..../mozilla/thunderbird/profiles.ini when you are requested to
> .25. select the external HardDisk and choose EJECT, ( dismount, ...)
> .26. disconnect the USB-cable
> .27. log out, and for the next user repeat all from .14. on
>
> # -- because not every user has the same rights,
> i advice you to disconnect the external HardDisk before logging in as next
> user;
> in this case you do not have to cope with any mount-problems.
>
> # -- there is a linux command that gives you information of the quantity
> of data you have on the disk.
> You can use this command to select how large the external HardDisk must be
> ...
> First, open a Terminal Window ( or command window )
> mostly it opens a new window, showing something like
> greame@YourPcName:~$
> now enter this complete line of text, followed by the <Enter>-key or
> <Return>-key :
> df -h
> Now there comes a listing of your internal disks, like
> FileSys Size Used Avail Use-% MountPoint
> /dev/sda1 16G 5,2G 11,7G 29% /
> /dev/sda3 148G 32G 116G 19% /home
> ... and some more lines of text ...
> You have to look at the line with the mount point /home
> because that is the place where all your data is stored.
>
> In my example i have to transfer at least 32G, so in this example an
> external HardDisk or USB-memory stick of 64G or more would be
> sufficient.
>
> You can close this Terminal Window on 3 ways:
> give the command ( followed by the <Enter>-key or <Return>-key )
> exit
> or you close with the keyboard-combination
> Ctrl-D
> or you can close the window using the mouse and the cross in the upper
> right corner
>
>
> # -- hopes this helps you transferring all your data;
> advantage of this way of working:
> you also have a back up of all your data.
>
> Enjoy Ubuntu!
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/665503/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/665503
>
> You received this question notification because you asked the question.
>

Graeme Booth (graeme79) said : #7

To anna n koukouraki, actionparsnip Wim or anybody!
Can you help me understand the instructions that wim sent me. The specific
questions that I have asked about below??

Hi Wim,
First off I got Ubuntu installed on my new desktop. I have managed to copy
and paste everything ( all the files that would copy) from Home/graeme to a
USB stick. My problem now is step 10 - where do I find/copy the Mozilla
map/files and paste them as with the others! I can't find the
"mozilla-maps"! I have a map "graeme.cache mozilla" ready on the stick. Do
I find the mozilla file/s on the hard-disk? Stage 11, where do I find
EJECT, ( dismount, ...) on the harddisk?
No 13 - I'm afraid I don't understand. Do I have to log out (which I never
do usually) or just restart? What do you mean with this .1. on (* but
replace the $HOME map with the correct one, e.g. /home/wim/ *) What $HOME

Sincerely Graeme B

On 19 March 2018 at 14:53, Graeme Booth <
<email address hidden>> wrote:

> Your question #665503 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/665503
>
> Status: Answered => Open
>
> You are still having a problem:
> Hi Wim,
> First off I got Ubuntu installed on my new desktop. I have managed to copy
> and paste everything ( all the files that would copy) from Home/graeme to a
> USB stick. My problem now is step 10 - where do I find/copy the Mozilla
> map/files and paste them as with the others! I can't find the
> "mozilla-maps"! I have a map "graeme.cache mozilla" ready on the stick. Do
> I find the mozilla file/s on the hard-disk? Stage 11, where do I find
> EJECT, ( dismount, ...) on the harddisk?
> No 13 - I'm afraid I don't understand. Do I have to log out (which I never
> do usually) or just restart? What do you mean with this .1. on (* but
> replace the $HOME map with the correct one, e.g. /home/wim/ *) What $HOME
> map? What correct one. what do I replace and how? You are not referring to
> the USB or what?
> After we clear up these questions, I'll come back to you for the next
> stage. There didn't come any cables with my "new" computer so I will have
> to transfer the cables from the old. Hopefully they will fit.
> Thank you for your patience and the step by step description Regards Graeme
>
>
> On 16 March 2018 at 14:32, Wim <email address hidden>
> wrote:
>
> > Your question #665503 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/665503
> >
> > Wim proposed the following answer:
> > Graeme,
> >
> > your info is correct: Ubuntu (African word for "human-friendly") is
> > designed to be usefull for all humans.
> >
> > In most linux-versions personal information, settings and documents are
> > stored in your personal map in /home/, that has the same name as your
> > login-name, examples are: /home/greame/ and /home/wim/
> > Some information is visible, like the map /home/greame/pictures/ and the
> > map /home/greame/documents/
> > These maps and documents are shown to you in your file manager program
> > (e.g. like Thunar).
> > Some maps are not shown, they are "hidden" for you, so the information
> > stored there can not be tampered by accident.
> >
> > I assume here that your login name is greame and that your linux-mint
> HOME
> > map is /home/greame/
> > If your map there has a different name, then replace that string here by
> > the correct map name.
> >
> > Mozilla Firefox (and Mozilla Thnderbird too) stores info and settings in
> > some of these 3 maps:
> > $HOME/.cache/mozilla/.
> > $HOME/.config/mozilla/.
> > $HOME/.mozilla/.
> >
> > So, in your situation you want to copy all your files and these 3 maps to
> > the new PC:
> > /home/greame/*
> > /home/greame/.cache/mozilla/*
> > /home/greame/.config/mozilla/*
> > /home/greame/.mozilla/*
> >
> > A clever way to save (and copy) this info is doing it using an external
> > media (e.g. USB-HardDisk or large USB-stick)
> >
> > # -- saving your current data and settings
> > Start the old linux-Mint-PC, and for every user (!!!) do this sequence:
> > .1. log in
> > .2. start your favourite file manager
> > .3. connect the USB-HardDisk (or USB-memory-stick)
> > .4. wait until this object appears in the file manager
> > .5. create a map for this user, e.g. greame/
> > .6. browse to your personal map $HOME, e.g. /home/greame/
> > .7. select all maps to want to copy, choose (in menu or using mouse
> > button) COPY
> > .8. browse to your fresh created map on the external HardDisk
> > .9. select (in menu or using mouse button) PASTE
> > ( this will take a while )
> > .10. repeat 6, 7, 8 and 9 for the 3 "mozilla-maps" BUT
> > paste them in the corresponding submap in greame on the external
> > HardDisk, so in
> > greame/.cache/mozilla/, etc.
> > .11. in your file manager browse to your personal $HOME map, e.g.
> > /home/greame/
> > select the external HardDisk and choose EJECT, ( dismount, ...)
> > .12. disconnect the USB-cable
> > .13. log out, and for the next user repeat all from .1. on ( but replace
> > the $HOME map with the correct one, e.g. /home/wim/ )
> >
> > # -- bringing the info to the new Ubuntu-PC
> > .14. first create all the neccessairy users on the new Ubuntu-PC
> > .15. log in
> > .16. start the file manager ( e.g. Thunar ; e.g. by clicking on the icon
> > PersonalMap )
> > .17. connect the USB-HardDisk (or USB-memory-stick)
> > .18. wait until this object appears in the file manager
> > .19. select the menu-item to show Hidden-Files too ( in Thunar done by
> > key-combination Ctrl-H )
> > .20. browse to your map created on this external HardDisk, e.g. greame/
> > .21. select all files and maps, choose (in menu or using mouse button)
> COPY
> > .22. browse to the personal $HOME map in Ubuntu ( mostly shown as
> > "PersonalMap" ; otherwise browse to /home/greame/ )
> > .23. select (in menu or using mouse button) PASTE
> > .24. be sure to replace the files ..../mozilla/firefox/profiles.ini and
> > ..../mozilla/thunderbird/profiles.ini when you are requested to
> > .25. select the external HardDisk and choose EJECT, ( dismount, ...)
> > .26. disconnect the USB-cable
> > .27. log out, and for the next user repeat all from .14. on
> >
> > # -- because not every user has the same rights,
> > i advice you to disconnect the external HardDisk before logging in as
> next
> > user;
> > in this case you do not have to cope with any mount-problems.
> >
> > # -- there is a linux command that gives you information of the quantity
> > of data you have on the disk.
> > You can use this command to select how large the external HardDisk must
> be
> > ...
> > First, open a Terminal Window ( or command window )
> > mostly it opens a new window, showing something like
> > greame@YourPcName:~$
> > now enter this complete line of text, followed by the <Enter>-key or
> > <Return>-key :
> > df -h
> > Now there comes a listing of your internal disks, like
> > FileSys Size Used Avail Use-% MountPoint
> > /dev/sda1 16G 5,2G 11,7G 29% /
> > /dev/sda3 148G 32G 116G 19% /home
> > ... and some more lines of text ...
> > You have to look at the line with the mount point /home
> > because that is the place where all your data is stored.
> >
> > In my example i have to transfer at least 32G, so in this example an
> > external HardDisk or USB-memory stick of 64G or more would be
> > sufficient.
> >
> > You can close this Terminal Window on 3 ways:
> > give the command ( followed by the <Enter>-key or <Return>-key )
> > exit
> > or you close with the keyboard-combination
> > Ctrl-D
> > or you can close the window using the mouse and the cross in the upper
> > right corner
> >
> >
> > # -- hopes this helps you transferring all your data;
> > advantage of this way of working:
> > you also have a back up of all your data.
> >
> > Enjoy Ubuntu!
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/ubuntu/+question/665503/+
> confirm?answer_id=4
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/665503
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Graeme Booth (graeme79) said : #8

I have tried anna's suggestion - new desktop environment and received this
negative response. And furthest down wim's suggestion with Mozilla files, -
negative.
It is only these/this file that I haven't managed to copy on to the USB.

graeme@graeme-System-Product-Name:~$ apt-get install unity
E: Kunde inte öppna låsfilen /var/lib/dpkg/lock - open (13: Åtkomst nekas)
E: Kunde inte låsa administrationskatalogen (/var/lib/dpkg/). Är du root?
graeme@graeme-System-Product-Name:~$ sudo apt-get install unity
[sudo] lösenord för graeme:
Läser paketlistor… Färdig
Bygger beroendeträd
Läser tillståndsinformation… Färdig
unity is already the newest version (7.4.5+16.04.20180221-0ubuntu1).
0 att uppgradera, 0 att nyinstallera, 0 att ta bort och 5 att inte
uppgradera.
graeme@graeme-System-Product-Name:~$ apt-get update
Läser paketlistor… Färdig
W: chmod 0700 of directory /var/lib/apt/lists/partial failed -
SetupAPTPartialDirectory (1: Operationen inte tillåten)
E: Kunde inte öppna låsfilen /var/lib/apt/lists/lock - open (13: Åtkomst
nekas)
E: Kunde inte låsa katalogen /var/lib/apt/lists/
W: Problem med att avlänka filen /var/cache/apt/pkgcache.bin - RemoveCaches
(13: Åtkomst nekas)
W: Problem med att avlänka filen /var/cache/apt/srcpkgcache.bin -
RemoveCaches (13: Åtkomst nekas)
graeme@graeme-System-Product-Name:~$ apt-get upgrade
E: Kunde inte öppna låsfilen /var/lib/dpkg/lock - open (13: Åtkomst nekas)
E: Kunde inte låsa administrationskatalogen (/var/lib/dpkg/). Är du root?
graeme@graeme-System-Product-Name:~$ /home/greame/.cache/mozilla/*

bash: /home/greame/.cache/mozilla/*: Filen eller katalogen finns inte
graeme@graeme-System-Product-Name:~$ /home/greame/.config/mozilla/*
bash: /home/greame/.config/mozilla/*: Filen eller katalogen finns inte
graeme@graeme-System-Product-Name:~$ /home/greame/.mozilla/*
bash: /home/greame/.mozilla/*: Filen eller katalogen finns inte
graeme@graeme-System-Product-Name:~$

On 20 March 2018 at 08:57, Graeme Booth <
<email address hidden>> wrote:

> Your question #665503 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/665503
>
> You gave more information on the question:
> To anna n koukouraki, actionparsnip Wim or anybody!
> Can you help me understand the instructions that wim sent me. The specific
> questions that I have asked about below??
>
> Hi Wim,
> First off I got Ubuntu installed on my new desktop. I have managed to copy
> and paste everything ( all the files that would copy) from Home/graeme to a
> USB stick. My problem now is step 10 - where do I find/copy the Mozilla
> map/files and paste them as with the others! I can't find the
> "mozilla-maps"! I have a map "graeme.cache mozilla" ready on the stick. Do
> I find the mozilla file/s on the hard-disk? Stage 11, where do I find
> EJECT, ( dismount, ...) on the harddisk?
> No 13 - I'm afraid I don't understand. Do I have to log out (which I never
> do usually) or just restart? What do you mean with this .1. on (* but
> replace the $HOME map with the correct one, e.g. /home/wim/ *) What $HOME
>
> Sincerely Graeme B
>
> On 19 March 2018 at 14:53, Graeme Booth <
> <email address hidden>> wrote:
>
> > Your question #665503 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/665503
> >
> > Status: Answered => Open
> >
> > You are still having a problem:
> > Hi Wim,
> > First off I got Ubuntu installed on my new desktop. I have managed to
> copy
> > and paste everything ( all the files that would copy) from Home/graeme
> to a
> > USB stick. My problem now is step 10 - where do I find/copy the Mozilla
> > map/files and paste them as with the others! I can't find the
> > "mozilla-maps"! I have a map "graeme.cache mozilla" ready on the stick.
> Do
> > I find the mozilla file/s on the hard-disk? Stage 11, where do I find
> > EJECT, ( dismount, ...) on the harddisk?
> > No 13 - I'm afraid I don't understand. Do I have to log out (which I
> never
> > do usually) or just restart? What do you mean with this .1. on (* but
> > replace the $HOME map with the correct one, e.g. /home/wim/ *) What $HOME
> > map? What correct one. what do I replace and how? You are not referring
> to
> > the USB or what?
> > After we clear up these questions, I'll come back to you for the next
> > stage. There didn't come any cables with my "new" computer so I will have
> > to transfer the cables from the old. Hopefully they will fit.
> > Thank you for your patience and the step by step description Regards
> Graeme
> >
> >
> > On 16 March 2018 at 14:32, Wim <email address hidden>
> > wrote:
> >
> > > Your question #665503 on Ubuntu changed:
> > > https://answers.launchpad.net/ubuntu/+question/665503
> > >
> > > Wim proposed the following answer:
> > > Graeme,
> > >
> > > your info is correct: Ubuntu (African word for "human-friendly") is
> > > designed to be usefull for all humans.
> > >
> > > In most linux-versions personal information, settings and documents are
> > > stored in your personal map in /home/, that has the same name as your
> > > login-name, examples are: /home/greame/ and /home/wim/
> > > Some information is visible, like the map /home/greame/pictures/ and
> the
> > > map /home/greame/documents/
> > > These maps and documents are shown to you in your file manager program
> > > (e.g. like Thunar).
> > > Some maps are not shown, they are "hidden" for you, so the information
> > > stored there can not be tampered by accident.
> > >
> > > I assume here that your login name is greame and that your linux-mint
> > HOME
> > > map is /home/greame/
> > > If your map there has a different name, then replace that string here
> by
> > > the correct map name.
> > >
> > > Mozilla Firefox (and Mozilla Thnderbird too) stores info and settings
> in
> > > some of these 3 maps:
> > > $HOME/.cache/mozilla/.
> > > $HOME/.config/mozilla/.
> > > $HOME/.mozilla/.
> > >
> > > So, in your situation you want to copy all your files and these 3 maps
> to
> > > the new PC:
> > > /home/greame/*
> > > /home/greame/.cache/mozilla/*
> > > /home/greame/.config/mozilla/*
> > > /home/greame/.mozilla/*
> > >
> > > A clever way to save (and copy) this info is doing it using an external
> > > media (e.g. USB-HardDisk or large USB-stick)
> > >
> > > # -- saving your current data and settings
> > > Start the old linux-Mint-PC, and for every user (!!!) do this sequence:
> > > .1. log in
> > > .2. start your favourite file manager
> > > .3. connect the USB-HardDisk (or USB-memory-stick)
> > > .4. wait until this object appears in the file manager
> > > .5. create a map for this user, e.g. greame/
> > > .6. browse to your personal map $HOME, e.g. /home/greame/
> > > .7. select all maps to want to copy, choose (in menu or using mouse
> > > button) COPY
> > > .8. browse to your fresh created map on the external HardDisk
> > > .9. select (in menu or using mouse button) PASTE
> > > ( this will take a while )
> > > .10. repeat 6, 7, 8 and 9 for the 3 "mozilla-maps" BUT
> > > paste them in the corresponding submap in greame on the external
> > > HardDisk, so in
> > > greame/.cache/mozilla/, etc.
> > > .11. in your file manager browse to your personal $HOME map, e.g.
> > > /home/greame/
> > > select the external HardDisk and choose EJECT, ( dismount, ...)
> > > .12. disconnect the USB-cable
> > > .13. log out, and for the next user repeat all from .1. on ( but
> replace
> > > the $HOME map with the correct one, e.g. /home/wim/ )
> > >
> > > # -- bringing the info to the new Ubuntu-PC
> > > .14. first create all the neccessairy users on the new Ubuntu-PC
> > > .15. log in
> > > .16. start the file manager ( e.g. Thunar ; e.g. by clicking on the
> icon
> > > PersonalMap )
> > > .17. connect the USB-HardDisk (or USB-memory-stick)
> > > .18. wait until this object appears in the file manager
> > > .19. select the menu-item to show Hidden-Files too ( in Thunar done by
> > > key-combination Ctrl-H )
> > > .20. browse to your map created on this external HardDisk, e.g. greame/
> > > .21. select all files and maps, choose (in menu or using mouse button)
> > COPY
> > > .22. browse to the personal $HOME map in Ubuntu ( mostly shown as
> > > "PersonalMap" ; otherwise browse to /home/greame/ )
> > > .23. select (in menu or using mouse button) PASTE
> > > .24. be sure to replace the files ..../mozilla/firefox/profiles.ini
> and
> > > ..../mozilla/thunderbird/profiles.ini when you are requested to
> > > .25. select the external HardDisk and choose EJECT, ( dismount, ...)
> > > .26. disconnect the USB-cable
> > > .27. log out, and for the next user repeat all from .14. on
> > >
> > > # -- because not every user has the same rights,
> > > i advice you to disconnect the external HardDisk before logging in as
> > next
> > > user;
> > > in this case you do not have to cope with any mount-problems.
> > >
> > > # -- there is a linux command that gives you information of the
> quantity
> > > of data you have on the disk.
> > > You can use this command to select how large the external HardDisk must
> > be
> > > ...
> > > First, open a Terminal Window ( or command window )
> > > mostly it opens a new window, showing something like
> > > greame@YourPcName:~$
> > > now enter this complete line of text, followed by the <Enter>-key or
> > > <Return>-key :
> > > df -h
> > > Now there comes a listing of your internal disks, like
> > > FileSys Size Used Avail Use-% MountPoint
> > > /dev/sda1 16G 5,2G 11,7G 29% /
> > > /dev/sda3 148G 32G 116G 19% /home
> > > ... and some more lines of text ...
> > > You have to look at the line with the mount point /home
> > > because that is the place where all your data is stored.
> > >
> > > In my example i have to transfer at least 32G, so in this example an
> > > external HardDisk or USB-memory stick of 64G or more would be
> > > sufficient.
> > >
> > > You can close this Terminal Window on 3 ways:
> > > give the command ( followed by the <Enter>-key or <Return>-key )
> > > exit
> > > or you close with the keyboard-combination
> > > Ctrl-D
> > > or you can close the window using the mouse and the cross in the upper
> > > right corner
> > >
> > >
> > > # -- hopes this helps you transferring all your data;
> > > advantage of this way of working:
> > > you also have a back up of all your data.
> > >
> > > Enjoy Ubuntu!
> > >
> > > --
> > > If this answers your question, please go to the following page to let
> us
> > > know that it is solved:
> > > https://answers.launchpad.net/ubuntu/+question/665503/+
> > confirm?answer_id=4
> > >
> > > If you still need help, you can reply to this email or go to the
> > > following page to enter your feedback:
> > > https://answers.launchpad.net/ubuntu/+question/665503
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Wim (launchpad-xs4all) said : #9

Hai Greame,

sorry it took so long.

.10. states:
  .... repeat 6, 7, 8 and 9 for the 3 "mozilla-maps" BUT ....
i mean the maps mentioned before:

   /home/greame/.cache/mozilla/*
   /home/greame/.config/mozilla/*
   /home/greame/.mozilla/*

Clearly: maps that are not present do not need to be copied.

Normally files and maps with a name starting with a DOT are not shown, so there are keep hidden.
In your favourite FileManager you can set the option to " show hidden files "
(e.g. in Thunar this is the keyboard-combination <Ctrl-H> , meaning: keep the key <Ctrl> down and shortly press the syllable <H> OR choose this option in the FileManager-MENU )

.11. eject / dismount the USB-stick

The USB-stick is shown in the FileManager, with a symbol near to it ( a horizontal line with a black triangle above it )
After copying the files, wait a short moment and select this symbol. After your confirmation you want to disconnect the USB-stick, it disappears from the screen.
This is done, so that Ubuntu first can complete its read- and write- actions on the USB-stick. (please, do not just plug it out when busy writing)

.13. serveral users
If you have created several login names on the (old) PC, you have to repeat all actions for every user.
So (in very short): login, connect USB, do the copy-actions, wait, eject-dismount the USB, logout.

If you are the only user on this system, you have to do the actions only for the user graeme; but it gave these instructions in case there are several people using this PC.

Can you help with this problem?

Provide an answer of your own, or ask Graeme Booth for more information if necessary.

To post a message you must log in.