LinuxQuestions.org
Review your favorite Linux distribution.
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 06-18-2006, 10:34 PM   #1
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Rep: Reputation: 15
changing distros -hard or easy?


ok i have suse 10 linux at the moment
for infomatio i have the following running

vnc
mysql
apache webserver (and several websites that are essential to my local area network)
counter strike source dedicated server
battlefield 1942 dedicated server
several #!/bin/sh scripts thanks to the extremly helpful people on this site


its a 1.6 ghz processor
512 megs of ram
on board video
onboard lan
two hard drives i think 20gig one and 300 gig one
windows installed on the 20gig one (though i never use windows anymore)
linux suse 10 installed on the 300gig one

i`m thinking of changing to ubuntu
i`m having the odd problem with suse and i`d like to try ubuntu (http://www.zegeniestudios.net recommanded it too)

but i need to know a couple of things;
1) will it just install over the top of suse replacing suse for me and saving me countless hassles?
2) will the above run on ubuntu (in particular the scripts?)
3) anything i need to know before attempting this?

thanks in advance
 
Old 06-18-2006, 10:52 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Switching distros is easy. As you suggest, if you keep the same partitioning scheme, and assuming that /home is a separate partition, you can even switch distros without losing any data (by installing the new distro "around" the existing /home partition)

The basic idea is to just install the new distro using the same partitions as were used on the previous distro. At a very simple level, if sda1 was root, sda2 was /home, and sda3 was swap, then moving from one distro to another would basically come down to reusing the same partitions for the same purposes, but to *not* reformat /home, in order to retain your existing personal data.

Good luck with it. I've experimented with many distros using this approach, and it works very smoothly. Good luck with it and have fun
 
Old 06-19-2006, 12:09 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by J.W.
Switching distros is easy. As you suggest, if you keep the same partitioning scheme, and assuming that /home is a separate partition, you can even switch distros without losing any data (by installing the new distro "around" the existing /home partition)
As TS is running a webserver, /home might not contain all data.
 
Old 06-19-2006, 12:21 AM   #4
suselinuxfan
LQ Newbie
 
Registered: May 2006
Distribution: OpenSuSE 10.1
Posts: 22

Rep: Reputation: 15
I usually change distros a lot. It's very easy. if you have a separate /home part. Then just mount in the install program.
 
Old 06-19-2006, 07:00 AM   #5
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
my web files are stored at
/srv/www/htdocs/
my home is
/home/mrgreaper/
my root is
/root/
i assume its all on the same partition?

if i go to filesystem there all there as folders not hd`s but maybe i misunderstand?
 
Old 06-19-2006, 07:04 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
post your /etc/fstab will show which partitions are mounted to which mount points, the fact that you aren't sure does suggest that it's ll 1 partition.

You could backup the necesary stuff using tar. The untar into the right directories once ubuntu is installed, personally i'd make a fresh start, a fair amount of work but a good learning/refresher opportunity, and distros do have some subtle differences
 
Old 06-19-2006, 07:38 AM   #7
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
a fresh install is proberly the way i`ll go (im in the process of networking stuff across to my main pc
and downloadong ubuntu desktop edition i downloaded the dvd edition last night and realised this mourning i`ve got no dvd drive in my server pc lol

the one thing i need is to backup my sql databases so i can easily re import them into mysql on ubuntu (im assuming ubuntu comes with mysql ...and apache for that matter)
 
Old 06-19-2006, 07:50 AM   #8
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
you can make a /home partition and copy your current /home now even if you didn't have one previously.
 
Old 06-19-2006, 07:57 AM   #9
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
yeah i thought about that but then i`d have to merge them back again or have more partitions then i want. i`m backing up my stuff across the network but its taking a while i estimate 4 hours or so were talking 100 gigs plus of data

the one thing thats looking like its going to be a show stopper is these sql databases
now when i originly created the data bases i had sql files all i had to do was make the database and then import the sql file into them and that created the tables but now i have data in those databasses that i really dont want to lose, i thought there would just be a command that would create a sql file for each database that i can later import into mysql and all would be right with the world but thats looking unlikly



its taken an hour but i found a php page set called phpmyadmin seems to be backing up my databases to a sql file for me looks like i can import them with it as well thankgod

also it looks a lot easier to manage databases through this then through command line

Last edited by mrgreaper; 06-19-2006 at 08:40 AM.
 
Old 06-19-2006, 08:53 AM   #10
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
"its taken an hour but i found a php page set called phpmyadmin seems to be backing up my databases to a sql file for me looks like i can import them with it as well thankgod "

