LinuxQuestions.org
Review your favorite Linux distribution.
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 08-05-2007, 10:17 PM   #1
freefall235
LQ Newbie
 
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Rep: Reputation: 15
Change hardware = new install?


Hey everyone,

I just recently upgraded my main pc, and want to put the old hardware in my current home server, and upgrade that a bit...

This hardware consists of motherboard, cpu, ram and graphics card...

But, it will still contain the same drives, so i am just wondering, amd i able to just stick in the new hardware, and boot off the old hdd, and it should work?

Im running opensuse 10.2

I'm guessing know, as all the hardware drivers are already prob there, and a fresh install would be the prefered option...only reason im asking is i dont really wanna have to setup my services again...but will if it means there is a stability issue with new hardware on old install.

Cheers,
Justin
 
Old 08-05-2007, 11:02 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
It would have been faster for you to try this idea than to post a question and ask about it.

SuSE does all of its hardware configuration during system startup. In other words it doesn't have drivers in the kernel. This means that you should be able to move a SuSE system disk from one computer to another with very few problems. The only problem will come from the X Window software since that is configured for the graphic card on the last computer that the operating system ran on.
 
Old 08-05-2007, 11:28 PM   #3
freefall235
LQ Newbie
 
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by stress_junkie
It would have been faster for you to try this idea than to post a question and ask about it.

SuSE does all of its hardware configuration during system startup. In other words it doesn't have drivers in the kernel. This means that you should be able to move a SuSE system disk from one computer to another with very few problems. The only problem will come from the X Window software since that is configured for the graphic card on the last computer that the operating system ran on.
Hi, and thanks for your reply..

Well, i wasnt sure, and didnt want to go breaking things..coz thats usually what happens when i fiddle... :-P

is there anyway to reset the x window drivers from a terminal?

as in, when i boot, boot only to a prompt (how to do this?)..and then run the x config from there...then reboot into x with new drivers?

Cheers,
Justin
 
Old 08-05-2007, 11:52 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Quote:
Originally Posted by freefall235
when i boot, boot only to a prompt (how to do this?)..and then run the x config from there...then reboot into x with new drivers?
Most mega distros have a boot option for "recovery mode" - that's usually single user, so won't run X.
Else highlight the grub entry and hit the <e> key - add " 1" (blank-one) to the end of the kernel line, hit enter, and <b> to boot. This is a "one-time" change.

Backup your xorg.conf, and play around.
When happy, "init 5" (or whatever the X runlevel is) to get things back to normal. Or just reboot.
 
Old 08-06-2007, 12:10 AM   #5
draeath
LQ Newbie
 
Registered: Jul 2007
Location: Atlanta Area, GA, USA
Distribution: CentOS/RH/Debian
Posts: 24

Rep: Reputation: 0
Yea, X should be your only issues as long as your drives aren't moved around (in which case, boot from a bootable linux CD and mount /, and edit /etc/fstab as needed.

If you need to restart X once up, CTRL-ALT-BACKSPACE from inside the X server will restart it. otherwise, do as above or figure out what your single-user runlevel is and switch to it using "init #" where # is the runlevel.


Best to set your X configuration file from a liveCD to generic settings that will work first. Remember you can comment lines out with a single '#' at the start.
 
Old 08-06-2007, 05:38 AM   #6
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I should have included in my first post that SuSE has a nice X configuration utility called sax2. You can run it from the console without starting X. So as the posts above have said, you can boot to run level 1, log on as root, and run sax2. This will allow you to set the xorg.conf file. The only thing that sax2 won't do is to change the driver so if the first computer had an ATI card and the second computer has an Nvidia card then you will have to change that by hand.
 
  


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
Problem with hardware change and others kwng Linux - Newbie 1 08-16-2006 06:47 AM
How do I change these hardware settings Jongi SUSE / openSUSE 13 01-24-2006 04:29 PM
change recognised hardware flo1 Fedora 3 07-28-2005 09:30 PM
Change hardware justinr1 Linux - Software 1 07-21-2005 03:11 PM
Hardware Change Blackthorns.Legacy Linux - Newbie 1 07-01-2005 11:16 PM

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

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