LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 09-04-2007, 04:28 PM   #1
UncD
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
replacing a motherboard under Linux


Hi, I just finished reading a ComputerWorld article from today titled "Moving from Windows to Linux" and it has indirectly lead me here.

My question is: How well does Linux take the process of replacing a Motherboard? Whether it is for an upgrade or if it is dead. I've had to do this under various Windows versions and it can be a hellish process. I am trying to get a general answer that may apply across the board for different Distros (maybe that's not possible?). Any helpful comments will be appreciated or any helpful website resources. Thanks in advance.
 
Old 09-04-2007, 04:53 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,747

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Windows explodes when you switch hardware primarily as a "security" measure. It is to prevent people from cloning a HDD with Windows installed to other drives; the OS will refuse to boot if the hardware has changed significantly.

Under Linux, there is no such limitation. You can take a drive with Linux installed and put it into any computer you want, and it will readjust itself accordingly. All hardware information is generated at runtime by the kernel and device drivers are loaded and unloaded dynamically, so there is nothing set in stone. You might need to adjust your audio and video settings in the event there is some device-specific configuration required (I.E. moving from a Nvidia card to an ATI one) but in any event, the system will still boot and be completely usable.
 
Old 09-04-2007, 07:23 PM   #3
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 13.37
Posts: 531

Rep: Reputation: 36
Quote:
Originally Posted by MS3FGX View Post
Windows explodes when you switch hardware primarily as a "security" measure. It is to prevent people from cloning a HDD with Windows installed to other drives; the OS will refuse to boot if the hardware has changed significantly.
Actually, it's more about the fact that the HAL layer and IDE/SCSI disk drivers are probably wrong for the new mobo that causes the failure to boot. It's nothing to do with security. Now, once you've booted, you may have to re-activate WinBlows if it thinks that too much of the hardware has changed.

Quote:
Originally Posted by MS3FGX View Post
Under Linux, there is no such limitation. You can take a drive with Linux installed and put it into any computer you want, and it will readjust itself accordingly. All hardware information is generated at runtime by the kernel and device drivers are loaded and unloaded dynamically, so there is nothing set in stone. You might need to adjust your audio and video settings in the event there is some device-specific configuration required (I.E. moving from a Nvidia card to an ATI one) but in any event, the system will still boot and be completely usable.
Unless, of course, you've compiled your own kernel, and only selected the hardware that's specific to your mobo.

Cheers.
 
Old 09-04-2007, 07:42 PM   #4
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Yes, as MQMAN stated ... if you have a very customized kernel then may not be the required drivers enabled in the kernel.

example: my kernel is specifically tailored to my Intel ICH4 motherboard, Graphics card, onboard NIC ... etc.


I generic kernel (such as those found in most distributions or LiveCD's) should have a large number of drivers available in the kernel to handle most hardware changes.
 
Old 09-04-2007, 07:49 PM   #5
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,747

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
The WPA system in XP is specifically designed to detect hardware changes and require re-activation in the event that too much hardware has changed. You get a cumulative score based on how many system components have changed since the last boot, and once you have crossed the threshold, you need to reactivate.

In terms of motherboards specifically:

Quote:
Changing the motherboard

Installing a replacement motherboard will change the IDE controller, and usually will mean that you change to a new, faster, processor. If the processor is one with a serial number (Pentium III), then you lose a third vote — including when you change to a processor with no serial number, such as an Athlon. If you also add RAM, or if the motherboard is one with an on-board SCSI adapter, that makes four or five categories now voting No — you would need an unchanged NIC to avoid having to call in for reactivation. If the new motherboard also has inbuilt video (and possibly even a NIC of its own!), you run right out of Yes votes with this one hardware change.
This is, and always was, a method to keep users from running OEM Windows installs on other machines. There could be a situation where you make such a change as to render the machine completely unbootable due to missing drivers (perhaps going from an IDE motherboard/drives to SATA on a non-SP1 XP install), but in the vast majority of cases, users will hit WPA first.

As for the kernel, while it is true that a kernel built for a specific machine will not work fully (or at all, depending on factors such as CPU arch/type) on another machine; a user with 1 post who is asking about transitioning to Linux certainly will not be using a custom kernel and is clearly not referring to one.

Last edited by MS3FGX; 09-04-2007 at 07:57 PM.
 
Old 09-05-2007, 09:08 AM   #6
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 13.37
Posts: 531

Rep: Reputation: 36
Quote:
Originally Posted by MS3FGX View Post
This is, and always was, a method to keep users from running OEM Windows installs on other machines.
Exactly. But that doesn't cause "Windows to explode". That part is because of the drivers.

But it's strange, that I just changed mobos, from a single processor, to 2 x duals, more memory, a switch in chipset, hence IDE controller, and 2 new on-board lan ports, and the "activation" didn't squawk at all. Hmmmmm.

Cheers.
 
Old 09-05-2007, 09:17 AM   #7
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
Quote:
Originally Posted by MQMan View Post
But it's strange, that I just changed mobos, from a single processor, to 2 x duals, more memory, a switch in chipset, hence IDE controller, and 2 new on-board lan ports, and the "activation" didn't squawk at all.
Same here, and I ALSO added a new video card - no activation issues whatsoever. I was surprised, to be honest.

As far as the actual topic of this thread is concerned, I have an OpenSUSE 10.2 installation on the same machine - no problems with the new hardware there either. I didn't even need to change the video drivers; my replacement card (NVidia) uses the same Linux driver as the previous one. I was quite happy about that (I've had some nightmares in the past swapping out video cards..)
 
