LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2008, 11:38 PM   #1
ktek
Member
 
Registered: Sep 2008
Posts: 48

Rep: Reputation: 15
Elegantly switch distros without losing my data?


Hey. I'd like to go from Debian to Gentoo. Is there anyway to elegantly do that, short of clearing the drive and freshly installing Gentoo? I am worried mostly about keeping my data, but I'm not interested in burning it all to disc if it can be avoided.
 
Old 09-23-2008, 11:44 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
I usually just tar up /etc and /home these 2 directories should have all your configs and data. let me know if you need help with the gentoo install.

Code:
tar cvzf etc.tar.gz /etc/
tar cvzf home.tar.gz /home/
 
Old 09-23-2008, 11:50 PM   #3
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 74
I always use a separate /home partition for this reason.
 
Old 09-24-2008, 12:14 AM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Quote:
Originally Posted by elliott678 View Post
I always use a separate /home partition for this reason.
Yeah I usually do that to.
 
Old 09-24-2008, 12:25 AM   #5
ktek
Member
 
Registered: Sep 2008
Posts: 48

Original Poster
Rep: Reputation: 15
I think I'll make a home partition next time around, yeah.

Thanks steve, I'll certainly keep that in mind. I don't expect to have problems, but then again I don't know what to expect at all, really.
 
Old 09-24-2008, 12:32 AM   #6
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
just send me a pm if you get stuck. I've done plenty of gentoo installs on a few different architectures.
 
Old 09-24-2008, 06:08 AM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
As a die hard Debian user I would not trash my Debian installation before I know that I like the new distro more.

Install Virtualbox, and Gentoo in the VB. (Recommend to use the .deb package from virtualbox.org, not the Debian version)

If you do a new install anyway: keeping /etc is not a good idea, many config files are different. And yes, a separate /home directory is very convenient. However, do not rely too much on keeping things like the .kde directory. Usually it takes more time to fix problems than to reconfigure KDE. (Or Gnome)

jlinkels
 
Old 09-24-2008, 08:45 AM   #8
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Oh I should have mentioned, I don't just untar /etc/. I keep it so that I can get out the configs I need and place them in the new /etc/.
 
Old 09-25-2008, 04:27 AM   #9
ktek
Member
 
Registered: Sep 2008
Posts: 48

Original Poster
Rep: Reputation: 15
I like debian too, jilinkels, but my ultimate objective is to move from distribution to distribution in ascending order of complexity. Once I have an "idea" of how gentoo is, I'll very likely look for a next one.

Installing gentoo is a bit more of a task than I anticipated, but I've learned plenty already, and any progress is progress indeed.

If I really want debian back, I have the iso's burned.
 
  


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
Repartition a HD without losing data ArianaPantalaimon Linux - Newbie 3 08-23-2008 12:28 AM
Re-partition without losing data goodtogo Linux - Software 4 06-22-2007 08:20 AM
Help me avoid ever losing data again Z038 Linux - General 12 10-09-2006 02:32 AM
Repartitionning without losing data mimithebrain Linux - General 6 10-22-2005 04:38 PM
Can I switch RAID controller cards without losing data? BrianK Linux - Hardware 2 10-04-2004 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:33 PM.

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