i was halfway through typing about that before i read your post fully :P
 
Old 06-19-2006, 10:39 AM   #11
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ethics
"its taken an hour but i found a php page set called phpmyadmin seems to be backing up my databases to a sql file for me looks like i can import them with it as well thankgod "

i was halfway through typing about that before i read your post fully :P
lol its always the way aint it
 
Old 06-19-2006, 12:52 PM   #12
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
well it sure wasnt easy to install
the first bit that asls you what language you want ...
well i kept clicking english
nothing hapened
i hit return
nothing
grrrrrrrrrrrrrrrrrrr
finaly i clicked right mouse and choose move
turns out th install window is bigger then the screen!!!!!
i looked at resulotion and its 640x 480 and cant seem to be changed
now i managed to guess my way through the first few panels and its now creating a ext3 partition
but seems silly to make the install gui bigger then the screen i hope i aint done ought wrong in install
i`m assuming it will leave the primary windows partition alone by default
just wish i could of read all the options


WELL it killed my windows partition
i cannot vnc into it
i had no choice of applications to install during the install stage so that means i have to find apache and python and mysql etc etc etc etc
and all this from a linux that claims to be user friendly!
oh and i cant change my resulotion its stuck at 640 x 480
all in all its been a wonderful waste of time
i`m gonna explore it a bit but im thinking i may just go back to suse 10

my advice (personal only) avoid ubuntu

Last edited by mrgreaper; 06-19-2006 at 01:20 PM.
 
Old 06-19-2006, 01:27 PM   #13
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by mrgreaper
well it sure wasnt easy to install
the first bit that asls you what language you want ...
well i kept clicking english
nothing hapened
i hit return
nothing
grrrrrrrrrrrrrrrrrrr
finaly i clicked right mouse and choose move
turns out th install window is bigger then the screen!!!!!
i looked at resulotion and its 640x 480 and cant seem to be changed
now i managed to guess my way through the first few panels and its now creating a ext3 partition
but seems silly to make the install gui bigger then the screen i hope i aint done ought wrong in install
i`m assuming it will leave the primary windows partition alone by default
just wish i could of read all the options
Theres quite a few distros that use "virtual" desktop space. Which I hate with a passion

The thing that causes/caused me the most grief, was that when various installers detect my nvidia graphics card, they seem to insist on using the generic "nv" driver, I then have to change the resolution to 800x600 and set it to, like 60 Hz so I can read the screen enough to either install the proprietary nvidia driver, or if I haven't got that far, to change the driver to "vesa" which seems to suit my system better.

As for the install, I did Ubuntu first, but then changed it to Kubuntu (I screwed up with the Ubuntu and couldn't work out what I'd need to do). Both installed easily enough. My only annoyance is that it uses bloody sudo, which bugs the hell out of me. I can't see how sudo is any safer to use that just using a root account for everything.

I've just been looking to see how to turn it off/remove it so that my system works in a "normal" way.

Plus, the only real snag I've had, was that the other day, there was some updates, which I installed, I then noticed that an upgraded kernel had installed, so I knew that I'd have to re-install the nvidia driver (something that I've been familar with in the past).

It drove me up the wall, because following their instructions, one of the packages that should have been available (called linux-restricted-modules-2.6.15-23-386) wasn't available on the main repositories for a couple of days - and I hunted high and low for it.

Eventually, I found that I could install a more optimised kernel for i686, and that did have the package available.

I think that next time I get p****d off with a distro, I'll go back to gentoo. It might be a bit of a swine to install, but the management of the system/packages, truely is very easy.

Good luck with your migration.

regards

John
 
Old 06-19-2006, 01:45 PM   #14
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
i`m wishing i never attempted it
its a night mere
8hours of my life gone and a lot of data not very important data but still humpf
 
Old 06-19-2006, 09:02 PM   #15
chadtex
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
Hard. You'll have to read the manuals and make sure you setup your partitions right. Then learn the file structuring.
 
  


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
Is it easy to update Suse, esp. compared to debian distros ? brjoon1021 SUSE / openSUSE 5 01-05-2006 05:52 AM
Changing Distros Treefrog Fedora 10 02-03-2005 12:51 PM
Changing Distros jdavidow Linux - Newbie 4 01-03-2005 03:57 PM
Changing Distros? apachedude Linux - Newbie 2 10-14-2004 08:44 PM
Changing distros gwhlevy Linux - Software 5 07-11-2002 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:53 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