LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2010, 08:36 AM   #1
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103
Question Save My Home --> Fresh Install


When I set up my netbook originally I placed my data(Abyss) and Home directories on sepearate partitions so I could change or upgrade distributions without a major headache.

Now with that done (see set up below) how would I proceed ?


When I install a new distribution it will want a home designated. Is it as simple as manually setting up partitions, select current / , /home & don't format Home ?

Would it just be easier to cp or rsync home to a folder on mydata partition then copy back whatever I think is relevant after install ?

Thoughts ?




Quote:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext4 11G 3.1G 7.5G 29% /
none devtmpfs 995M 284K 995M 1% /dev
none tmpfs 1003M 0 1003M 0% /dev/shm
none tmpfs 1003M 332K 1002M 1% /var/run
none tmpfs 1003M 0 1003M 0% /var/lock
none tmpfs 1003M 0 1003M 0% /lib/init/rw
/dev/sda6 ext4 4.6G 374M 4.0G 9% /home
/dev/sda7 ext4 210G 150G 51G 75% /media/Abyss

 
Old 10-31-2010, 08:55 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,090
Blog Entries: 3

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
how did you save your home folder did you do it as root and just copy it. if so then you changed ownership to root. so what you need to do it compress each folder (user) in the home directory to a tar.gz now after the install and setting up new users like the old. as root copy the compressed folder over to your /home/ and change permissions to the user that will be using it. if using the kde desktop just right click and then click properties. change permissions and ownership to the user you want. sign in as that user and extract it.
As it extracts it may complain do not worry just overwrite.
 
Old 10-31-2010, 09:01 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,601
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hi,

Plus, don't forget there will be GNU/Linux specifics for each install. You may need to remove any DE (environment) specifics, i.e. remove '~.kde'. If not you will have conflicts.
 
Old 10-31-2010, 09:05 AM   #4
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,788

Rep: Reputation: 211Reputation: 211Reputation: 211
You will get a different result...

If you install a new version of a linux distribution with a separate "/home" and do not format your existing "/home" both the contents of "/home" and the existing settings and modifications to such things as you desktop will be applied to the new installation.

If you copy your content files to some storage medium, then copy them to a new version of "/home", they should be without the legacy from the prior installation.

Last edited by thorkelljarl; 10-31-2010 at 09:07 AM.
 
Old 10-31-2010, 09:05 AM   #5
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Original Poster
Rep: Reputation: 103Reputation: 103
So back up to my data partition then restore what is relevant you think is the best course of action ?

I have the space so I rather not compress. I thought I would just use rsync. The same two users will be on the computer after the update (Going from LM9 -> Dream Linux 4.0)

Any other thoughts ?
 
Old 10-31-2010, 09:14 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,601
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hi,

There will be content specific needs for each GNU/Linux. That's why everyone is telling you to move only the basics to the new '~'.
 
Old 10-31-2010, 09:25 AM   #7
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Original Poster
Rep: Reputation: 103Reputation: 103
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fresh install of slackware64 and having troubles with my LV for home agentc0re Slackware 1 12-05-2009 06:22 AM
fresh install with encrypted home partition w00ly Ubuntu 5 11-13-2009 02:32 AM
Can I copy old /home/ directory to fresh install? Adrian Baker Linux - General 2 01-09-2007 04:06 PM
No write access to home directory after a fresh install Lordandmaker Ubuntu 3 05-13-2006 06:49 PM
How do I install a new distro & save my Home? johnmart Linux - Newbie 10 01-04-2005 11:48 AM


All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration