LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 02-26-2013, 09:52 PM   #16
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 635

Rep: Reputation: 154Reputation: 154

I upgraded two machines from Linux 2.4 to Linux 2.6.

System1 was installed with the old configs present.
Letting the installation find the old configs and use the same settings worked for some programs while others misbehaved. This Linux 2.6 was unusable for 1.5 years while I fought with multiple problems at once. One of which that KDE would startup and then quit every time, while xfce4 would run. The latest problem was traced to the video driver using a graphics library installed by a different video driver, which it got because a soft link was present. There were no answers in LinuxQuestions for any of my problems.

System2 was installed to a clean partition and old configs brought over after installation and the same settings re-introduced by hand. This machine had much fewer problems which only took days to resolve. At least I knew exactly where I was changing things.

These problems were due to program changes instead of hardware changes, but it is similar in that old installation setups were involved.

It is never known how programs configure themselves to the environment when they are installed. Windows is not required. The same programmers make versions for Linux too, they even keep using environment variables. Kernel customization is the most important, but if you are going to use a huge kernel it will probably work. Then it comes down to how many programs configured themselves the first time they ran.

As a quick test, do a grep for "/dev" in your hidden directories, /etc, /usr/share, and /usr/local.

Last edited by selfprogrammed; 02-26-2013 at 10:12 PM.
 
Old 02-27-2013, 11:33 PM   #17
kostya
Member
 
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 174
Blog Entries: 5

Rep: Reputation: 18
Quote:
Originally Posted by k3lt01 View Post
What isn't something we are discussing here? Swapping HDDs with Windows on them?
Yes
 
Old 02-27-2013, 11:51 PM   #18
kostya
Member
 
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 174
Blog Entries: 5

Rep: Reputation: 18
Quote:
Originally Posted by selfprogrammed View Post
I upgraded two machines from Linux 2.4 to Linux 2.6.
System1 was installed with the old configs present.
...
System2 was installed to a clean partition and old configs brought over after installation and the same settings re-introduced by hand...
Not surprising you DID have problems with THAT kind of transition.
Take this fact alone, that 2.4 to 2.6 included significant environmental changes. I did it on my home desktop just for the fun of it, following the guide at kerneltrap.org, but at work I waited until it would be safe to reinstall.

...In that sense just swapping a HDD from one machine to another is a much safer way to make sure everything will work. But hey, let the guy JUST DO IT and see what happens!! So much time spent discussing what is easier to see by mere action.
Then, if everything works it's fine; if he's not satisfied, he'll have to spend some time to fine-tune. In any case, he'll HAVE TO DO IT.
 
Old 02-28-2013, 07:06 AM   #19
bloody
Member
 
Registered: Feb 2013
Location: Berlin
Distribution: Gentoo, Debian
Posts: 172

Rep: Reputation: 25
jlinkels and Shadow 7 are right. The kernel, unless VERY old, will automatically recognize all hardware. Suse 11.4 is not pre-historic so the kernel will be just fine. No speed loss or other troubles like with Windows which generally behaves like OEM and must always be reinstalled when switching to a different mainboard. Not so with Linux. And if you had previously installed the whole bunch of xorg video drivers then xorg will be able to successfully bring the desktop back to life, except if you were using some unrecognized special driver. Just check the installed xorg video driver packages before you make the switch. If you're using e.g. the proprietary Nvidia driver and now have some other card in the new machine, switch down to nouveau first.

The network hardware and udev, yeah. If networking doesnt work after the switch, do as jlinkels said and remove the line in /etc/udev/rules.d/70-persistent-net.rules mentioning eth0, then reboot and the network should work.

A complete reinstall is absolutely unnecessary. No performance loss, no instability, no "dead file" leftovers. Just a couple of small xorg video drivers not used which could be uninstalled to save a few hundred KB.
 
Old 02-28-2013, 07:23 AM   #20
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It is much simplified if you use DHCP to configure local networks - that is its purpose.

Other things that can get very dependent on customization are routing tables, IP tables, NFS support (borderline - sometimes you do have to change servers).

There are other services that also require changes - sshd must get new keys, Kerberos (if used) must get a new keytab file...

Anything that depends on a specifically identified host. In the user area, that can include known hosts entries, as well as some private keys (usually doesn't though).

I can't think of any specifically GUI related though (might be some if tied to a crontab though).
 
  


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
[SOLVED] can't reinstall Fedora 14 - can't find hard drive trien27 Fedora 1 11-14-2011 05:48 AM
Moving files from a Linux hard drive to a Windows Vista Premium hard drive WolfMan51 Linux - Hardware 5 07-12-2011 09:19 AM
Complete Hard Drive Restructure -- No OS reinstall! dadrunamok LinuxQuestions.org Member Success Stories 1 01-03-2010 09:09 PM
moving to a new hard drive n1wil Linux - Software 4 05-21-2003 02:38 PM
moving my hard drive illtbagu Linux - General 2 02-08-2003 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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