Old 09-05-2007, 11:00 AM   #8
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix
Posts: 105

Rep: Reputation: 19
Quote:
Originally Posted by MQMan View Post
But it's strange, that I just changed mobos, from a single processor, to 2 x duals, more memory, a switch in chipset, hence IDE controller, and 2 new on-board lan ports, and the "activation" didn't squawk at all. Hmmmmm.
If the hard disk was the same, it was an indication that there was no other installation. Just a thought...
 
Old 09-05-2007, 02:45 PM   #9
UncD
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Ummmmm, Well Thanks to everyone that chimmed-in here. I believe that I got the answer that I was looking for and it goes something like this......

"Most Linux Distros will handle Motherboard changes fairly easily unless the Distro being used has been compiled specifically for the previous hardware."

Is that about right? Does that sum it up pretty well then?? It sounds like a satisfactory answer to my original question and it gives me great hope for the future. Thanks again everyone. UncD
 
Old 09-05-2007, 07:13 PM   #10
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 13.37
Posts: 531

Rep: Reputation: 36
Quote:
Originally Posted by UncD View Post
"Most Linux Distros will handle Motherboard changes fairly easily unless the Distro being used has been compiled specifically for the previous hardware."
Spot on.

Cheers.
 
Old 09-06-2007, 09:36 PM   #11
rnturn
Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0), SuSE (10.x, 11.x), Solaris (8-10), Tru64
Posts: 738

Rep: Reputation: 41
Quote:
Originally Posted by UncD View Post
How well does Linux take the process of replacing a Motherboard? Whether it is for an upgrade or if it is dead.
I've recently done a motherboard swap due to a hardware failure. The original system was running a PIII/1GHz and I was able to replace it with a Core 2 Duo-based motherboard. Linux (SuSE 10.1) booted right up. I ran YAST and installed the SMP kernel and the configuration ran fine. I can't remember, though, whether I booted via grub's "failsafe" option or not. The process was reasonably painless.

That said I had considerably more trouble upgrading the new system to 10.2 (Marvell chip troubles easily worked around) than swapping the motherboard ever gave me.

--
Rick
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
replacing motherboard davidcollins001 Linux - Hardware 3 07-31-2007 08:52 AM
Replacing Linux from Dualboot snutz411 Linux - Newbie 4 01-12-2005 10:12 PM
replacing motherboard and processor - same linux install jhildebrand Linux - Hardware 3 10-27-2004 04:47 PM
Replacing motherboard/processor without reinstall MultiBooter Mandriva 2 12-22-2003 10:20 AM
Cannot start system (X?) after replacing motherboard and CPU J_Szucs Linux - General 3 10-17-2003 05:41 AM


All times are GMT -5. The time now is 07:59 PM.

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
Open Source Consulting | Domain Registration