LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-28-2004, 12:13 AM   #1
tallman
LQ Newbie
 
Registered: Jun 2004
Location: Dumont, NJ
Distribution: Fedora Core 2
Posts: 5

Rep: Reputation: 0
What is the best way to change distributions?


I've been using Fedora since Core 2 came out and I have to say that I'm less than happy with it. I've trudged through the common Fedora gripes such as mp3 support etc but overall, my setup still feels half-baked.

Recently, I tried the Suse 9.1 Live CD and was pleasantly surprised. The layout is more cohesive and, despite running off of a CD, my computer was noticeably more responsive.

What is the best way to change distributions? Can installers overlay on existing setups? Is there a way to preserve my current home folder, KDE settings, installed programs etc? I can back up my current setup to another hard drive and wipe this one but I'd like to preserve as much as possible.

I've seen many Windows to Linux migration articles but nothing on distribution switching. Hopefully this will help other new users seeking a better fit. Thank you in advance.

- Ivan
 
Old 07-28-2004, 12:24 AM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
My favorite method is to install to a second HDD, then mount the original drive(s) so my old files are available until I decide I no longer need them.
 
Old 07-28-2004, 01:19 AM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
The thing for someone to do when they first install Liinux is to create a seperate partition for /home. Then if you have to reinstall or want to switch distros this partition can remain intact. There may be a few apps that the configs might conflict. So directories such as .kde and .gnome* will probably have to be removed.

You wouldn't want to keep apps. Apps in different version of different distros rely on different library and config files. So you would want to replace with the ones from the new distro.

The first thing to do is back up the /home directories and configs from the current distribution.
 
Old 07-28-2004, 08:39 AM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
i usually tar up my home directory and back iy up.
i dont like using a home partiton cos i only have a 6gig disk... and i almost always run into a problem like having loads of free space on one parttion, and none on the other.

tar /home/user -c | bzip2 -c > /home/user.tar.bz2
 
Old 07-28-2004, 08:44 AM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
yea. tar up /home /root/ and /etc/, or better yet, the whole distribution on a dvd-r. install the new one, and. put your home and root back over the new distro, and most things will work the way they did. you'll spend a few days making changes to get stuff working, but after a while, you'll get stuff the way you want.
 
Old 07-28-2004, 09:21 AM   #6
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
if you follow whansard's advice, make sure you pass 'tar' the the correct parameters for conserving file permissions and ownerships an both compression, and extraction. otherwise certain programs like XFree86 or Xorg will not function.

and non root users will not be able to log in.
 
Old 07-28-2004, 09:41 AM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
i guess that would be
tar clfvpz - /home > /home.tgz
and extract with

tar zxvpf home.tgz --same-owner

that could be fixed with chown by root, if you messed it up.
 
Old 07-28-2004, 09:49 AM   #8
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
i backup up in suck a way once... was a horrible mess !!!

when i extracted the backup ontl a disk, all permissions were reset to default
Owner = Root
Not SUID
permissions = 755.

i had to hunt down all the binary's that need to be SUID root and change them
i had to set ownership of home directories.
i hade to change access rights to /var/tmp and /tmp
also, many many files in /dev/ hav strance access rights..

/dev/null was not wriatable to all users which caused crashes.
/det/pty's didnt allow non root access
tty's were even worse !

it took hours to get the system running smoothly again.

and reading strace logs gave me a mad headache.. lol.
 
Old 07-28-2004, 09:55 AM   #9
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
same here. it was a long time until i learned the "p" and "--same-owner"
 
  


Reply



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
vi different between distributions? sausagejohnson Linux - Software 7 05-26-2005 01:59 AM
which distributions to use matarodi Linux - Distributions 5 01-22-2005 12:30 AM
Distributions. ftgow Linux - Games 7 11-17-2003 09:55 AM
easy ways to change distributions? r0dr0ddy Linux - Distributions 3 07-28-2003 09:22 PM
distributions jss_247 Linux - General 3 03-07-2003 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 12:09 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
Open Source Consulting | Domain Registration