I decided to post this a separate thread because it might be missed in OTW:
My 2 cents as an electrical engineer with a sad 25 years playing with computers:
Bad memory sold as good is common.
Bad connections are by far the absolute most common cause of 90% of all electronic failures.
(a) hard drive ribbon cables, with their push-on crimped connectors (swap out cables)
(b) bad pin connections on cables (unplug & replug cables)
(c) bad contacts on cards and memory sticks.
(d) heat problems, causing unpredictable behaviour
(e) static damage from unsafe handling of microcircuitry or bad grounds.
(f) electrical damage from improper connecting/disconnecting with power on.
(g) electrical damage from power on/off without proper cycle allowances.
Things you can do which often save hours, days or weeks of aggravation:
(1) Buy some pure contact cleaner (use only pure isopropyl alcohol not diluted with water like that sold in pharmacies)
and remove all grease and fingerprints on all contact surfaces.
This is a very common cause of memory and plug-in card faults.
Most people put their fingers all over gold-plated contact areas when installing new cards and memory strips.
(2) Double check all ribbon connections by carefully, firmly but gently removing and reconnecting/replacing them.
This also is a common cause of failure especially disk drives, as contact failure during writing or reading will destroy data on disk and in ram. Very often when one is installing or removing one part in a computer, another part is inadvertantly loosened or strained.
(3) Visually inspect all contact slots for damaged or loose or low-pressure contacts. (vga cards/memory sockets)
Typical scenarios are a machine is off, and cools down slightly, all contacts are good.
The machine is tested, all tests are passed.
The machine warms up slightly, and a connection somewhere fails, minutes, hours, or days later, on and off.
(4) Vibrations: Raise your computer off the floor or desk or shelf with about an inch of dense foam.
Do not bang desk, floor, shelf or case while hard-drives are on.
Noisey fans or supplies or moving parts that cause any vibrations should be replaced with quieter, less vibrating parts.
Do NOT scrimp on screws and fasteners that hold case parts or computer parts in machine.
These are important to ensure rigidity of the case and prevent failure of moving parts or failure to remove heat from critical components.
(5) Make sure key heat transfer surfaces are physically firmly and fully in contact.
make sure thermally conductive grease is applied where needed to ensure heat transfer. (this is often skipped with disastrous results)
Make sure all fans are connected, working properly, and that air flow is possible and not recycling the same air, building temperature.
Easy Firewall with IPtables
GRUB boot Repair
CUPS Printer Install
Switching Linux from Master to Slave