PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 10:09:01 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: New install of 2010.1 and ? about how to move user data after format of /home  (Read 465 times)
Cressida
Sr. Member
****
Offline Offline

Posts: 275


« on: August 07, 2010, 08:04:39 PM »

I've been putting this off but now I'm going to try and do the 2010.1 install from CD.  I've been reading old post most of the day but need a bit more help.    I've run from the Live CD a couple of times already and got everything working so that all is looking good.   I know it is recommended that I do a reformat of / and /home with Ext4 so I have backed up my /home user data to my external HD.

Here is were it gets me worried :

I will check the user number associated with each user before reformating the HD.  (It is like 500, 501, 502, etc.)  When I do the new install, and it asks to create users, I plan to click the "Advanced" button for each one, and assign the same userid number (and name) as before.  Then after finishing the install, I plan to copy the data for each user from the old backed up /home to the new /home with the hope of getting all their old Kmail settings and email, and desktop and favorites info, etc.

I think I can handle all of that but Old-Polack (I know he has forgotten more than I know)  Shocked had a recommendation as follows:

Quote
"....  2. Rename the current user directory, by adding -old to the name, then when creating your user in the new installation, be sure you have the same UID and GID as the present installation.

If you do the second, you will start with a fresh default desktop, but all your application config directories will be available, still owned by you, in the old user's directory, for easy copying.

.…You mount the partition that will be the /home partition, and rename the user directory, from the liveCD, before doing the installation, then unmount the partition and proceed with the installation. Format the / partition, don't format the /home partition.

When the installation is done, on the first boot into the installed system you have to select a root password and create a normal user. Choose the same name as you originally had on the old installation, and in the advanced section choose the same UID and GID you had in the past. The active home directory for that user will be the one newly created, but the one with the -old extension will also exist, and be owned by the newly created user too. From there you can copy the .mozilla directory to get your bookmarks and Firefox extensions back, before even opening Firefox. The same for .opera, .purple, .pan, .Skype, or any other .<directory>for any other app that has personal settings. Don't copy the .kde directory.

Copy the .<directories> one at a time, and check to see that no problems are introduced to the new desktop. If a problem occurs, after one of the .<directories> is copied over, delete that .<directory> and proceed to the next."

I think he is saying basically the same thing except he is recommending saving the user directory's (with the added -old to their name) in the new /home instead of just leaving the user directory info saved on another HD and copy it from there.    I don't think it really is going to matter but I could use some clarity on how and why it really is better to do as he suggested ?   



Logged

AMD Athlon 64 3200, 3GB ram,  ~320 GB HD,  Video=ATI Radeon X300 SE (128mb) PCI-e
KDE 4.6?    Kern  2.6.38.8a64

I used to think I knew a lot about computers until I started using Linux.  Now I feel my age...
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #1 on: August 07, 2010, 08:12:54 PM »

What you have outlined is fine. Only copy the Data [edit]from the backup[/edit] and not the other files, like configs etc.

It is less complicated and easy to ensure all is correct before destroying the backed up data. Just remember to copy it from the back up and not move it.

One last item ......  use 2010.07 .....  released in July ......  which will save you a great amount of updating after install.

good luck.

regards.
Logged
Rudge
Hero Member
*****
Online Online

Posts: 7777


I'm just a dog.


« Reply #2 on: August 07, 2010, 08:27:02 PM »


One last item ......  use 2010.07 .....  released in July ......  which will save you a great amount of updating after install.

good luck.

regards.

+1 this last suggestion.  Wink  There have been a LOT of updates since 2010.01
Logged

Cressida
Sr. Member
****
Offline Offline

Posts: 275


« Reply #3 on: August 09, 2010, 05:46:35 PM »

Still working to update from 2009....

Now I have moved most of the users data back over to the new /home (pictures,desktop,documents) keeping the same user ID numbers.   Still making slow progress with white knuckles  Cry     

I guess I should go ahead now and load KdePim4 (kontact/kmail) from Synaptic since that is the email that I have been using and then work to move the old user kmail files and settings over to the new /home/users

Can someone help me with what .kde files or directories to move back?   I see (and have read about) ".kde/share/config".   Do I move this entire directory ?   If not the entire directory how do I know which files to pick and choose to move back over?

Also, I see (and have read about)  ".kde/share/apps/".   There are a lot files in this directory too.   Can I just copy the entire ".kde/share/apps/" over to get all of these files I need or just some ?     How do I find out which ones I need to get the old emails and contact info and address info, etc.   and which ones to not move ?

Thanks for any help on this.
Logged

AMD Athlon 64 3200, 3GB ram,  ~320 GB HD,  Video=ATI Radeon X300 SE (128mb) PCI-e
KDE 4.6?    Kern  2.6.38.8a64

I used to think I knew a lot about computers until I started using Linux.  Now I feel my age...
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM