LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-28-2004, 01:42 AM   #1
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra, Australia
Distribution: Fedora Core 9
Posts: 242

Rep: Reputation: 30
Going from distribution to distribution safe?


Hi Guys,

When trying out different distributions, if I choose to keep the same partitions and not format the partitions, is it possible to load on a different distribution without losing user accounts, settings and home directories?

I am using Fedora Core 2 Test 1 and it has a stack of problems. I want to either go back to RedHat 9 or Mandrake 10.
 
Old 04-28-2004, 02:26 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,743
Blog Entries: 4

Rep: Reputation: 76
Yes and no. You can keep /home on a separate partition and simply add it to fstab to be mounted normally in your new distro...however, you will not be able to save /etc/passwd and /etc/shadow unless you copy them somewhere beforehand. Because /etc holds all the init scripts et al that can vary widely from distro to distro, you cannot preserve it accross different distros.

So my advice...keep your /home partition, but install everything else as normal. If you create the same users on the new install your /home directories should work without a hassle.
 
Old 04-28-2004, 06:21 PM   #3
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra, Australia
Distribution: Fedora Core 9
Posts: 242

Original Poster
Rep: Reputation: 30
They /home dir lives on the same partition as /
I would imagine copying /home back after a new install of a new distro would not work correctly 100%?
 
Old 04-29-2004, 10:20 AM   #4
andredude
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Distribution: Mandrake
Posts: 48

Rep: Reputation: 15
the short answer is no. even if you keep your home dir anything it needs outside that partition is stuffed. just tarball your home dir, back it up somewhere if you have space, and redo the whole thing. Then take the installs and other stuff you need out of your backup again.

I made the move from redhat to mandrake 3 months ago, believe me you will not regret the move. mandrake seems easier while in fact being more powerful with less config hassles. of course some other folks would disagree, but that is my personal experience.
 
Old 04-29-2004, 06:37 PM   #5
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra, Australia
Distribution: Fedora Core 9
Posts: 242

Original Poster
Rep: Reputation: 30
Yep done, Mandrake community 10.0 is now my distribution. I backed up and restored. I had to set up all my preferences again and I miss a few redhat tools, but that's life I guess. (Might try and install them from the fedoras disks anyway)

At least I can now play mp3s and compile drivers right out of the box. Maybe when Fedora Core 2 is complete I'll give it another look.
 
Old 04-30-2004, 01:11 AM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,743
Blog Entries: 4

Rep: Reputation: 76
Did you set up /home on a separate partition this time? You know, just in case you decide to switch again...
 
Old 04-30-2004, 01:17 AM   #7
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra, Australia
Distribution: Fedora Core 9
Posts: 242

Original Poster
Rep: Reputation: 30
Nah I just backed it up. Mind you, when I restored it, the settings didn't take anyway. I just wanted to avoid configuring all the kde candy again.

Not sure why it doesn't work. I can't see the difference between tarring up the /home and /root directories then restoring them compared to having these on their own partition.
 
Old 04-30-2004, 02:03 AM   #8
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,743
Blog Entries: 4

Rep: Reputation: 76
Did you create the same users again? Another thing to check is the UID number of the users. Some distros start regular users at UID 500 and some at UID 1000.

Well, I wouldn't put /root on its own partition, but /home is great to put on its own partition. Why tar it up every time you want to try a new distro? Just leave the partition alone when you reinstall. /home is one of the few directories that remains pretty much untouched during a typical install. Create the same users during the install, then mount your partition at /home. No tarring, no bZipping, and no moving files around when you don't have to.

Last edited by bulliver; 04-30-2004 at 02:07 AM.
 
Old 04-30-2004, 02:27 AM   #9
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra, Australia
Distribution: Fedora Core 9
Posts: 242

Original Poster
Rep: Reputation: 30
I'm probably one of those "bad" users. I run everything as root. I also don't use a home directory. Instead I create a /work directory at top level for all my stuff.

I guess I should use the whole /home system but I couldn't be bothered.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to know the name of the distribution sureshkellemane Linux - Newbie 11 11-04-2010 08:41 AM
Best distribution for a ... os2 Linux - General 3 05-01-2005 06:34 PM
What distribution to get? goddess88 Linux - Newbie 4 10-13-2004 10:21 PM
What Distribution do you use? njbrain General 52 04-23-2004 10:34 AM
Which Distribution? solzer Linux - Distributions 7 03-28-2002 02:11 PM


All times are GMT -5. The time now is 11:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration