Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have two almost identical computers -- identical model & type designator; minor difference in hardware details. Both boxes have an installed and running Ubuntu -- one Lucid (v10.04 LTS) and one Jaunty (v9.04). Consider box-A with drive-A and box-B with drive-B. Q1: If I swap drive-A to box-B and drive-B to box-A, is system startup clever enough to work around any minor hardware differences?
I know! "It depends..."
One minor difference is the wifi card. Both are Intel -- one is the 3945 while the other is the 4965. Another difference is partition sizes and mount points. Another difference is RAM size -- 3GB vs. 4GB. Another difference is the specific brand and specs for DVD=RW. I could go on, but the differences seem minor if not trivial.
I have a reason for such a swap that makes sense to me. I simply want to make sure that the system startup will figure out what is different. Q2: Is there some command or utility to run after I make the swap that will add-remove packages and make the install on drive-A better matched to box-B, etc?
I have two almost identical computers -- identical model & type designator; minor difference in hardware details. Both boxes have an installed and running Ubuntu -- one Lucid (v10.04 LTS) and one Jaunty (v9.04). Consider box-A with drive-A and box-B with drive-B. Q1: If I swap drive-A to box-B and drive-B to box-A, is system startup clever enough to work around any minor hardware differences?
I know! "It depends..."
That's question 1 sorted.
One of the things it depends on is how much of the install is modules and how much compiled in. With a standard Ubuntu build, not much is compiled and there is a lot of HW detection and configuration at boot, so you don't need to rewrite major configuration files when you swap out a pci card any more. As long as there are free software drivers for everything you'll probably be OK.
Quote:
One minor difference is the wifi card. Both are Intel -- one is the 3945 while the other is the 4965.
Doubt there will be an issue, worst case the wifi won't go.
Quote:
Another difference is partition sizes and mount points.
Sorry, did you not say you were swapping HDD over - in which case the configuration of the HDDs will stay the same ... you are not moving the software to a new drive ... or are you?
Quote:
Another difference is RAM size -- 3GB vs. 4GB. Another difference is the specific brand and specs for DVD=RW. I could go on, but the differences seem minor if not trivial.
Yeah - likely issues arise if there are different proprietary video cards and different CPU architectures. Different types of bus may make trouble, but it's been ages since I've had anything to do at that level.
My bet is - try it and see. Worst case: you have to swap back.
Quote:
I have a reason for such a swap that makes sense to me. I simply want to make sure that the system startup will figure out what is different. Q2: Is there some command or utility to run after I make the swap that will add-remove packages and make the install on drive-A better matched to box-B, etc?
Only the package manager - after the swap, you want to install missing components if any, then do a full update and clean out the unused packages.
Let me see if I understand. Since I'm using as-shipped distro kernels and updates on systems that are running now, moving from A to B will have all of the parts for whatever kernel-A finds on hardware-B. Once I boot the swapped configuration, update-manager and friends will help back-fill missing parts if any exist.
If the attached displays run at different resolutions, will udev and friends inform xinit and friends at boot time so that I have working desktop? Video hardware is the same box-A vs. box-B.
Monitors are rarely a problem, and if they are, you'd know already because you had to manually create a custom xorg.conf.
the update manager will not, in general, install anything missing. You can run apt-get or aptitude from cli to remove packages you no longer need using the clean and purge options (read the man page) but you have to identify missing drivers yourself and explicitly install them. From your description this is unlikely to be needed. I'd expect it if there is a chipset change between machines... where a proprietary chipset is indicated.
I won't lay bets on nvidia, because there is no telling what the driver will do and it likes to have its own xorg.conf ... that would be a matter of rerunning their configuration program if needed.
I'm only hedging because I cannot actually see your machine. As always, make a backup before you try. But I'm sure nothing will go wrong.
...
you have to identify missing drivers yourself and explicitly install them. From your description this is unlikely to be needed. I'd expect it if there is a chipset change between machines... where a proprietary chipset is indicated.
...
Ah, Ha! This seems to call for some time with diffuse and the output from sysinfo, hwinfo or similar. Then I would see detailed differences at the chipset level. (Dunno why I've not done that before.)
Ah, Ha! This seems to call for some time with diffuse and the output from sysinfo, hwinfo or similar. Then I would see detailed differences at the chipset level. (Dunno why I've not done that before.)
Cheers,
~~~ 0;-Dan
Almost nobody does. Really this is a case of try it and see.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.